Code: Select all
[nagios@iss-chi-nag05 libexec]$ ./check_ncpa.py -H 172.16.245.144 -t blah -M cpu/percent -w 60 -c 80
OK: Percent was 31.3%,0.0%,4.8%,0.0%,18.8%,0.0%,0.0%,3.2%|'percent_0'=31.3%;60;80 'percent_1'=0.0%;60;80 'percent_2'=4.8%;60;80 'percent_3'=0.0%;60;80 'percent_4'=18.8%;60;80 'percent_5'=0.0%;60;80 'percent_6'=0.0%;60;80 'percent_7'=3.2%;60;80
UNKNOWN: Error occurred while running the plugin.