Hello,
I am having issues with monitoring windows services that are logged in with a different user logon. Services that use the standard local system and network services work fine. How do i setup the system to monitor these types?
Unable to monitor Windows Server Service
Re: Unable to monitor Windows Server Service
How are you monitoring Windows services - via NCPA, NSClient++, SNMP, WMI, etc.? Can you show us an example of a check run from the command line, along with the output of it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to monitor Windows Server Service
This is what i get when i run the check command:
[[email protected] ~]$ /usr/local/nagios/libexec/check_nt -H 188.888.888.888 -s "########" -p 12489 -v SERVICESTATE -l LifePro Thin Service -d SHOWALL
LifePro: Not found
[[email protected] ~]$ /usr/local/nagios/libexec/check_nt -H 188.888.888.888 -s "########" -p 12489 -v SERVICESTATE -l LifePro Thin Service -d SHOWALL
LifePro: Not found
Re: Unable to monitor Windows Server Service
We just figured it out. You have to place single quotes around the service name to get it to work.
-l 'LifePro Thin Service' -d SHOWALL
-l 'LifePro Thin Service' -d SHOWALL
Re: Unable to monitor Windows Server Service
Yes, if you have spaces in the service name, you will need to wrap it in quotes.
Let us know if this topic can be closed. Thanks!
Let us know if this topic can be closed. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!