Page 1 of 1

Audible alert

Posted: Tue Feb 23, 2010 5:46 pm
by ange
Is there any way I can have an audio file play when a service or host goes down?

Re: Audible alert

Posted: Wed Feb 24, 2010 1:33 pm
by mmestnik
The answer is yes, but the task is not as simple as you might like.

What I've done it tie Nagios into IM and IRC services using alerts. Over IRC it's easy to play a locally stored sound object. I would think adding wizards for IM/IRC alerts at this time would be of low priority, but nevertheless it's easy to set this up on your own.

I'll add this to my list of feature requests, it should be easy to add some PHP that scans logfiles and uses Cookies to keep track of the last log-line this browser has viewed, ect.

Nagios XI Audible Alerts

Posted: Thu May 20, 2010 1:34 pm
by awatch
After upgrading to Nagios XI from nagios core we noticed we were not unable to make use of the audio alerts via the cgis. Now that the interface is changed how might I enable sounds once again on critical alerts from within nagios itself? Or is this even still possible?

Re: Nagios XI Audible Alerts

Posted: Thu May 20, 2010 3:42 pm
by tonyyarusso
We don't have a way within XI normally anyway, no. What were you using before with Core?

Re: Audible alert

Posted: Fri May 21, 2010 10:36 am
by awatch
@tonyyarusso

Before when we were just using core we edited the cgi.cfg and pointed the host_down_sound and the service_critical_sound variables to the appropriate wav file we dropped in nagios/media. Whenever the screen would refresh on the overview pages and there was a problem, it would then play a sound.

Re: Audible alert

Posted: Fri May 21, 2010 1:16 pm
by mmestnik
The interface to Nagios Core is only partially available, thus those settings would be of little use.