Überwachen mit Check_MK
http://mathias-kettner.de/checkmk_monitoring_system.html
http://mathias-kettner.de/checkmk.html
http://mathias-kettner.de/checkmk_check_catalogue.html
http://mathias-kettner.de/screencasts.html
http://mathias-kettner.de/checkmk_vsphere.html
Um Windows Systeme zu überwachen, kann man sich der check_mk_agent.exe von Matthias Kettner bedienen. Das Windows Binary befindet sich in der OMD Instanz unter
/omd/versions/{version}/share/check_mk/agents/windows
.
http://www.tiri.li/journal/omd-check-mk-agent-unter-windows
prod/check_mk/omd/versions/1.20/share/check_mk/agents/
Installing the Agent manually
The check_mk agent for Linux consists of only two files: a shell skript called check_mk_agent.linux and a configuration file for xinetd.conf, both of which can be found in the subdirectory agents. xinetd is an improved version of the classical inetd and a is available or even standard on most current linux distributions.Alternatively you can use the classical inetd, but this documentation focusses on xinetd.
Please install the file check_mk_agent.linux on your target host as /usr/bin/check_mk_agent (drop the .linux). You should be able to execute the agent simply by calling it from the command line. It can be run as non-root user, but some diagnostic information can only be retrieved if it is run as root. The output of check_mk_agentlooks like this (abbreviated):
In Verzeichnis mit agents wechseln
cd /opt/omd/versions/1.20/share/check_mk/agents
cd /opt/omd/versions/1.20/share/check_mk/agents
cd ..
scp -r agents root@192.168.1.81:/tmp/
cp check_mk_agent.linux /usr/bin/check_mk_agent
Test:
[root@localhost agents]# check_mk_agent
<<>>
Version: 1.2.4p5
AgentOS: linux
PluginsDirectory: /usr/lib/check_mk_agent/plugins
LocalDirectory: /usr/lib/check_mk_agent/local
SpoolDirectory: /etc/check_mk/spool
AgentDirectory: /etc/check_mk
You should also install the file waitmax on your target host as e.g. /usr/bin/waitmax. This file is not mandatory, but really needed by the agent code of some checks like the nfsmounts, ipmi_sensors, ntpq, nvidia and cups_queues.
cp waitmax /usr/bin/waitmax
The configuration of Xinetd is simple: Copy the file xinetd.conf into /etc/xinetd.d and rename it do check_mk:
cp xinetd.conf /etc/xinetd.d/check_mk
Firewall
http://mathias-kettner.de/checkmk_linuxagent.html
———
These plugins can be installed in the plugins directory of the Linux agent
in /usr/lib/check_mk_agent/plugins/. Please only install the plugins that
you really need.
http://mathias-kettner.de/checkmk_check_lvm_vgs.html
Kommentare