check_nt CPULOAD 60minute averages not reporting correct

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MikeMAN987
Posts: 58
Joined: Fri Sep 29, 2017 9:57 am

check_nt CPULOAD 60minute averages not reporting correct

Post by MikeMAN987 »

Hello,

I am having an issue where I am trying to have CPU Load alerts only alert when the last 60minute average is over 80 percent (warning) and 90 percent (critical). For some reason, the command setting doesn't appear to be respecting using the last 60 minute average. (command, screenshots below).

Command - $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
ARG1 - CPULOAD
ARG2 -l 60,80,90

Screenshot 1 - Real-time Graph from VMware (showing high usage, but not for 60minutes)
vmware.jpg
Screenshot 2 - Graph from Nagios XI (I realize that when it gets to Nagios XI, the average is already calculated, so this spike will naturally be smaller)
nagios.jpg
Any insight is appreciated!

Regards,
Mike
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_nt CPULOAD 60minute averages not reporting correct

Post by scottwilkerson »

Depending on your version of NSClient this was a long standing bug that it was using seconds, instead of minutes

https://forums.nsclient.org/t/check-nt- ... nutes/4523
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MikeMAN987
Posts: 58
Joined: Fri Sep 29, 2017 9:57 am

Re: check_nt CPULOAD 60minute averages not reporting correct

Post by MikeMAN987 »

thanks for that suggestion! I will try and put the items in their "seconds" equivalents and see if that resolves it and confirms the bug we may be seeing.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_nt CPULOAD 60minute averages not reporting correct

Post by scottwilkerson »

MikeMAN987 wrote:thanks for that suggestion! I will try and put the items in their "seconds" equivalents and see if that resolves it and confirms the bug we may be seeing.
Sounds good
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MikeMAN987
Posts: 58
Joined: Fri Sep 29, 2017 9:57 am

Re: check_nt CPULOAD 60minute averages not reporting correct

Post by MikeMAN987 »

Scott, thank you for helping validate this. We are making arrangements to temporarily change all of our checks to their second(s) equivalent and re-write using NRPE. Feel free to close!
Locked