1 Star 0 Fork 14

jinjin/nagios

forked from src-openEuler/nagios 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nagios.internet.cfg 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
fun_yang 提交于 2020-03-16 14:12 . package init
##############################################################################
# internet.cfg - sample config file for Fedoras Nagios
#
# 2008-07-03 created Robert M. Albrecht
#
# NOTES: This config file is a sample for monitoring some internet hosts.
#
###############################################################################
define host{
name template-internet-host
use generic-host
register 0
max_check_attempts 5
contacts nagiosadmin
parents localhost
}
define host{
use template-internet-host
host_name Google
address www.google.com
notes Googles Website defined by sample config
notes_url http://www.google.com
action_url http://en.wikipedia.org/wiki/Google
}
define hostgroup{
hostgroup_name InternetHosts
alias Internet Hosts
members Google
}
define service{
use generic-service
hostgroup_name InternetHosts
service_description PING
check_command check_ping!200.0,20%!600.0,60%
}
define service{
use generic-service
hostgroup_name InternetHosts
service_description HTTP
check_command check_http
}
define servicegroup{
servicegroup_name WebSites
alias Internet Hosts
members Google,PING,Google,HTTP
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yanglijin/nagios.git
[email protected]:yanglijin/nagios.git
yanglijin
nagios
nagios
master

搜索帮助