Configure audio alerts in Nagios Core

I am writing this because I had a hard time finding info about audio alert setup. Most that i have seen are for source installs.

Location to put your audio files.


To enable the audio alerts.

Go to your /etc/nagios/cgi.cfg file and edit like below.

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/).


You may have to upload your own sounds. I moved mine from my old nagios install.


One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.