Page 1 of 1

Host Cpu usage

Posted: Tue Feb 19, 2019 4:56 am
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,

Re: Host Cpu usage

Posted: Tue Feb 19, 2019 5:18 pm
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?

Re: Host Cpu usage

Posted: Wed Feb 20, 2019 4:06 pm
by Rook
Hello npolovenko,

It seems it works now.

For centos i removed the -r in the command, then the output was correct.

Re: Host Cpu usage

Posted: Thu Feb 21, 2019 8:18 am
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