Remote check with check_load check_disk

Jay R. Ashworth jra at baylink.com
Wed May 7 17:38:26 CEST 2008


On Wed, May 07, 2008 at 01:54:32PM +0200, Dennis H?nseler wrote:
> just go to the remote host and edit the nrpe.cfg
> 
> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 
> 30,25,20
> 
> and on your nagios host create the referring check_definition:
> 
> 
> define service{
>         use                             generic-service-perf         ; 
> Name of service template to use
>         host_name                       your_host
>         service_description             nrpe_Current Load
>         check_command                   check_nrpe!check_load
>         }

And to expand that a touch so it's clearer for the archives, if you use
NRPE, *you must define the check commands on both machines*, the
monitoring machine, and the target monitored machine.

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