Sorry for the noise
The problem was that I have to include comma separated the notificatiob
method like this:

service_notification_commands   send-sms,notify-service-by-email

Thanks you very much

---------- Forwarded message ----------
From: Net Warrior <netwarrior...@gmail.com>
Date: 2012/8/3
Subject: Notification Issue - Only Executing One Method
To: nagios-users@lists.sourceforge.net


Hi there list.
I'm having an issue with the notifiactions, I 'm using
nagios-3.4.1-2.el6.x86_64, this is my configuration:



define contact{
        contact_name                    nagiosadmin     ; Short name of user
        use                             generic-contact         ; Inherit
default values from generic-contact template (defined above)
        alias                           Administrador Nagios    ; Full name
of user
        host_notifications_enabled      1
        service_notifications_enabled   1
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,u,r
        service_notification_commands   send-sms
        service_notification_commands   notify-service-by-email
        host_notification_commands      notify-host-by-email
        email                           u...@domain.com
        can_submit_commands             1
        }

My aim with this configuration is to receive an SMS along with the email
notification, but only one of them is executed, with the configuration
above on the the sms is received
if I comment the send-sms method I receive the mail, but both enabled do
not work, I enabled some debug and there is no errors such as , cannot
execute one or another, in
the logs I only see that only one is executed but not both.

Any ideas what am I doing wrong? If you need more information just let me
know.

Thanks for your time and support
Best regards
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to