Re: [OT] Nagios question
----- Original Message -----
From: Brad Alexander <email@example.com>
Date: Friday, August 26, 2011 6:07 pm
Subject: [OT] Nagios question
To: Debian-user List <firstname.lastname@example.org>
> 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
> 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?
Just to clarify, the configs are *exactly* the same? Are these two machines different architectures (32-bit vs. 64-bit, etc.)?