Hi,
I'm trying to write a python script for nagios rsnapshot monitoring. I
have noticed that log format in error and warning states are
different:
16/Apr/2012:13:17:01] /usr/bin/rsnapshot hourly: ERROR: Lockfile
/var/run/rsnapshot.pid exists and so does its process, can not
continue
[19/Apr/2012:10:26:28] WARNING: /usr/bin/rsnapshot hourly: completed,
but with some warnings
Wouldn't it be better to make log lines to have same format, in other
words either ERROR shod be put between date and script name, or
WARNING should be put after a script name.
I would vote for 1st option as it closer matches nagios plugin requirements.
Liutauras
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
