Audible alert

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ange
Posts: 7
Joined: Wed Jan 27, 2010 5:33 pm

Audible alert

Post by ange »

Is there any way I can have an audio file play when a service or host goes down?
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Audible alert

Post 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.
awatch
Posts: 18
Joined: Thu Mar 25, 2010 8:01 am

Nagios XI Audible Alerts

Post 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?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Nagios XI Audible Alerts

Post by tonyyarusso »

We don't have a way within XI normally anyway, no. What were you using before with Core?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
awatch
Posts: 18
Joined: Thu Mar 25, 2010 8:01 am

Re: Audible alert

Post 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.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Audible alert

Post by mmestnik »

The interface to Nagios Core is only partially available, thus those settings would be of little use.
Locked