command check_nrpe

Sergio Ruiz sruiz at experienceis.com
Thu Jul 10 13:29:49 CEST 2008


Hi!!

i have nagios 2.11 and nrpe 2.8.1 in ubuntu
In my nagios server, i have for services.cfg:

define service {
        hostgroup_name                  debian-servers
        service_description             check_load1
        check_command                   check_nrpe!check_load!3,4,5!6,7,9
        use                             generic-service
}

but, i have a problem in the remote server:
Jul 10 15:13:51 uvbrain1 nrpe[16634]: Connection from xxx.xxx.xxx.xxx port 6546
Jul 10 15:13:51 uvbrain1 nrpe[16634]: Host address is in allowed_hosts
Jul 10 15:13:51 uvbrain1 nrpe[16634]: Handling the connection...
Jul 10 15:13:51 uvbrain1 nrpe[16634]: Host is asking for command 'check_load' to be
run... 
Jul 10 15:13:51 uvbrain1 nrpe[16634]: Running
command: /usr/lib/nagios/plugins/check_load -w 3,4,5 -c 
Jul 10 15:13:51 uvbrain1 nrpe[16634]: Command completed with return code 3 and
output: Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 
Jul 10 15:13:51 uvbrain1 nrpe[16634]: Return Code: 3, Output: Usage:check_load [-r]
-w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 
Jul 10 15:13:51 uvbrain1 nrpe[16634]: Connection from
xxx.xxx.xxx.xxxclosed.


problem is that "-c" valour don't are send.


By terminal:
v at v:/usr/share/doc/nagios2-doc/html$ /usr/lib/nagios/plugins/check_nrpe -H
uvbrain1 -c check_load -a -w 1,2,3 -a -c 2,3,4 WARNING - load average: 1.09, 1.23,
1.12|load1=1.090;1.000;2.000;0; load5=1.230;2.000;3.000;0;
load15=1.120;3.000;4.000;0; 

Any solution?

Thanks!!


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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