wrong information by check_disk !

Jay R. Ashworth jra at baylink.com
Fri May 9 16:08:57 CEST 2008


On Fri, May 09, 2008 at 09:01:31AM -0500, Marc Powell wrote:
> Uwe Großkinsky wrote:
> > define service{
> >         use                             generic-service
> >         host_name                       uwe-desktop
> >         service_description             check remote Disk
> >         check_command                   check_nrpe!check_remote_disk1
> >         }
> > 
> > and command.cfg
> > 
> > define command{
> >       command_name    check_remote_disk1
> >       command_line    $USER1$/check_remote_disk1 -H $HOSTADDRESS$
> >      }
> 
> This is not the command that you're telling nagios to run in the
> service definition above. You're telling it to run the command with
> command_name 'check_nrpe'.

To expand on that a touch: command.cfg on the monitoring machine needs
to know how to run check_nrpe (and it almost certainly already does),
but not check_remote_disk1 (and you shouldn't really call it "remote",
because...)

the *argument* to check_nrpe, which you've called check_remote_disk1,
has to be defined on the *target* machine.

Where that disk isn't remote.

This isn't entirely the best documented process -- I know, cause it
took me almost 3 hours to figure it out.  :-)

===

You know what would be *wonderful*?

If someone could post, somewhere, one or more working complete
configurations, annotated as to why the configuror made the choices of
naming and templating that they did.

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Joseph Stalin)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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