Re: Canout get output
Posted: Tue Oct 27, 2015 11:25 am
I did have a ! in my token. Removed the !, but still not getting any output.
When running from Service Template Management getting this output:
COMMAND: /usr/local/nagios/libexec/check_ncpa.py -H 172.16.3.107 -t Th1nk-1p -M 'disk/logical/C:\|/used_percent' -w 70 -c 90 -P 5693
OUTPUT: Unable to run check on non-child node. Revise your query.
When I run from cli:
[root@localhost libexec]# ./check_ncpa.py -H 172.16.3.107 -t Th1nk-1p -M 'disk/logical/C:|/used_percent' -w 70 -c 90 -P 5693
OK: used_percent was 30% | 'used_percent_0'=30%;70;90;
When running from Service Template Management getting this output:
COMMAND: /usr/local/nagios/libexec/check_ncpa.py -H 172.16.3.107 -t Th1nk-1p -M 'disk/logical/C:\|/used_percent' -w 70 -c 90 -P 5693
OUTPUT: Unable to run check on non-child node. Revise your query.
When I run from cli:
[root@localhost libexec]# ./check_ncpa.py -H 172.16.3.107 -t Th1nk-1p -M 'disk/logical/C:|/used_percent' -w 70 -c 90 -P 5693
OK: used_percent was 30% | 'used_percent_0'=30%;70;90;