Skip to main content

Hi,

I’m a mismatch result on local linux plugin : 

On server with the local centreon linux plugin :

 

 

the same command but with remote plugin pending update execute via NRPE 4 : 

 

Thank you very much

hello

have you installed the local nrpe agent on the linux client (your gitlab) following these instructions :Linux NRPE4 | Centreon Documentation

and is your plugin “up-to-date” or at the same version on both poller and client

(rpm -qa | grep “centreon-plugin-Operatingsystems-Linux-Local” …if you are rpm based)

 

and for sanity sake, are you sure that your host in dns is the same machine as the client you are checking (try with IP address to be sure you don’t have a error in dns resolution)

 


Hi, Thank you for your help.

Yes, I rigorously applied instruction of Linux NRPE4 | Centreon Documentation.

 

On poller :

NRPE 4 PLUGIN : 

On server GITAB : 

NRPE 4 : 

LOCAL PLUGIN : 
 

 

I Check DNS resolution and it’s OK, it’s the good server but I can do it with IP and I have the same result.

Thank you again for your help.


I have no idea what could be happening here

the only thing I could see is the user running the check (as I don’t use nrpe4 I can’t say for sure, but you ran the check locally as root, and the check is basically using yum/dnf to get the package list)

 

can you try to run the command, from the poller, with “ --debug” at the end, this will list you the output of the yum/dnf command that list the packages needed

you can compare that with what the same --debug command locally to see the difference,

 

you can also check which user is running the daemon nrpe , if it is not root, try su that user, and check if “yum check-updates” is working (maybe the command can’t run or does not output the same thing if the daemon run with a non root account?)


Reply