This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
CFT6Server
Posts: 506 Joined: Wed Apr 15, 2015 4:21 pm
Post
by CFT6Server » Mon Dec 07, 2015 5:04 pm
I notice that a device doing CPUload check was not graphing the 5m and 15m load data. But the results does include the 5m and 15m perf data.
Using check_linux_cpuload.pl:
Result in Advanced under XI confirming data: Performance Data: Load1m=0.64 Load5m=0.68 Load15m=0.70
Using Box293 Performance Tool to confirm that only 1m is graphing
cpuload.png
running the command:
Code: Select all
./check_linux_cpuload.pl -H server-C public-s 2 -w 80 -c 90
CPU Load OK - No Problems found (Average Load 0.79)|Load1m=0.81 Load5m=0.80 Load15m=0.77
Not sure why this is happening. Anyway to savage this without removing and readding the service check?
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Mon Dec 07, 2015 5:32 pm
Where did you get the script from, check_linux_cpuload.pl? Can you post it here for us to take a look at?
Former Nagios Employee
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Mon Dec 07, 2015 7:38 pm
Also, can you go to the Advanced tab of that service and show us a screenshot please.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
CFT6Server
Posts: 506 Joined: Wed Apr 15, 2015 4:21 pm
Post
by CFT6Server » Tue Dec 08, 2015 3:43 pm
This was modified by us to provide CPU load. I have it running for few hundred devices but I only found this particular one to be an issue.
Attached are the screenshots.
Here's a sample of a good one
good.png
You do not have the required permissions to view the files attached to this post.
CFT6Server
Posts: 506 Joined: Wed Apr 15, 2015 4:21 pm
Post
by CFT6Server » Tue Dec 08, 2015 3:48 pm
Here's the check linux cpuload file.
You do not have the required permissions to view the files attached to this post.
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Tue Dec 08, 2015 5:19 pm
The performance data the script is outputting looks formatted correctly.
Lets increase the logging verbosity and then take a deeper look into the logs. Follow the FAQ entry below to increase the log level of process_perfdata and npcd:
http://support.nagios.com/wiki/index.ph ... leshooting
Wait 15 - 20 minutes and then get a tail of the logs:
Code: Select all
tail -250 /usr/local/nagios/var/perfdata.log > /tmp/perfdata.txt
tail -250 /usr/local/nagios/var/npcd.log > /tmp/npcd.txt
Send us a copy of /tmp/perfdata.txt and /tmp/npcd.txt
Don't forget to turn down the log level as per the FAQ when you are done!
I'm positive there will be errors about more data sources than what exists in the RRD file, these steps will fix it:
ICMP and Ping Checks Stopped Graphing After XI 2014 Upgrade
http://support.nagios.com/wiki/index.ph ... 14_Upgrade
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .