Service Check Issue
Posted: Tue Oct 23, 2018 1:03 pm
We have some in-house developed services running that we need to monitor. I'm having issues with my service check locating the services due to the service names being multi word. The service check stops after the first word:
/usr/local/nagios/libexec/check_nt -H 10.96.x.x -s "" -p 12489 -v SERVICESTATE -l PICS ASRS WINSOCK Reader Service V5.0:01 -d SHOWALL
PICS: Not found
I've tried running the command using _ instead of spaces, but that returned the same not found result.
Is there a way around this short of having the services renamed to a more conventional scheme?
Thanks,
/usr/local/nagios/libexec/check_nt -H 10.96.x.x -s "" -p 12489 -v SERVICESTATE -l PICS ASRS WINSOCK Reader Service V5.0:01 -d SHOWALL
PICS: Not found
I've tried running the command using _ instead of spaces, but that returned the same not found result.
Is there a way around this short of having the services renamed to a more conventional scheme?
Thanks,