Nagios check_log help

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Thu Jun 5 17:56:29 CEST 2003


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