Host Cpu usage

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Rook
Posts: 12
Joined: Tue Feb 19, 2019 4:50 am

Host Cpu usage

Post by Rook »

Good morning,

I have an question regarding the check_nrpe_load.

On most of my ubuntu machines this works perfect, but i have an old fedora machine that is still in use, and we can't update that is giving not the correct CPU usage.

For example when the machine has a load of 1.00, the check will always come back with 0.11, 0.08, 0.05.

I'm wondering where this goes wrong, is fedora handling this different then Ubuntu?

Kind regards,
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Host Cpu usage

Post by npolovenko »

Hello, @Rook. Looks like its returning a CPU load per core. Can you post the service definition as well as the command definition from the /usr/local/nagios/etc/nrpe.cfg file from the Fedora server?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Rook
Posts: 12
Joined: Tue Feb 19, 2019 4:50 am

Re: Host Cpu usage

Post by Rook »

Hello npolovenko,

It seems it works now.

For centos i removed the -r in the command, then the output was correct.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host Cpu usage

Post by scottwilkerson »

Rook wrote:Hello npolovenko,

It seems it works now.

For centos i removed the -r in the command, then the output was correct.
Great! glad it is resolved

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked