Checkmk Raw 2.2.0p27.cre
Hi all - I’m trying to set up folder size monitoring using the Heinlein Support dir_size plugin.
The problem is that I can’t get any new service/output to show on the site GUI.
The server is running on a Debian VM, and the host I want to monitor is bare metal Proxmox (although I also tried the below on an Unraid VM).
I couldn’t find any similar posts with enough detail to help.
I have installed the plugin on the site:
I pushed the plugin agent to the host via scp using
scp local/share/check_mk/agents/plugins/dir_size root@<host_ip>:/usr/lib/check_mk_agent/plugins
On the host, I created /etc/check_mk/dir_size.cfg
, and pasted in the example from the docs on the plugin’s GitHub page, i.e.,
check_parameters = [
(("MB",300,500),ALL_HOSTS,["Size of /tmp/"]),
(("GB",300,500),ALL_HOSTS,["Size of /usr/local/"])
]
[configuration]
params (3 tuple): unit, warn and crit
[parameters]
unit (string): B for Bytes, KB for Kilobytes, MB for Megabytes, GB for Gigabytes or TB Terrabytes
warn (int or None): Warning level
crit, (int or None): Critical level
I then ran a new service discovery for the host, but nothing showed up.
Does anyone have any idea where I went wrong or what I left out?
Many thanks