Elevated alerts
Grant Lowe
glowe at sbcglobal.net
Mon Jan 12 01:21:15 CET 2009
Hi James,
I think I understand it a little bit better. As far as numerical users, do you mean when a page is sent to a paging service, somehow, the user name is converted to, a numerical user that the paging service uses? That makes sense I guess because you have to have a phone number to call for the page.
As far as the notification tags, do these look correct, with what I'm trying to do?
define contact{
# Email config
...
host_notification_options d,u,r,f,s
service_notification_options w,c,u,r,f,s
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
...
}
And the other:
define contact{
# Paging config
...
host_notification_options d,u,r,f,s
service_notification_options c,u,r,f,s
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
# host_notification_commands notify-host-by-pager
# service_notification_commands notify-service-by-pager
...
}
Thanks for hanging in there with me!
----- Original Message ----
From: "jmoseley at corp.xanadoo.com" <jmoseley at corp.xanadoo.com>
To: Grant Lowe <glowe at sbcglobal.net>
Cc: nagios-users at lists.sourceforge.net
Sent: Saturday, January 10, 2009 5:18:29 PM
Subject: Re: [Nagios-users] Elevated alerts
In the 'email' contact config, you need all the service notification
options: w,c,u,r,f,s
This is because you want warning and critical alerts sent to email.
In the 'paging' config, gid rid of the following lines:
host_notification_commands notify-host-by-pager
service_notification_commands notify-service-by-pager
# Added pager line 01/09/2009
pager glowe at pager.company.com
Then change the service notifications to: c,u,r,f,s
The way you have it now, the paging contact will not get critical alerts.
If your paging email address has a text username (glowe), you need to use
the notify-by-email arguments. If the user is numerical, then yes, you can
use the notify-by-pager commands. I mentioned this in my last email. I've
never researched it, for I've found that if I have a non-numerical user in
an email address and I use the notify-by-pager default CONTACTPAGER macro,
the notification is not sent.
James Moseley
Grant Lowe
<glowe at sbcglobal.
net> To
jmoseley at corp.xanadoo.com
01/10/2009 03:01 cc
PM nagios-users at lists.sourceforge.net
Subject
Re: [Nagios-users] Elevated alerts
define contact{
contact_name glowe1
alias Grant
contactgroups solaris-admins
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,s,
service_notification_options w,u,r,f,s,
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-pager
service_notification_commands notify-service-by-pager
email glowe at pager.company.com
can_submit_commands 1
retain_status_information 0
retain_nonstatus_information 0
# Added pager line 01/09/2009
pager glowe at pager.company.com
}
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
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