Hi,
I have Nagios 3.0.3 installed on Fedora 9. I have setup a service check for a Windows perfmon counter. It seems to run fine, I don’t get any errors, but I get Zero as the results. This check is to see the number of users logged onto OWA on an exchange server. I run the same performance counter on the Windows server and it will show 4 when nagios keeps reporting 0. I changed the warning level of the service check to 1 and it does not change status. Here is how I have the service check setup.
define service{
use generic-service
hostname EX02
service_description Number of Users logged on OWA
check_command check_nt!COUNTER! -l “\MSExchange\Current Unique Users”,"%.f users logged onto OWA" -w 1 -c 100
}
This is the result I get in Nagios…
Number of Users logged on OWA OK 0 users logged onto OWA
Any ideas?
thanks,
Ruben