check_nt EventLog regex

Ronan REYNAUD R.REYNAUD at omr.fr
Mon Dec 17 11:55:20 CET 2007


Hi

I've set Nc_Net on a 2003server, and I can read the Application Log
  From my nagios-server :
   ./check_nt -H 192.168.x.X  -s "None"  -v EVENTLOG -w 1 -c 2 -l
"Application, error,1440,0,0,0"

.. and I get my results, every errors within 1440 mn. OK.


I want only some errors based on the Event Source (ie  WINSCTRS  or
Backup Exec ), and I tried to use the filter :
   ./check_nt -H 192.168.x.X  -s "None"  -v EVENTLOG -w 1 -c 2 -l
"Application, error,1440,1,"Backup exec",0,0"

.. then I get "no error" (But I know there are errors)

I guess I should use some regexp, but can't figure how to write them.
(I tried many search in the documentation and on the web, with no luck)

Any clue, please ?

Thanks

Ronan

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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