CheckMK v2 – Coding own SNMP-Check Plugin

No word about CheckMK’s supplied documentation :expressionless: In this example we add some features for the included SNMP-check kemp_loadmaster_services. For whatever reason, the included check only has hardcoded thresholds, and only takes "Active Connections" into account. Besides it is not yet migrated to CMK v2.0 which we will do in this course. Plugin Structure SNMP-plugins... » weiterlesen

CheckMK v2 – Coding own Active-Check Plugin

Again CheckMK thought it’s awesome to change everything with v2.3, rename all kinds of functions etc., say somehow normal active-checks are now deprecated and still have no real documentation available – I really cannot stand why they make such mystery around their stuff. This is what I found out so far – for the "Check-File"... » weiterlesen

Check_MK – pfSense State Table Check (SNMP)

I needed a quick and dirty check for the pfSense’s "State Table" via SNMP as I sometimes have the strange problem that it gets full and then I lose internet-connection. If the thresholds are hit and I am alerted, I hope I have time to investigate what is going wrong. The Check The default values... » weiterlesen

Check MK – Check Parameters Form Fields

This is for CheckMK v1 No guarantee that I understood everything correctly. This site is not finished at all ;o) In general you set some default values in your check that should be used if no configuration via WATO was created for a service. For example there could be something like the following line nearly... » weiterlesen

Check MK – Extension Packages – wider „Packaged Files“ select boxes

Deprecated: for CheckMK v1 If you wonder how to get wider select-boxes in WATO on the „Extension Packages – Create new package“-site, you have to edit the file /omd/sites/"your-site"/share/check_mk/web/plugins/wato/mkpmanager.py – find the following section (around line 437): return Transform( DualListChoice( title = _("Packaged files"), choices = self._files_choices(), # size = 80, size = 135, rows... » weiterlesen

Check MK – Write your own active check

Deprecated: this howto works for CheckMK v1.x – For CheckMK v2 you can find a howto here Download mkp-File: check_rtmp-0.2.zip Active Check Script should return the few different states – 0, 1, 2, 3 for OK, WARN, CRIT, UNKOWN must be placed in ~/local/lib/nagios/plugins The Check_MK Plugin like always must be placed in ~/local/share/check_mk/checks and... » weiterlesen

Check MK – Write your own check

This HowTo works up to CheckMK v1.6 — A HowTo for creating a simple agent-plugin for v2.0 is available. Download mkp-File: redis-info-mkp Many thanks to Robert Sander, he was so kind to create a github-repo at https://github.com/HeinleinSupport/check_mk/tree/master/redis_info – it will be updated by him the sooner or later. 2016-12-06 – Updated this How To: If... » weiterlesen