check_rpc returns Unknown "Program -H is not defined"

Scott Dungan scott at gps.caltech.edu
Mon Jul 10 17:45:15 CEST 2006


Morris, Patrick wrote:
>> It's extremely frustrating that there's no simple way 
>> to view the exact command being invoked by nagios.  It 
>> would seem likely that there's a spurious character or 
>> something else weird about the way it's being invoked.
>>     
>
> 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

-- 

*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