Anyone use Nagios? Need some help.

Kanwar Ranbir Sandhu m3freak at rogers.com
Mon Jul 26 20:39:15 UTC 2004


Hi everyone,

We use Nagios to monitor our systems as well as those of our customers. 
Nagios seems very daunting at first, but it really wasn't that difficult
to setup.  It's a great tool.  However, the mailing list isn't that
helpful, so that's why I've come here.  Since this list receives a lot
of traffic, I was hoping that perhaps someone could help me out with a
Nagios plugin I'm having trouble using.

What follows is the original message I posted to the Nagios pluging
mailing list on July 20:
--------

Hi all,

I'm trying to use the "check_rpc" plugin to check the status of NFS
running on a server.  I've read the documentation for the plugin and
tested it in a terminal, like so:

/usr/lib/nagios/plugins/check_rpc -H localhost -C nfs
/usr/lib/nagios/plugins/check_rpc -H localhost -C nfs -p 2049
/usr/lib/nagios/plugins/check_rpc -H localhost -C nfs -p 2049 -u
/usr/lib/nagios/plugins/check_rpc -H localhost -C nfs -p 2049 -t

No matter how I run it, the program returns this:

Can't fork for rpcinfo: No such file or directory

Adding a "-v" for verbose output gives me this:

-u localhost 100003  2>&1 |
Can't fork for rpcinfo: No such file or directory

NFS is definitely running (I've double checked).  I've googled for the
error messages, but all I've managed to locate so far is a page with the
source code for the plugin itself.

The error seems to be saying that it can't find the rpcinfo binary, but
it's on my system in /usr/sbin/.  I've run rpcinfo a few times (i.e.
rpcinfo -p) to see if anything is reported, and it is working (it shows
nfs plus a few other services).

Has anyone come across this before?  Have I found a bug?

Here is additional info:

- Fedora Core 1 running 2.4.22-1.2197.nptlsmp
- nagios-plugins-nrpe-2.0-3.rhfc1.dag
- nagios-1.2-0.rhfc1.dag
- nagios-plugins-1.3.1-10.rhfc1.dag

Thanks in advance,

Ranbir

-- 
Ranbir
Systems Aligned Inc.
www.systemsaligned.com





More information about the users mailing list