金信银通:naios通过web报警
来源:百度文库 编辑:九乡新闻网 时间:2024/05/05 23:04:23
naios通过web报警 一天晚上突然听到nagiosweb界面奇怪的声音,吓我一跳,最后发现原来是nagios的web界面报警功能。
在已经搭建好NAGIOS后,可以通过WEB来进行访问,同事WEB访问时,也能让NAGIOS发出报警声音, 方法是编辑/usr/local/nagios/etc/cgi.cfg文件,找到最后部分,将前面的注释去掉,下面是去掉注释的模板。保存退出后,重启NAGIOS服务。
# SOUND OPTIONS
# 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
在已经搭建好NAGIOS后,可以通过WEB来进行访问,同事WEB访问时,也能让NAGIOS发出报警声音, 方法是编辑/usr/local/nagios/etc/cgi.cfg文件,找到最后部分,将前面的注释去掉,下面是去掉注释的模板。保存退出后,重启NAGIOS服务。
# SOUND OPTIONS
# 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
naios通过web报警
实例:通过路由器绕过DDoS防御攻击web服务器
web
web
如何通过脚本或过程信号确认报警消息?>>人机界面--广州若恒工控设备有限公司--华南区|广...
Web打印
Web accelerator
web.xml4
web打印,
Fashion web.
web打印
web打印
WEB视觉设计师 与 WEB开发工程师
web-enhanced courses与web-based courses
POLO的报警喇叭
女性“更年期”报警 [图]
机箱出现入侵报警
难顶妻性苛索 苦命夫报警
不要报警,内部处理
开机报警提示音
电脑开机报警
江西 击毙 报警人员
系统扬声器鸣叫报警
主板报警详解: