nagios的web声音报警

# vi /usr/local/nagios/etc/cgi.cfg    (默认都是注释掉了,去掉注释就行了)

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=noproblem.wav

:wq

# ls /usr/local/nagios/share/media       (这里面放的是报警的音频文件,默认为空)


上传音频文件至/usr/local/nagios/share/media 下面,并在cgi.cfg中进行指定就行了

你可能感兴趣的:(nagios,nagios的web声音报警)