[Nagiosplug-help] check_zypper plugin

Mark Ziegler mark.ziegler at rakekniven.de
Thu Apr 1 07:58:38 CEST 2010


Am 29.03.2010 20:58, schrieb Van Plummer:
> Afternoon,
>
> Monitoring Server:
> SLES_11
> Nagios version - 3.0.6-1.21.1
> Nagios plugin version - 1.4.13-1.35
> Nagios-nrpe version 2.12-1.8
>
> Remote Host:
> SLES_11
> Nagios plugin version - 1.4.13-1.35
> Nagios-nrpe version 2.12-1.8
>
> Command Definition:
> define command{
>          command_name check_nrpe
>          command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
>          }
>
> Service Command:
> define service{
>         use                              generic-service
>         host_name                   remote hots
>         service_description        SuSE Updates
>         check_command           check_nrpe!check_zypper -t 119
>         }
>
> Remote host nrpe.cfg
> command[check_zypper]=/usr/lib/nagios/plugins/check_zypper -t 119 -s -v
>
> I am receiving an error while trying to execute this command.  The error is "NRPE: Command timed out after 119 seconds"  I have increased the time as high as 300 seconds with the same results.  I can successfully execute the the "check_zypper" command from the remote host, so I know it works.  I can execute this check users command from the Nagios server and it works, so I believe the NRPE is operating properly.
>
>      check_nrpe -H remote host -c check_users
>
> I just can't get the check_zypper to return info with the nrpe plugin.  Anyone have any ideas why I can't get this to work?  Thanks!
>    

Have you checked "no_blame"?
check_users does not need parameters.
My opensuse nrpe default settings does not allow to give arguments to 
nrpe commands.

Best regards.

Mark




More information about the Help mailing list