<p>Take out the extra quotes and try it again<br> <br>"Application, error,1440,1,"Backup exec",0,0"<br>"Application, error,1440,1,Backup exec,0,0"<br>Since it is Comma delimited it does not need the extra quotes
<br> <br>Also please use EVENTLOG_NEW if posible since it is more efficient.<br>However it uses a slightly different syntex</p>
<p> <br>Tony (Author of NC_NEt)<br><br></p>
<div class="gmail_quote">On Dec 17, 2007 5:55 AM, Ronan REYNAUD <<a href="mailto:R.REYNAUD@omr.fr">R.REYNAUD@omr.fr</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi<br><br>I've set Nc_Net on a 2003server, and I can read the Application Log<br> From my nagios-server :
<br>  ./check_nt -H 192.168.x.X  -s "None"  -v EVENTLOG -w 1 -c 2 -l<br>"Application, error,1440,0,0,0"<br><br>.. and I get my results, every errors within 1440 mn. OK.<br><br><br>I want only some errors based on the Event Source (ie  WINSCTRS  or
<br>Backup Exec ), and I tried to use the filter :<br>  ./check_nt -H 192.168.x.X  -s "None"  -v EVENTLOG -w 1 -c 2 -l<br>"Application, error,1440,1,"Backup exec",0,0"<br><br>.. then I get "no error" (But I know there are errors)
<br><br>I guess I should use some regexp, but can't figure how to write them.<br>(I tried many search in the documentation and on the web, with no luck)<br><br>Any clue, please ?<br><br>Thanks<br><br>Ronan<br><br>-------------------------------------------------------------------------
<br>SF.Net email is sponsored by:<br>Check out the new SourceForge.net Marketplace.<br>It's the best place to buy or sell services<br>for just about anything Open Source.<br><a href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace" target="_blank">
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net
</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>