I want to check the Windows Event log but I don't want to get out performance-date. Their is a possibilty with perf-config. Default: perf-config=level(ignored:true)
If I set the value to false I also get the perf-data:
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -t 50 -H <Servername/IP> -c check_eventlog -a file=application scan-range=-50m "filter=id=2009 or id=2937" "warning=id=2009 or id=2937" "critical=none" "top-syntax=%(status): %(count) message(s) found for id(s) 2009, 2937" "perf-config=level(ignored:false)"
WARNING: 3 message(s) found for id(s) 2009, 2937|'Application_MSExchange Mid-Tier Storage_id'=2009;2009;0 'Application_MSExchange Mid-Tier Storage_id'=2009;2009;0 'Application_MSExchange Mid-Tier Storage_id'=2009;2009;0
- 1) What can I do that I don't geht perf-date out?
- 2) If I get PerfData out the perf-Name should have the Name of the Counter and the Id. Example: Application_MSExchange Mid-Tier Storage_id_2009'=3;10;20.
What do I have to change that I get this output?