Opened 10 months ago
Last modified 6 months ago
#545 new defect
CheckServiceState and CheckProcState unable to recognize certain services
| Reported by: | mvazirani | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.2 |
| Component: | CheckSystem | Version: | 0.3.9 |
| Severity: | Bugs | Keywords: | CheckServiceState |
| Cc: |
Description
I am having trouble getting check_nt to recognize non-default windows services.
It works for Automatic Updates (wuauserv).
It does not work for certain custom services. One example of the service short name is BlueBoxNotificationSummaryEmailEngine (underlying process is NotificationSummaryEmailEngine.exe). I suspect it might be related to the length of the service/process.
I have tried all of the following:
/usr/lib/nagios/plugins/check_nt -H 10.1.2.111 -v PROCSTATE -d SHOWALL -l NotificationSummaryEmailEngine.exe -p 12489
NotificationSummaryEmailEngine.exe: not running
/usr/lib/nagios/plugins/check_nt -H 10.1.2.111 -v SERVICESTATE -d SHOWALL -l BlueBoxNotificationSummaryEmailEngine -p 12489
BlueBoxNotificationSummaryEmailEngine: Not found
/usr/lib/nagios/plugins/check_nrpe -H 10.1.2.111 -p 5666 -c CheckServiceState -a ShowAll BlueBoxNotificationSummaryEmailEngine
CRITICAL: BlueBoxNotificationSummaryEmailEngine: not found (critical)
Change History (5)
comment:1 Changed 10 months ago by mvazirani
- Component changed from CheckDisk to CheckSystem
comment:2 Changed 10 months ago by mvazirani
comment:3 Changed 10 months ago by mickem
Could it be some strange privileged issue?
Change nsclien++ to running as local admin and test then change back...
Michael Medin
comment:4 Changed 10 months ago by mvazirani
I don't think it is. When I was running in test mode, I was running as myself and my account is part of the administrators group on that machine. I also ran as local administrator and saw the same results.
comment:5 Changed 6 months ago by mickem
- Milestone changed from 0.4.1 to 0.4.2
Could you provide debug log from this "not working"?









This is the result of injecting the command. Any ideas why it works locally but not from the nagios monitoring host?