# 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中进行指定就行了
本文转自linuxb博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/857577如需转载请自行联系原作者
yangzhimingg