Nagios Audio Alerts
Posted: Wed Mar 07, 2012 2:39 pm
Hello, all.
Running Nagios 3.2.3 and having trouble configuring the Audio Alerts. Currently, this is how I have everything set up:
Sound Files Location
/srv/www/htdocs/nagios/share/media
Sound Files
critical.wav
hostdown.wav
warning.wav
Configuration
/srv/www/htdocs/nagios/etc/cgi.cfg
# SOUND OPTIONS
# These options allow you to specify an optional audio file
# that should be played in your browser window when there are
# problems on the network. The audio files are used only in
# the status CGI. Only the sound for the most critical problem
# will be played. Order of importance (higher to lower) is as
# follows: unreachable hosts, down hosts, critical services,
# warning services, and unknown services. If there are no
# visible problems, the sound file optionally specified by
# 'normal_sound' variable will be played.
#
#
# <varname>=<sound_file>
#
# Note: All audio files must be placed in the /media subdirectory
# under the HTML path (i.e. /usr/local/nagios/share/media/).
host_unreachable_sound=hostdown.wav
host_down_sound=hostdown.wav
service_critical_sound=critical.wav
service_warning_sound=warning.wav
service_unknown_sound=warning.wav
normal_sound=siren.wav
This has been driving me crazy for the past week. I have tried viewing the Host Groups with IE 8 and Firefox 10, but sounds still do not play. Any help AT ALL would be greatly appreciated. Even if you are having the same issue and haven't solved it yet, I would love to hear it as I am slowly losing my mind. I have been dreaming in green text since I tried solving this.
Running Nagios 3.2.3 and having trouble configuring the Audio Alerts. Currently, this is how I have everything set up:
Sound Files Location
/srv/www/htdocs/nagios/share/media
Sound Files
critical.wav
hostdown.wav
warning.wav
Configuration
/srv/www/htdocs/nagios/etc/cgi.cfg
# SOUND OPTIONS
# These options allow you to specify an optional audio file
# that should be played in your browser window when there are
# problems on the network. The audio files are used only in
# the status CGI. Only the sound for the most critical problem
# will be played. Order of importance (higher to lower) is as
# follows: unreachable hosts, down hosts, critical services,
# warning services, and unknown services. If there are no
# visible problems, the sound file optionally specified by
# 'normal_sound' variable will be played.
#
#
# <varname>=<sound_file>
#
# Note: All audio files must be placed in the /media subdirectory
# under the HTML path (i.e. /usr/local/nagios/share/media/).
host_unreachable_sound=hostdown.wav
host_down_sound=hostdown.wav
service_critical_sound=critical.wav
service_warning_sound=warning.wav
service_unknown_sound=warning.wav
normal_sound=siren.wav
This has been driving me crazy for the past week. I have tried viewing the Host Groups with IE 8 and Firefox 10, but sounds still do not play. Any help AT ALL would be greatly appreciated. Even if you are having the same issue and haven't solved it yet, I would love to hear it as I am slowly losing my mind. I have been dreaming in green text since I tried solving this.