Failover pager notifications

David Waldo waldo at cos.com
Mon Jun 9 18:00:06 CEST 2003


All -

I want to make sure that pager notifications are delivered
even when our network or our internet connection is down.
I can get both epaging and paging via modem/TAP working, but I 
don't want to get 2 pages (one from each notification command)
for each notification.

Ideally, I'd like to set up a service check for my pager company's
SMTP server. If it went down, an event handler would trigger an
external command to shutdown all epaging and enable all modem/TAP
paging for all contacts. Unfortunately, it doesn't look like Nagios
has this ability. Neither the contact->host/service_notification_commands
nor the recognized external commands look like they support anything
like this.

It also doesn't look like you can 'chain' notification_commands in
a contact definition, so that if one notification method fails,
try an alternate one: notify-by-epager || notify-by-modem.

It looks like my only alternative is to write my own notification
command wrapper script which implements this logic:

	- run check_smtp plug-in against epager SMTP server.
	- if it returns 0, send email page.
	- else send modem page. 

Has anyone else solved this problem any other way?


- Dave Waldo


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
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