Command behaviour

Hello all,

Im having an issue with check commands throwing error

execvpe(/usr/lib64/nagios/plugins/check_load) failed: No such file or directory

Its all well and good, seems like plugin is missing or agent is missing the plugin, however, thats not the case.

I have 2 linux machines, one running ubuntu and other running RHEL, both added through same template, same agent settings, same VLAN, master zone, everything exactly the same. And one works, other throws error.

Interestingly the one that works, in source tab on Icinga2Web it shows different path to the plugin.
Wrong:


Right:

Somehow the same host template, using same service template is calling two different commands?

Any help would be appreciated, thank you in advance.

Maybe stupid question: is the corresponding package nagios-plugins-load.x86_64 installed on that RHEL machine?

1 Like

I came to the same conclusion, somehow it doesnt install this automatically on RHEL while it does on Ubuntu.
https://www.monitoring-plugins.org/download/monitoring-plugins-2.4.0.tar.gz