Nagios Alerts – Setting Up Nagios Alerts by Telephone

monitoringnagiossoftphone

I have a couple of nagios servers that currently alert me via SMS and email, but I'd like to add outgoing calls to that. The ideal solution would have the nagios machines call my cellphone and play an mp3/wav across the call to let me know something is wrong. My only problem is that I'm not sure how to go about accomplishing this.

I suspect I may have to buy a PBX card to do it, but I was hoping that someone here had done something similar with a regular modem and off-the-shelf software. Any ideas or hints?

Best Answer

Asterisk is overkill - but would work without issue. Save some time and get a voice capable modem and use vgetty.

Here is a tutorial which shows an 11 line perl script for playing a message over an outbound call:

http://www.webreference.com/perl/tutorial/14/2.html