sms_client: In Nagios 1.4 it works, but not in 2.5 ?

Andre Bergei Andre.Bergei at ergo.no
Fri Aug 18 14:31:09 CEST 2006


On Fri, 2006-08-18 at 13:55 +0200, D.J. Bolderman wrote:

> In the Nagios events I can see that the message is now correct, but it
> still times out
> 
> [2006-08-18 13:47:32] Warning: Contact 'dick_sms' host notification
> command '/usr/bin/sms_client -q kpn:xxxxxxxxx 'RECOVERY: server is UP
> (PING OK - Packet loss = 0%, RTA = 0.22 ms)' -l 4' timed out after 30
> seconds
> 
> In my misccommands.cfg:
> 
> define command{
>         command_name host-notify-by-sms
>         command_line /usr/bin/sms_client -q kpn:xxxxxxx
> '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($HOSTOUTPUT$)' -l 4
> }

Just a long shot:

How long does it take to run sms_client? Seems like Nagios kills it
after 30 seconds, maybe you have longer notification timeout in your
Nagios-1.x config file.

/andré

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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