Q:有没有已经实施的案例
A:
http://wiki.lustre.org/Check_MK/Graphite/Graphios_Setup_Guide
Q:check-mk-agent怎么安装?
A:
使用epel源,yum -y install check-mk-agent xinetd && /etc/init.d/xinetd start && chkconfig xinetd on,同时开放tcp:6556端口,目前epel源最高版本 1.2.6p16-3.el6
Q:客户端获取应用监控信息,如mysql等
A:
放置在/usr/share/check-mk-agent/plugins目录,如果需要异步的话,在plugins目录新建以秒为名称的目录,如/usr/share/check-mk-agent/plugins/60
Q:服务端过滤无用监控信息
A:
编辑/opt/omd/sites/monitor/etc/check_mk/main.mk,添加以下内容
ignored_checktypes = ["chrony", "kernel", "cpu.threads", "logwatch", "megaraid_pdisks", "ipmi", "ipmi_sensors", "mounts", "ps", "ps.perf", "postfix_mailq", "postfix_mailq_status", "logins", "omd_apache", "omd_status", "livestatus_status"]
Q:监控数据量大的时候,是如何做优化的
A:
单机用目录方式进行优化,另外多机的话,还支持分布式
Q:如何变更检测时间及重试次数
A:
Host & Service Parameters -> Monitoring Configuration -> Service Checks -> Normal check interval for service checks 设置1分钟
Host & Service Parameters -> Monitoring Configuration -> Service Checks -> Retry check interval for service checks 设置1分钟
Host & Service Parameters -> Monitoring Configuration -> Service Checks -> Maximum number of check attempts for service 设置1次 Host & Service Parameters -> Monitoring Configuration -> Service Checks -> Normal check interval for host checks 设置1分钟
Host & Service Parameters -> Monitoring Configuration -> Service Checks -> Retry check interval for host checks 设置1分钟
Host & Service Parameters -> Monitoring Configuration -> Service Checks -> Maximum number of check attempts for service 设置1次
Q:如何自动添加发现的新监控项
A:
Host & Service Parameters -> Monitoring Configuration -> Inventory and Check_MK settings -> Periodic service discovery 增加rule
Perform service discovery every 设置为1h
Severity of unmonitored services 设置为warning
Severity of vanished services 设置为ok
Automatically update service configuration中,mode设置为Add unmonitored services & remove varnished services
Group discovery and activation for up to 设置为10m
Q:支持批量主机导入吗
A:Host -> Bulk host import
Q:建立主机组并关联主机
A:
Host & Service Groups -> new host group
Host Tags -> new tag group
Host & Service Parameters -> Grouping -> Assignment of hosts to host groups
新建rule , Assignment of hosts to host groups 选择group_bj,Conditions下host tag选择 location is group_bj
Q:磁盘io模式由summary变更为separate
A:
Host & Service Parameters -> Parameters for discovered services -> Storage, Filesystems and Files -> Discovery mode for Disk IO check
新建rule,选择Create a separate check for each physical disk
Q:网络设备接口名称由id变更为description
A:
Host & Service Parameters -> Parameters for discovered services -> Discovery - automatic service detection -> Network Interface and Switch Port Discovery,新建rule,选择Use description as service name for network interface checks,选择use description
Q:改变监控阀值
A:
#load
Host & Service Parameters -> Parameters for discovered services -> Operating System Resources -> CPU load (not utilization!),添加rule,选择fixed level,warning & critical设置为10 #cpu
Host & Service Parameters -> Parameters for discovered services -> Operating System Resources -> CPU utilization on Linux/UNIX,添加rule,选择Alert on too high CPU utilization,warning & critical设置为95,选择Alert on too high disk wait (IO wait),warning & critical设置为50 #memory
Host & Service Parameters -> Parameters for discovered services -> Operating System Resources -> Memory and Swap usage on Linux,添加rule,选择Levels for RAM,warning & critical设置为95 #storage
Host & Service Parameters -> Parameters for discovered services -> Storage, Filesystems and Files -> Filesystems (used space and growth)
添加rule,选择Levels for filesystem free space,dynamic level,
Filesystem larger than 1T -> Absolute free space -> warning & critical设置为20000MB
Filesystem larger than 300G -> Absolute free space -> warning & critical设置为10000MB
Filesystem larger than 100G -> Absolute free space -> warning & critical设置为5000MB
Filesystem larger than 10G -> Absolute free space -> warning & critical设置为1000MB
Filesystem larger than 1G -> Absolute free space -> warning & critical设置为100MB
Filesystem larger than 300M -> Absolute free space -> warning & critical设置为20MB
Filesystem larger than 100M -> Absolute free space -> warning & critical设置为10MB
Filesystem larger than 0B -> Absolute free space -> warning & critical设置为0MB #traffic
Host & Service Parameters -> Parameters for discovered services -> Networking -> Network interfaces and switch ports,新建rule, 1g
Operating speed -> ignore speed,Operational state -> 1 - up,Assumed input speed -> 1g, Assumed output speed -> 1g, Measurement unit -> Bits,Used bandwidth (minimum or maximum traffic) -> in/out & upper & percent level & warning 95 & critical 95,Average values -> 10mins,Port Specification -> em1 em2 em3 em4 eth0 eth1 eth2 eth3 2g
Operating speed -> ignore speed,Operational state -> 1 - up,Assumed input speed -> 2000000000 bit, Assumed output speed -> 2000000000 bit, Measurement unit -> Bits,Used bandwidth (minimum or maximum traffic) -> in/out & upper & percent level & warning 95 & critical 95,Average values -> 10mins,Port Specification -> bond0 bond1 10g
Operating speed -> ignore speed,Operational state -> 1 - up,Assumed input speed -> 10g, Assumed output speed -> 10g, Measurement unit -> Bits,Used bandwidth (minimum or maximum traffic) -> in/out & upper & percent level & warning 95 & critical 95,Average values -> 10mins,Port Specification -> p1p1 p1p2 p2p1 p2p2
cmk -L |grep redis
redis.info tcp (no man page present) cmk --checks=redis.info -I kvm-48-113 cmk --debug -nv kvm-48-113

check_mk raw 1.2.8p17 FAQ的更多相关文章

  1. discuz /faq.php SQL Injection Vul

    catalog . 漏洞描述 . 漏洞触发条件 . 漏洞影响范围 . 漏洞代码分析 . 防御方法 . 攻防思考 1. 漏洞描述 . 通过获取管理员密码 . 对管理员密码进行破解.通过在cmd5.com ...

  2. UBIFS FAQ and HOWTO

    转:http://www.linux-mtd.infradead.org/faq/ubifs.html UBIFS FAQ and HOWTO Table of contents How do I e ...

  3. 06 Frequently Asked Questions (FAQ) 常见问题解答 (常见问题)

    Frequently Asked Questions (FAQ) Origins 起源 What is the purpose of the project? What is the history ...

  4. C++11中的raw string literals

    作为一名C++书看得少得可怜的新手,我一直没有勇气去系统地学习一下C++ 11添加的新特性.不过,平日里逛论坛,阅读大犇们的博客,倒是了解了一些.比如,这个帖子: 如何绕过g++ 4.8.1那个不能在 ...

  5. EVE-NG FAQ

    EVE-NG FAQ How to install EVE on bare box using Ubuntuoriginal ISO distro. Get Ubuntu ISO: https://w ...

  6. ceph-deploy离线部署ceph集群及报错解决FAQ

    ceph-deploy部署ceph集群 环境介绍 主机名 ip地址 操作系统 角色 备注 ceph-node1 10.153.204.13 Centos7.6 mon.osd.mds.mgr.rgw. ...

  7. GreenDao 数据库:使用Raw文件夹下的数据库文件以及数据库升级

    一.使用Raw文件夹下的数据库文件 在使用GreenDao框架时,数据库和数据表都是根据生成的框架代码来自动创建的,从生成的DaoMaster中的OpenHelper类可以看出: public sta ...

  8. EntityFramework Core Raw SQL

    前言 本节我们来讲讲EF Core中的原始查询,目前在项目中对于简单的查询直接通过EF就可以解决,但是涉及到多表查询时为了一步到位就采用了原始查询的方式进行.下面我们一起来看看. EntityFram ...

  9. Android raw to bmp

    Android raw 格式转 bmp 图像 raw 保存的为裸数据,转换时都需要把它转成RGBA 的方式来显示.其中: 8位RAW: 四位RGBA 来表示一位灰度; 24位RAW: 三位RGB相同, ...

随机推荐

  1. (一)ByteDance编程题

    题目: 公司的程序员不够用了,决定把产品经理都转变为程序员以解决开发时间长的问题. 在给定的矩形网格中,每个单元格可以有以下三个值之一: 值0代表空单元格 值1代表产品经理 值2代表程序员 每分钟,任 ...

  2. 二叉树的遍历 &【NOIP2001普及组】& 洛谷 P1030 求先序排列

    题目链接 https://www.luogu.org/problemnew/show/P1030 模板题 先讲一下二叉树的遍历 二叉树的遍历 分类 性质 求法 分为三类: 先序遍历(PreOrder) ...

  3. IE下 checkbox、radio等标签的label中的img点击无效(点击不能选中)问题解决

    类似以下代码,点击图片不能选中checkbox <input id="dw_1" name="shape[]" value="Round&quo ...

  4. 使用spyder编译器单步调试python

    1.将需要进行单步调试的函数在脚本中进行调用(十分重要的一步).由于python是解释型语言,在进行单步调试的时候需要告诉系统你使用了这个函数,单步调试才会进入你所需要调式的函数.如下图所示,我们定义 ...

  5. STL之set(唯一且有顺序)

    set作为一个容器也是用来存储同一数据类型的数据类型,并且能从一个数据集合中取出数据, 在set中每个元素的值都唯一,而且系统能根据元素的值自动进行排序.应该注意的是set中数元素的值不能直接被改变. ...

  6. oracle序列的缓存

    在高并发的数据库系统中,序列的缓存也要相应的调大.现在看看数据库自己的一个高并发序列的定义. 当我们向数据库发送一个请求时,监听接待,然后oracle会启动一个后台进程(这个进程就是通常所说的数据库并 ...

  7. 【ACM】懒省事的小明

    懒省事的小明 时间限制:3000 ms  |  内存限制:65535 KB 难度:3   描述       小明很想吃果子,正好果园果子熟了.在果园里,小明已经将所有的果子打了下来,而且按果子的不同种 ...

  8. vue-cli中webpack配置解析

    版本号 vue-cli 2.8.1 (终端通过vue -V 可查看) vue 2.2.2 webpack 2.2.1 目录结构 ├── README.md ├── build │ ├── build. ...

  9. 转 Relinking Causes Many Warning on AIX

    SYMPTOMS Relink returns many warnings Running make for target ioracle OPatch found the word "er ...

  10. Spring集成Quartz的3种方式

    1.使用xml配置方式 Maven依赖 <properties> <!-- spring版本号 --> <spring.version>4.2.2.RELEASE& ...