Questions tagged [check-mk]

Check_MK is an extension to the Nagios monitoring system that allows creating rule-based configuration using Python and offloading work from the Nagios core to make it scale better, allowing more systems to be monitored from a single Nagios server.

is a comprehensive, open-source addon for the monitoring software . The extension is offloading work from the Nagios core to make it scale better, allowing more systems to be monitored from a single Nagios server. You can integrate into your existing Nagios/Icinga environment.

simplifies the configuration and makes monitoring with Nagios much more efficient.

is fully open source and available under the terms of the GNU GPL.

85 questions
1
vote
1 answer

check_mk "State and count of processes" rule threshold values

I'm trying to turn a Nagios-NRPE check into a Check_MK one. The first one is: check_procs -w 10 -c 15 -C crond My attempt is to use the State and coung processes rule but it always raise a critical alert. The parameters of my rule are (extracted…
Jdamian
  • 3,015
  • 2
  • 17
  • 22
1
vote
1 answer

Check_MK - Custom check params specified in wato not being given to check function

I am working on a check_mk plugin and can't seem to get the WATO specified params passed to the check function when it runs for one check in particular... The check param rule shows in WATO It writes correct looking values to rules.mk Clicking…
Weston Boone
  • 345
  • 2
  • 3
  • 12
1
vote
1 answer

How to use Check_MK and logwatch to monitor multiple log files as one service?

I'm trying to use Check_MK's logwatch to send a critical alert (C) if a given pattern (e.g., EOFException) is found in a large number (~1000) of Jenkins log files. For this, I have created the following simple logwatch.cfg…
dokaspar
  • 8,186
  • 14
  • 70
  • 98
1
vote
1 answer

Check_MK - cannot monitor JMX

We have Check_MK monitoring installed. The Check_mk agent installs automatically when I add a host to the Check_MK GUI. Because of this there is no main.mk installed /etc/check_mk on the added hosts. Question: Do I have to manually add…
juliand
  • 23
  • 5
1
vote
1 answer

Check_MK - configuring legacy check

I am running OMD 1.20 -latest according to official website, Check_MK 1.2.4p5 community edition on an Ubuntu 14.04.3 LTS machine. I need to configure a FTP check that will check also the credentials and reading/writing a file. The standard plugins…
anarchist
  • 383
  • 2
  • 5
  • 18
1
vote
1 answer

Check_MK 'Global Settings' error

I have installed OMD with Check_MK yesterday and everything worked fine. Now when I go to the Check_MK web UI and click on the Global Settings I am getting an error saying: Error running Check_MK --automation get-configuration --. Invalid output…
Sergiu
  • 2,928
  • 3
  • 27
  • 37
1
vote
0 answers

Transfer contact groups from Nagios to Check_MK

I have Nagios installed with proper configuration files. I have created some contact groups and assign them to hosts. For web UI I'm using Check_MK, which is a great Nagios plugin. And here's the question: Check_MK supports showing hosts/services…
1
vote
0 answers

Python Non-ASCII character '\x8b' in file - on line 1

I'm setting up one monitoring system that uses scripts made in python. ( just for info its OMD linux distribution with check_mk). Anyway, this is the script that I want to use #!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- #…
1
vote
1 answer

Installing local checks for Check_MK's agent

I'm trying to write local checks for a Check_MK instance on a computer with OMD installed. I don't have admin rights on this machine, so I work as an OMD site like this: sudo omd su $MY_SITE And, like my standard user, the site user does not have…
Daniel Lee
  • 2,030
  • 1
  • 23
  • 29
1
vote
1 answer

Nagios/Check_MK: How to see effective object definition

In Nagios (or check_mk), is there a way to see what the final effective object (e.g. host) definition is after all templates, inheritance, etc.? I want to use this as a test/debug tool to make sure my definitions end up as intended, and also to…
0
votes
1 answer

Error message trying to run a python script

We are trying to run a python script in my new check-mk 2.1 enterprise, that script is running in my old check-mk server (v 1.5 raw edition), we upload the file to the server, the script is to create a service in a host, the service appears at the…
0
votes
0 answers

How do I monitor a pod exposing an http endpoint on eks with checkmk 2.2?

I’ve deployed checkmk as a pod on an EKS cluster A and I’m using it to monitor both EKS cluster A and B (on which I’ve successfully deployed the checkmk collectors). All deployed pods have been conveniently auto discovered out of the box. When I…
Yiannis
  • 11
  • 2
0
votes
0 answers

CheckMK 2.1 - Missing Export to JSON

I've updated CheckMK from 2.0 to 2.1 and seems like the graph_export.py view has been removed. I used it to get grapha json data. From interface, the export options is missing too (image from 2.0). I've read something about an endpoint in OpenAPI…
EviSvil
  • 510
  • 3
  • 21
0
votes
0 answers

CheckMK Alert Handler Logging Error - Alert Handlers are triggering but not running the script

CMK version: Checkmk Enterprise Edition 2.1.0p28 OS version: Ubuntu 20.04.6 LTS Error message: — Logging error —\nTraceback (most recent call last):\n File “/omd/sites/Site01/lib/python3/cmk/base/events.py”, line 112, in event_keepalive\n…
Quinn Favo
  • 78
  • 7
0
votes
0 answers

How to restrict (Cloudflared or any ) Docker container any access to host network except internet gateway

I am running a Checkmk container alongside a Cloudflared Tunnel container in a docker-compose on my WSL. As of now the tunnel is configured to point from my subdomain to the Checkmk container and makes it available to the outside world. Only problem…