I have beat my head against this for a couple of days now, and I can't figure it out. I have an OpsView (nagios3) server. Two of the servers I am monitoring are running Proxmox-VE, which is a Debian-based distro that allows easy management of KVM and OpenVZ machines, though my CPU only allows it to run OpenVZ.
There is a nagios plugin called check_ubc, which checks for increasing /proc/user_beancounters. This is an indication of a spec that needs to be tuned for the vm. In any case, I can run the check_ubc from the command line on both machines, but on the original server, hornet, when I run it from nrpe on the nagios server: # /usr/local/nagios/libexec/check_nrpe -H hornet -c check_ubc OK. On the new server, built two days ago, same configuration, I get # /usr/local/nagios/libexec/check_nrpe -H akagi -c check_ubc NRPE: Command 'check_ubc' not defined I have the check_ubc script in /usr/local/nagios/libexec/nrpe_local on both, the command is defined in/usr/local/nagios/etc/nrpe_local/override.cfg with an include in /usr/local/nagios/etc/nrpe.cfg. Everything is the same on both servers. Why does the command work on one but not the other? Thanks, --b