Music Alarm

发布时间:2020-07-26 04:45:15 作者:卍伪装卍
来源:网络 阅读:315

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


The music uploaded to the specified path:
# ls /usr/local/nagios/share/media/
critical.wav dead.wav hostdown.wav warning.wav






推荐阅读:
  1. 关于nagios的一篇很不错的文章
  2. 将Nagios监控信息存入MySQL

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

nagios music alarm

上一篇:forfiles批处理 移动删除复制文件

下一篇:oracle运维-常用SQL

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》