Hi,
I want to monitor my log files with the plugin check_log. On the internet
I could not find any description how this scipt should be used. From --help I
assume that you must provide tree arguments to check_log: the new log
file, an old file used as comparison and a string that the output of diff is
searched for.
Do get read access to the log files in /var/log as user nagios, I want to use
sudo. My question is now how to get the old log file and where to copy
it to? Can this be done automatically by Nagios or do I have to take care
of copying the logfile at fixed intervals of time?
Thank you for your help.
Regards,
Chris