<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
I'm using the Windows Eventlog Addon for Nagios (<A HREF="http://sourceforge.net/projects/naplax/">http://sourceforge.net/projects/naplax/</A>, version 0.1.0), with the following command definition:<BR>
<BR>
define command{<BR>
command_name check_win_applicationlog<BR>
command_line $USER1$/check_win_eventlog -H $HOSTADDRESS$ -s A -l Application -m $USER6$ -t $USER7$ -q $USER8$<BR>
}<BR>
<BR>
Where the user macros are defined in resources.cfg as:<BR>
<BR>
$USER6$="+"<BR>
$USER7$="+"<BR>
$USER8$="+"<BR>
<BR>
This will retrieve all the entries in the application log, which it does just great. My question is how can I filter out entries I don't want to see? I saw the examples where you can ignore everything but xy, but I want to receive all but xy. Anyone know how I can do that? I tried changing the $USER6$ macro to:<BR>
<BR>
$USER6$="+:Error String"<BR>
<BR>
Which, in theory, would get everything except those events that have "Error String" in them, but it's not working that way. Can anyone help me out with this? Thanks a bunch.<BR>
<BR>
Darrell Mozingo
</BODY>
</HTML>