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. UICollectionView的基本使用 collectionView

    #pragma mark -- 创建CollectionView - (void)createCollectionView{ //关闭自适应 self.automaticallyAdjustsScro ...

  2. [Android UI]View滑动方式总结

    一.前言 在上一篇文章,介绍了View的坐标等基础知识,有了基础知识后,对下面内容的理解也将会容易很多.那么本文介绍的是View滑动的几种方式,这对于View来说,也是需要重要掌握的内容,因为用户无时 ...

  3. day_04 列表

    1. 列表list 能装对象的对象,有序的(按照我们存放的顺序) 以[]表示,里面可以存放大量各种元素,各个元组用逗号隔开 列表也具有索引和切片 2. 列表的增改删查 1. 增 1.append() ...

  4. ButterKnife 8.4注入失败

    1,第一步:项目的gradle中增加 classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'buildscript { repositor ...

  5. Jenkins自动化CI CD流水线之6--构建邮件状态通知

    一. 前提 前提: 服务器开启邮箱服务: 二. 基础配置 需要安装一个插件: 插件: Email Extension Plugin 进行配置: 系统管理->系统设置-> 相关配置如下图: ...

  6. LeeCode(No2 - Add Two Numbers)

    LeeCode是一个有意思的编程网站,主要考察程序员的算法 第二题: You are given two non-empty linked lists representing two non-neg ...

  7. linux下FTP服务搭建(1)

    1.FTP介绍: FTP (File Transfer Protocol,文件传输协议)主要用来文件传输,尤其适用于大文件传输,提供上传下载功能 FTP官方网站:https://filezilla-p ...

  8. 转 RMAN-20005: target database name is ambiguous

    发生的这个错误的由于: 在RMAN CATALOG中,register了一个name叫test的数据库,后来这个库被我搞坏了.就重建了一个test的数据库,名称没有更改,又重新register到RMA ...

  9. 工作ui(2)

    做完整个小Demo整理的一些方法和踩过的miniUI的坑,分享出来希望大家批评指正,共同进步. 1.动态创建列:尽量不要直接在html文件里创建列,动态设置在js文件里方面添加.修改等. 首先把列定义 ...

  10. java 静态变量生命周期(类生命周期)(转)

    Static: 加载:java虚拟机在加载类的过程中为静态变量分配内存. 类变量:static变量在内存中只有一个,存放在方法区,属于类变量,被所有实例所共享 销毁:类被卸载时,静态变量被销毁,并释放 ...