check_mk 之 Configuration variables
Basic settings
#check_parameters
This is a configuration list assigning specific check parameters to checks created by inventory. It is a list of rules. Each rule is a tuple of
1. A check parameter
2. Optional: a list of host tags.
3. A list of host names or ALL_HOSTS.
4. A list of service patterns.
check_parameters = [
# (1) Filesystem C: on winsrv02 gets levels (92, 96)
( (92, 96), [ "winsrv02" ], [ "fs_C:" ]),
# (2) Filesystems on hosts with tag "sap" and "test" are always OK
( (101, 101), [ "sap", "test" ], ALL_HOSTS, [ "fs_"]),
# (3) Levels for filesystems below /sap (also /saptrans, /saptest)
( (80, 95), ALL_HOSTS, [ "fs_/sap" ]),
# (4) Levels for filesystems /var and /tmp on all hosts
( (90, 95), ALL_HOSTS, [ "fs_/var$", "fs_/tmp$" ] ),
# (5) Set levels for all remaining file systems to 80% / 90%
( (80, 90), ALL_HOSTS, [ "fs_" ] ),
]
#checks
List of manually configured checks (those not found by inventory). Each entry of the list is four or five-tuple with the following elements:
1. An optional list of host tags. The entry is valid only for hosts having all of the listed tags.
2. A list of hostnames or the one of the keywords ALL_HOSTS, PHYSICAL_HOSTS, or CLUSTER_HOSTS.
3. A check type
4. A check item or the keyword None for checks that do not need an item.
5. Paramters for the check or the keyword None for checks that do not need a parameter.
checks = [
( "cluster1", "df", "/", ( 80, 90 ) ),
( ["lnx"], ALL_HOSTS, "ps", "NTPD", ( "/usr/sbin/ntpd",1,1,1,1)),
]
check_mk 之 Configuration variables的更多相关文章
- Fixing Poor MySQL Default Configuration Values
I've recently been accumulating some MySQL configuration variables that have defaults which have pro ...
- check_MK安装部署(nagios4版本)
概述: 操作系统版本:CentOS release 6.3 (Final) 64位 nagios版本:Nagios Core 4.0.6 pnp4nagios版本:pnp4nagios-0.6.22 ...
- Mybatis源码解析,一步一步从浅入深(四):将configuration.xml的解析到Configuration对象实例
在Mybatis源码解析,一步一步从浅入深(二):按步骤解析源码中我们看到了XMLConfigBuilder(xml配置解析器)的实例化.而且这个实例化过程在文章:Mybatis源码解析,一步一步从浅 ...
- 解决maven下载jar慢的问题(如何更换Maven下载源)
修改 配置文件 maven 安装 路径 F:\apache-maven-3.3.9\conf 修改 settings.xml 在 <mirrors> <!-- mirror | Sp ...
- Maven日常 —— 你应该知道的一二三
以前在日常工作中,使用Maven只是机械的执行Maven clean.Maven install,对其中的原理与过程并无了解,近期阅读了<Maven实战>,对Maven有了更深入的理解. ...
- Hadoop HDFS 用户指南
This document is a starting point for users working with Hadoop Distributed File System (HDFS) eithe ...
- Maven配置Nexus私服
官方文档:http://books.sonatype.com/nexus-book/3.0/reference/maven.html#maven-sect-single-group 1,下载安装 首先 ...
- maven私服搭建
一.软件安装 地址:http://www.sonatype.org/nexus/thank-you-for-downloading/?dl=tgz 解压: 启动: >> nexus sta ...
- maven settings.xml 阿里云
<?xml version="1.0" encoding="UTF-8"?> <!--Licensed to the Apache Softw ...
随机推荐
- python编程技巧
- Codeforces Round #305 (Div. 2) B
Description Mike and some bears are playing a game just for fun. Mike is the judge. All bears except ...
- Xshell添加快捷按钮
1.打开xshell,点击[查看],勾[快速命令]: 2.点击xshell右下角[三],选择[添加按钮],在弹出框的“标签栏”和“文本”栏分别输入名称和命令,最后点击[确定]即可.
- 4.centos7 docker 安装
参考这个文档进行安装docker: http://www.runoob.com/docker/centos-docker-install.html 开机启动 systemctl enable dock ...
- Problem06 求最大公约数及最小公倍数
题目:输入两个正整数m和n,求其最大公约数(m,n)和最小公倍数[m,n]. 程序分析:利用辗转相除法. 利用辗除法:用较大数除以较小数,再用出现的余数(第一余数)去除除数, 再用出现的余数(第二余数 ...
- VSCode创建自定义用户片段
1.选择相应的用户片段类型(以"Java"为例) 首选项 -> 用户代码片段 -> java 2.设置模板 prefix 触发快捷提示的字符串前缀 body 代码片段主 ...
- 用LaTeX画树形结构
用LaTeX画树形结构,比如:文件目录树形图,程序中函数调用关系图等. 找到的一个不错的资源: http://www.texample.net/tikz/examples/feature/trees/ ...
- 在IE8下background-image不显示的解决方法
刚写一个页面,在chrome,FF里调试完后,忽然想起ie来,放到Ie里其它还好了,但是有个背景图片显示不出来. 调试N遍后,只好上stackoverflow去找一下,果然找到了. 最初是这样写的: ...
- UGUI RectTransform 矩形变换
UGUI游戏对象基本都有这个组件. float radius; radius = GetComponent<RectTransform>().sizeDelta.x; radius = ( ...
- 性能测试工具LoadRunner16-LR之Controller 负载运行时设置