[Nagiosplug-help] check logfiles?

Pedro Silva psilva at dcc.online.pt
Thu Mar 25 13:46:04 CET 2004


Edit the plugin script and replace the line:

use lib "nagios/plugins";

with:

use lib "<full path to nagios pluguns dir>";

Pedro Silva


> Hi members,
> 
> i have a spezial problem. I will control my linux servers with nagios.
> 
> But how can i control logfiles?
> 
> I now, there is an plugin named check_log. But with this, i can only
> search for one expression and i can only transfer ONE LINE to the
> server. But i must be able to transfer more then one Line to the server,
> because i don't now, how many messages kernel drivers will produce on
> error. And i don't now the content of this messages. 
> Each device driver has it's own error messages and i will see all of
> them.
> 
> If anyone nows a solution about it, please let me know. When i can solve
> this problem, i will control more then 2000 hosts with nagios.
> 
> Thank you
> Rainer
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> 








More information about the Help mailing list