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)),
]

最新文章

  1. cocoapod安装过程中的幺蛾子
  2. JS&CSS文件请求合并及压缩处理研究(四)
  3. Android Sqlite 数据库版本更新
  4. Python入门神图
  5. table中的标题行冻结的简单实现
  6. jQuery.makeArray() 函数详解
  7. 关于const和define的内存分配问题的总结
  8. [转]clrDateTime to Dynamics AX TransDate
  9. [Codeforces667A]Pouring Rain(数学,几何)
  10. JavaScript高级程序设计38.pdf
  11. Java同步工具类总结
  12. window权限 及c++实现 【网摘】(转)
  13. JSON格式字符串作为存储过程参数解析
  14. app测试之专项测试
  15. Visual Studio 2017 扩展
  16. windows下openssl编译
  17. Jmeter分布测试
  18. Android 外部启动activity,自定义action,action常量大全
  19. 20155212 2016-2017-2《Java程序设计》课程总结
  20. LongAdder源码学习

热门文章

  1. 07-图5 Saving James Bond - Hard Version (30 分)
  2. md5,base64加密
  3. ruby 更换源 + sass 安装
  4. sql游标及模仿游标操作
  5. Python Numpy Array
  6. 虚拟机 ----- 最小安装如何安装设置ip ,并启用ifconfig命令
  7. 运行结果:Spring Bean的生命周期
  8. 使用summernote编辑器上传图片,重写onImageUpload
  9. 性能测试工具LoadRunner29-LR之测试java代码
  10. 性能测试工具Jmeter05-badboy检查点与参数化