check_log solaris

Luc I. Suryo luc at suryo.com
Mon Nov 15 17:47:16 CET 2004


Terry,

not sure.. but mine is a ksh-script, is yours a binary?
if it is a ksh-script you could change GREP to be /usr/bin/egrep and see
if it helps, otherwise debug it

something like : ksh -x check_log .... > debug.out 2>&1
and then check the output in  debug

-ls


> Ok guys.  I'm at my wits end here.
> 
> nagios host solaris 9
> monitored host 	solaris 9
> 
> 
> the check_log plugin works..kinda.   if somethig gets logged, it throws 
> an alert.  great.   but it is also throwing errors when there is nothing 
> to alert on.  I think the script isn't handleing a NULL return properly 
> so it thinks there is a problem and then sends out an empty error.
> 
> any thoughts?


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list