check_rpc problem after upgrade to 2.9

Saletan, Jesse Jesse.Saletan at amd.com
Fri Apr 20 17:41:57 CEST 2007


Since an upgrade from Nagios 2.8 to 2.9 I'm getting this error in the
gui for check-nfs:

**ePN failed to compile /usr/lib/nagios/plugins/check_rpc: "Can't locate
utils.pm in @INC (@INC contains: nagios/plugins
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/ven" at /usr/bin/p

check-nfs uses the check_rpc plugin:

define command {
        command_name    check-nfs
        command_line    $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3
}

However, the check_rpc plugin seems to work from the command line:

-bash-2.05b$ cd /usr/lib/nagios/plugins
-bash-2.05b$ ./check_rpc -H myhost -C nfs -c2,3
OK: RPC program nfs version 2 version 3 udp running

Any idea what's wrong?

Thanks,
Jesse



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list