Audible alert
Audible alert
Is there any way I can have an audio file play when a service or host goes down?
Re: Audible alert
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.
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
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?
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Nagios XI Audible Alerts
We don't have a way within XI normally anyway, no. What were you using before with Core?
Re: Audible alert
@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.
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
The interface to Nagios Core is only partially available, thus those settings would be of little use.