Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
emarginated
byemarginated, January 7, 2016
Hello,
great check.
I've found a little bug using hte CPU count.
It show me , on the perfdata, the entire help screen, just after the steal percentage:
[root@ph742502]/usr/local/nagios/libexec# ./check_linux_stats.pl -C -w 70 -c 100 -s 2
CPU OK : idle 91.85 |idle=91.85%;70;100 user=0.59% system=0.34% iowait=7.12% steal=0.00%check_linux_stats v1.5
Usage: ./check_linux_stats.pl -C|-P|-M|-N|-D|-I|-L|-F|-S|-W|-U -p -w -c [-s ] [-u ] [-V] [-h]
-h, --help
print this help message
-C, --cpu=CPU USAGE
-P, --procs
-M, --memory=MEMORY USAGE
Could be possible to solve?
i was not able to find it on the check_cpu section, it looks ok to me (but i'm not a programmer).
Thank you.
Michele
great check.
I've found a little bug using hte CPU count.
It show me , on the perfdata, the entire help screen, just after the steal percentage:
[root@ph742502]/usr/local/nagios/libexec# ./check_linux_stats.pl -C -w 70 -c 100 -s 2
CPU OK : idle 91.85 |idle=91.85%;70;100 user=0.59% system=0.34% iowait=7.12% steal=0.00%check_linux_stats v1.5
Usage: ./check_linux_stats.pl -C|-P|-M|-N|-D|-I|-L|-F|-S|-W|-U -p -w -c [-s ] [-u ] [-V] [-h]
-h, --help
print this help message
-C, --cpu=CPU USAGE
-P, --procs
-M, --memory=MEMORY USAGE
Could be possible to solve?
i was not able to find it on the check_cpu section, it looks ok to me (but i'm not a programmer).
Thank you.
Michele
Owner's reply
I fixed this ugly bug..