[Nagios-users] Notification Issue - Only Executing One Method

2012-08-03 Thread Net Warrior
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_namenagiosadmin ; 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_period24x7
service_notification_optionsw,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

Re: [Nagios-users] notification issue

2006-08-16 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Tom Brown
 Sent: Wednesday, August 16, 2006 10:59 AM
 To: Nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] notification issue
 
 Hi
 
 When my notifications come through they look like this
 
 * Nagios  *
 
 Notification Type: PROBLEM
 
 Service: www
 Host: xxx
 Address: 
 State: CRITICAL
 
 Date/Time: Wed Aug 16 11:43:52 EDT 2006
 
 Additional Info:
 
 $
 
 
 How can i make sure that the addition info has information in it? I
see
 this if i look on the web but not in the mail.

In the future, please post relevant config information (such as the
notification command), nagios version, etc so people can assist you
better.

In this case it seems that you're using Nagios 2.x with the now unused
$OUTPUT$ macro from 1.x. The replacement is $SERVICEOUTPUT$. Change that
in your notification command and you should see the service output
information.

--
Marc 

-
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=lnkkid=120709bid=263057dat=121642
___
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


Re: [Nagios-users] notification issue

2006-08-16 Thread Mike Koponick
Tom.

What does your misccommands.cfg look like for this command? The clue
might b there. I have noticed that spaces with \n can make a
difference.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Brown
Sent: Wednesday, August 16, 2006 8:59 AM
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] notification issue

Hi

When my notifications come through they look like this

* Nagios  *

Notification Type: PROBLEM

Service: www
Host: xxx
Address: 
State: CRITICAL

Date/Time: Wed Aug 16 11:43:52 EDT 2006

Additional Info:

$


How can i make sure that the addition info has information in it? I see 
this if i look on the web but not in the mail.

thanks


-
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=lnkkid=120709bid=263057dat=121642
___
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

-
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=lnkkid=120709bid=263057dat=121642
___
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