大网数据广告活动
服务器运维问答

Nagios check_mk with plugins

· 52CE 我爱测

I'm working a company that has a Nagios monitoring server that was set up ages ago and there's no documents. It uses Check_MK and it seems it was installed using OMD. We want to install the following plugin to monitor our RDS ser…

问题原文

原帖链接 · Adonist · CC BY-SA 3.0

I'm working a company that has a Nagios monitoring server that was set up ages ago and there's no documents. It uses Check_MK and it seems it was installed using OMD.

We want to install the following plugin to monitor our RDS servers: https://exchange.nagios.org/directory/Plugins/Operating-Systems/*-Virtual-Environments/Others/Check_AWS_CloudWatch_metrics/details

I've tried to manually configure the files with Nagios command and the file with Host and Services but doesn't seem to work at all. We are not using NRPE either.

Anyone knows how to configure the CheckMK to use a plugin (like a script or something) for a host? Or to install those other plugins to be acceptable by CheckMK.

Thanks

已采纳解答

原帖链接 · Florian Heigl · CC BY-SA 3.0

If you need to run this on your monitored end nodes:

1) Read the documentation (that page likely exists since about 2012) https://mathias-kettner.de/checkmk_mrpe.html

2) Read the check man page.

OMD_user@host:~ $ cmk -M mrpe

3) If needed, also look into caching to avoid checking cloudwatch every minute - should you not want that. It depends on how often you want to poll the data.

http://lists.mathias-kettner.de/pipermail/checkmk-werks-lvl1/2016-January/002474.html

If you need to run this only locally on the Nagios server:

4) just define a legacy ("active") check. Described at http://mathias-kettner.com/cms_wato_services.html in section 8.2.

(I would recommend you actually read all of that page though)

5) a very deep howto in case you would need to write your own & want to add a web ui for it: http://www2.steinkogler.org/steinkogler.org/2016/08/21/check-mk-write-your-own-active-check/

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-05-19)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。