check_rpc returns Unknown "Program -H is not defined"

Scott Dungan scott at gps.caltech.edu
Mon Jul 10 18:16:06 CEST 2006


Morris, Patrick wrote:
>
> 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)?
>   

That did the trick. Thanks for comparing your syntax to mine.

-- 

*Scott A Dungan*

Systems Administrator

California Institute of Technology

Phone: (626) 395-3170

Fax:     (626) 585-1917



-------------------------------------------------------------------------
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
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