> -----Original Message-----
> From: Scott Dungan [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 10, 2006 8:45 AM
> To: Morris, Patrick
> Cc: John Daily; [email protected]
> Subject: Re: [Nagios-users] check_rpc returns Unknown
> "Program -H is not defined"
>
> > In cases like this, I'll usually replace the plugin
> temporarily with a
> > simple shell script that logs what's passed to it:
> >
> > #!/bin/sh
> > echo `date` $0 $@ >> /tmp/nagios_plugin.log
> >
> >
> So I did just that and it seems as if Nagios is passing along
> exactly what it should be. Here is the contents of the
> nagios_plugin.log created by the shell script:
>
> Mon Jul 10 08:37:57 PDT 2006 /usr/lib/nagios/plugins/diag -H
> 131.215.64.60 nfs -c
That looks a bit different than what I use for my NFS RPC checks. Here's
mine:
define command {
command_name check_rpc_nfs
command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -t
}
Are you sure your syntax is correct? Have you looked at a "check_rpc
-h" to verify you're passing the parameters correctly (you may have
mentioned something earlier, but I don't have access to mail older than
a day or so right now)?
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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