Monitor » Windows

ID #1152

How do I monitor a specific Microsoft windows eventid with op5 Monitor?

You can use a function builtin to NSClient. The function is called CheckEventLog. Download our latest version of NSClient from http://www.op5.com/get-op5-monitor/download.

When you have installed the agent you only have to create a new check command like this:

$USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckEventLog -a filter=new file=$ARG1$ filter+eventID==$ARG2$ filter-generated=\<$ARG3$ MaxWarn=$ARG4$ MaxCrit=$ARG5$ descriptions unique

Create a service that uses the check command above:

check_command_args Application!18456!1h!5!10

This service will now check for event-id 18456 in the Application log and warn you if it finds five or more events with that id during the latest hour. You will get a critical if it finds ten or more.

The complete documentation for CheckEventLog can be found here: http://nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog

Categories for this entry

Tags: eventid, logs, nsclient

Related entries:

Last update: 2012-05-25 12:18
Author: Martin Kamijo
Revision: 1.3

Digg it! Print this record Send FAQ to a friend
Please rate this FAQ:

Average rating: 1 (1 Vote)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry