CheckEventLog Info

Jonathan Williams jonathan.williams at us.g4s.com
Mon Nov 24 19:05:53 CET 2008


That is a great resource.  Thanks.  One question I have is on defining the $ARG1$ etc.

For example:

Check for errors by eventid in the last 2 hours.
$ARG1$ = file to check ie. Application, Security, System
$ARG2$ = Max Warn amount
$ARG3$ = Max Critical amount
$ARG4$ = eventID Number

Than:  ./check_nrpe -H $HOSTNAME$ -c CheckEventLog -a filter=new file="$ARG1$" MaxWarn=$ARG2$ MaxCrit=$ARG3$ filter-generated=\<2h filter-eventID==$ARG4$ filter-eventType==error filter=in filter=all

My question is where are these ARG's defined.  Where does NRPE know to lok to determince that ARG4= EventID.  Is there a config for that?  I looked through the different cfg. Files and didn't see that.

Jon



-----Original Message-----
From: Martin Kamijo [mailto:mk at op5.com] 
Sent: Friday, November 21, 2008 9:29 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] CheckEventLog Info

Jonathan Williams wrote:
> Looking for info on this feature.  I am looking for Nagios to be able to 
> monitor the Windows System Log for specific event types and notify 
> accordingly when they appear.  Does this require an additional plug in 
> or is this something that is already part of NSCLient++ v 3.1.14?
> 

As far as I can see this is a part of the version you are using. If not 
just upgrade to the latest one. For usage take a look here in the 
NSClient++ documentation:

http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog

-- 


Best Regards
Martin Kamijo

__________________________
op5 AB
Första Långgatan 19
SE-413 27 Göteborg
Mobil: +46 735-17 70 95
Support: +46 31-774 09 24
www.op5.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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