root@nagios1:[~]: /usr/local/nagios/libexec/check_ncpa.py -H <server> -t 'token' -P 5693 -M '/windowscounters/PhysicalDisk(0 C:)/Avg. Disk Queue Length sleep=1'
The specified counter could not be found.
root@nagios1:[~]: /usr/local/nagios/libexec/check_ncpa.py -H <server> -t 'token' -P 5693 -M '/windowscounters/PhysicalDisk(0 C:)/Avg. Disk Queue Length?sleep=1'
The specified counter could not be found.
I was able to get the command above to run. It looks like there was a change to NCPA sometime after 2.1.2 that requires -q sleep=1. I could not get the command to work with PhysicalDisk(0 C:). Never mind this, I had a typo in my command. It does work with PhysicalDisk(0 C:)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Do you have an example of a command where %20 was working, and now it isn't? Also what version of NCPA did you upgrade from? I'll see if I can replicate the setup on my side.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!