I'm running out of diskspace for my logs, so I decided to activate remote log archiving. In my environment, only SCP is an option. Our archive server also does NFS, but that option is not presented.
Version of our UTM's:
<M> loginuser@firewall-1:/home/login > cat /etc/version
9.407003
Testing the configuration works fine:
<M> loginuser@firewall-1:/home/login > sudo logarchiver.plx -t -d 15
DEBUG: **************************************************
DEBUG: logarchiver.pl ($Revision: 1.33.2.1.2.1 $)
DEBUG: Options:
DEBUG: - debug mode: 15
DEBUG: - remote archive testing run
DEBUG: **************************************************
DEBUG: * doing remote storage test...
DEBUG: - writing test file: /opt/tmpfs/remote-log-test.txt
DEBUG: - storing test file...
INFO: - doing remote storage via scp
DEBUG: found data: (key:REMOTE_HOST) 172.17.2.5
DEBUG: found data: (key:REMOTE_USER) firewall
DEBUG: found data: (key:REMOTE_PATH) /data/firewall
DEBUG: checking private key: yes
DEBUG: checking ssh config : yes
DEBUG: host: 172.17.2.5 user: firewall path: /data/firewall file: /opt/tmpfs/remote-log-test.txt
DEBUG: checking log file archive: yes
remote-log-test.txt 100% 183 0.2KB/s 00:00
DEBUG: successfully stored log backup
INFO: - deleting successfully transferred file(s)
DEBUG: /opt/tmpfs/remote-log-test.txt
but running it gives
<M> loginuser@firewall-1:/home/login > sudo logarchiver.plx
root's password:
INFO: -> no log files to process!
and I keep getting emails that my log space is over 90% in use, and old logs are being removed (which I don't want, but have to)
Anyone have any idea that is wrong here, and how to fix it?
This thread was automatically locked due to age.