qmexnetworks / cmk-pusher-agent

Push Agent for Check_MK
6 stars 2 forks source link

CMK Pusher

CMK Pusher is a passive push agent extension for Check_MK. At the moment it Linux and Windows. The Windows Agents connects directly with the Check_MK Agent via localhost. This enables Logile Monitoring in Windows.

It uses a PHP JSON API for Communication. If setup correctly all communication will use HTTPS so all Data is SSL Encrypted. Also its possible to use Client based compression.

Installation API (Check_MK Server side)
Installation CheckMK Check

This check is optional, with this check there is a freshness check possible.

Installation Linux Agent
Installation Windows Agent (not more than Beta at the moment) - Option 1 Python Way
Installation Windows Agent (not more than Beta at the moment) - Option 2 EXE Way
Check_MK Configuration

The easiest way is to create a new tag. For example under agent you can add CMK Pusher withe the tag cmk-pusher. Now add a Datasource Program (eg. in WATO under Individual program call instead of agent access) and add the following line:

cat /opt/cmk-pusher/spool/<HOST>.dump

At the moment this is a very cheap Solution and will be extended eg. with Freshness Check in the near Future. After a few Minutes you should have Data in Check_MK for a Service Discovery.

For Windows Agents you should create a Rule for "System Time" and extend the times for Warning and Critical