Music Alarm
Modify a sound file configuration:
# grep -A 8 audio /etc/nagios/cgi.cfg
# 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.##--# 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.wavhost_down_sound=hostdown.wavservice_critical_sound=critical.wavservice_warning_sound=warning.wavservice_unknown_sound=warning.wav#normal_sound=noproblem.wav
The music uploaded to the specified path:
# ls /usr/local/nagios/share/media/
critical.wav dead.wav hostdown.wav warning.wav
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。