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: "[email protected]" <[email protected]>
To: Grant Lowe <[email protected]>
Cc: [email protected]
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 [email protected]
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
<gl...@sbcglobal.
net> To
[email protected]
01/10/2009 03:01 cc
PM [email protected]
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 [email protected]
can_submit_commands 1
retain_status_information 0
retain_nonstatus_information 0
# Added pager line 01/09/2009
pager [email protected]
}
------------------------------------------------------------------------------
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
[email protected]
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