Page 1 of 1

How to monitor service without case Sensitive name

Posted: Tue Jun 20, 2023 1:26 pm
by prashant.v01
Hi all,

Currently we are monitoring "MpsSvc" service using check_ncpa plugin its working fine. But on few window server, service name is "mpssvc".
because of case sensitive name of service we are getting "UNKNOWN: No services selected with 'service' value given" error for "mpssvc"service.

Please let me know how to disable case sensitive name in service check command. I am using below command to monitore a service.

./check_ncpa.py -H hosts -t 5nidNag -p xxxx -T 50 -M services -q 'service=MpsSvc,status=running'

Re: How to monitor service without case Sensitive name

Posted: Wed Jun 21, 2023 1:12 pm
by deby23456
Well you'll want to edit your host, in XI Core Config Manager. Update $ARG1$ with this argument for the search:

service=MpsSvc,match=search,check=true

Let me know if that works!
:D :D :D :D