Remote check with check_load check_disk

Dennis Hünseler dennis at huenseler.net
Wed May 7 13:54:32 CEST 2008


Uwe Großkinsky schrieb:
> hello list
>
> i will check a remotehost with "check_load" "check_disk" and so on in
> nagios.
> nrpe was 2.12 was installed (compiled) (plugins was also compiled) and
> run very fine (check_ping, check_http and so on was working fine).
>
> but now i will check the status from the systemload with the some
> plugins, for example "check_load" but i dont understand the right way to
> configure.
>
> i have read the documentation but i am hanging.
>
> thanks a lot
>
> greets uwe
>
>
> -------------------------------------------------------------------------
> 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
>
>   
Hi uwe,

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
        }

Kind regards, Dennis

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