Maccy wrote:
Can anybody give me an example of a correct command definition for
check_log ?
I'm looking to locate the word 'Error' in /var/log/messages on each
machine.
If anyone can forward example portions of their services.cfg and
checkcommand.cfg files I would be most grateful! So far I've been able
to get the correct syntax :(
Many thanks in advance
Mark
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. ::: Messages without supporting info will risk
being sent to /dev/null
what i am trying to get to work as it seems to do the job much better.
/opt/nagios/libexec/check_log2.pl -l /var/adm/messages -s /tmp/seekfile -p auth
from nrpe on my solaris 5.9 box:
command[check_log_warning]=/opt/nagios/libexec/check_log -F /var/adm/messages
-O /tmp/messages.warning -q warning
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null