Nagios check_log help

Webster, Stuart SITI-ITDIUR Stuart.Webster at shell.com
Fri Jun 6 09:32:14 CEST 2003


Thanks

But i dont have a contrib directory by default, and a search of the net only shows me linux RPM'S for these extra plugins. can somone point me to the source code so i can compile on solaris???

thanks

Stuart

-----Original Message-----
From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]
Sent: 05 June 2003 17:56
To: Webster, Stuart SITI-ITDIUR; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Nagios check_log help


Personally, I use check_log2.pl from the contrib directory.

jc

-----Original Message-----
From: Webster, Stuart SITI-ITDIUR [mailto:Stuart.Webster at shell.com]
Sent: Thursday, June 05, 2003 6:19 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Nagios check_log help


Hello 
Could some body please help me with this plugin,  and explain what the proper command line arguments should be. 
The documentations says: 
                                      
Usage: check_log -F logfile -O oldlog -q query 
Usage: check_log --help 
Usage: check_log --version 
i presume -F is the log file I want to check, and -q is the string I am searching the log for. 
I have tried 
#./check_log -F test_log -q WARNING 
this just goves the following error                
./check_log: test: argument expected. 
what is the -O for old log?? I only have 1 log file, is the -O necessary? 
the documentation for this plugin is very brief. 
Help Apreciated 
Stuart 


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
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