Failure to send SMS notification

Assaf Flatto assaf.flatto at ssp-intl.com
Mon Jan 19 13:12:22 CET 2009


Hello 	

I just upgraded my prod nagios from 2.10 to 3.0.6 (on SLES 10.2), and now SMS notifications are not 
being sent out.

Mail notifications are being sent and received ,but the SMS are not !

I've enables debugging and tried to send sms notification by forcing a notification with the 
external commands - the command is registered in the log and debug file , but not being processed .

we are using a web service to send the SMS's , when i use the command from the CLI - it works fine 
and I get the SMS within 5 seconds .

Command definition :
define command{
        command_name    notify-service-by-SMS
        command_line    $USER1$/sms-api.php $HOSTNAME$ $SERVICEDESC$ $NOTIFICATIONTYPE$ 
$SHORTDATETIME$ $SERVICEOUTPUT$ $CONTACTPAGER$ &
        }

define command{
        command_name    host-notify-by-SMS
        command_line    $USER1$/sms-api.php $HOSTNAME$ $HOSTSTATE$ $NOTIFICATIONTYPE$ 
$SHORTDATETIME$ $SERVICEOUTPUT$ $CONTACTPAGER$ &
}

from the nagios.log :
[1232366085] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;foo;Apache;2;Officer-of-the-watch;why 
the hell isn't it sending

from the nagios.debug :
[1232366085.366513] [128.2] [pid=2883] Raw command entry: [1232366082] 
SEND_CUSTOM_SVC_NOTIFICATION;foo;Apache;2;Officer-of-the-watch;why the hell isn't it
 sending
[1232366085.366786] [128.1] [pid=2883] External Command Type: 160
[1232366085.366803] [128.1] [pid=2883] Command Entry Time: 1232366082
[1232366085.366816] [128.1] [pid=2883] Command Arguments: foo;Apache;2;Officer-of-the-watch;why the 
hell isn't it sending


Has any of you guys encountered something similar before ?

Thanks

-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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