Unable to run check on non-child node. Revise your query

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dragan979
Posts: 11
Joined: Thu Jun 29, 2017 8:51 am

Unable to run check on non-child node. Revise your query

Post by dragan979 »

I have issues with non-system disk monitoring on Windows.

windows.cfg


d

Code: Select all

efine service{
        use                             generic-service
        host_name                      HOST
        service_description             Disk C: SSD
        check_command                   check_ncpa!'disk/logical/C:|/used_percent'!80!90
        }

define service{
        use                             generic-service
        host_name                      HOST
        service_description             Disk D: Data
        check_command                   check_ncpa!'disk/logical/D:|/used_percent'!80!90
        }



For C drive all works fine:
/usr/lib64/nagios/plugins/check_ncpa.py --hostname=192.168.1.11 --token='token' -M 'disk/logical/C:|/used_per
cent' -w 80 -c 90
OK: used_percent was 77% | 'used_percent_0'=77%;80;90
But for D drive same command fails:

Code: Select all

 /usr/lib64/nagios/plugins/check_ncpa.py --hostname=192.168.1.11 --token='token' -M 'disk/logical/D:|/used_per
cent' -w 80 -c 90
Unable to run check on non-child node. Revise your query
dragan979
Posts: 11
Joined: Thu Jun 29, 2017 8:51 am

Re: Unable to run check on non-child node. Revise your query

Post by dragan979 »

Started working after i restarted NCPA agent
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to run check on non-child node. Revise your query

Post by scottwilkerson »

dragan979 wrote:Started working after i restarted NCPA agent
Ok great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked