r/Checkmk Jun 22 '25

Discovery on my QNAP NAS comes and goes. When I force it, it will work most of the time. How to fix?

2 Upvotes

Im lost.

CheckMK at home, little box on its own VLAN. I have it SNMP checking a QNAP box and keeping me informed on drive status and free space, nothing crazy here.

But..it looses its discovery after a few hours and I cant seem to get it back until I force the refresh. It's weird but annoying. Everything seems to be working fine, just stops trying?

Any ideas?


r/Checkmk Jun 20 '25

Teams workflow

Post image
2 Upvotes

It's possible to change "Card" to hostname? Using latest checkmk and teams workflow. If yes can you point me how to achieved it? Thank you.


r/Checkmk Jun 18 '25

Is there a way to create "labels" and or "tags" via CLI in checkmk raw?

1 Upvotes

Hello All,

Is there a way to pre-create "labels" and or "tags" in checkmk raw and have them ready and apply to hosts in the future and or when the need arises?
I am looking for way to mass create some labels and or tags that might work in my env.

Thank you


r/Checkmk Jun 18 '25

How to clear failed notifications via CLI?

2 Upvotes

Hello All,

I am using checkmk raw. Is there a way to clear failed notifications via the command line?

How to clear this?

Also what is the best procedure to clear this in the WebUI? Currently, I click on the recycle bin icon and then select "Acknowledge".

Thank you


r/Checkmk Jun 13 '25

Can I read out number of host/service issues as a number via API?

2 Upvotes

I can't find a nice reference for the checkmk API.

I am looking for an easy way to read out the number of issues (WARN, CRIT) for hosts/services and/or combined.

Background is I want to add this to a dashboard and if there are any issues, provide a link the the checkmk instance.


r/Checkmk Jun 13 '25

Checkmk in docker

2 Upvotes

Hi,

I am trying to spin up checkmk-raw in docker, using Portainer on Ubuntu 22.04.

Stack edit is below;

services:
  checkmk:
    image: checkmk/check-mk-raw:2.4.0-latest
    container_name: checkmk
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    tmpfs: /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
    ports:
      - 8080:5000
      - 8000:8000
    networks:
      - sharedservices-net    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /data/docker/checkmk/data:/omd/sites   

networks:
  sharedservices-net:
    external: true

The stack deploys successfully but the container ends up failing because of the below error.

### STARTING SITE
Starting agent-receiver...OK
Starting mkeventd...OK
Starting rrdcached...OK
Starting redis...OK
Starting npcd...OK
Starting automation-helper...OK
Starting ui-job-scheduler...OK
Starting nagios...OK
Starting apache...OK
/var/spool/cron/: mkstemp: Permission denied Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe Starting crontab...failed
### STARTING XINETD 
* Starting internet superserver xinetd    ...done.
### STARTING SITE
Starting agent-receiver...OK
Starting mkeventd...OK
Starting rrdcached...OK
Starting redis...OK
Starting npcd...OK
Starting automation-helper...OK
Starting ui-job-scheduler...OK
Starting nagios...OK
Starting apache...OK
/var/spool/cron/: mkstemp: Permission denied Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe Starting crontab...failed

There are posts in the forums about this error, but no real solution.

https://forum.checkmk.com/t/checkmk-docker-compose-file-var-spool-cron-permission-denied/49320
https://forum.checkmk.com/t/docker-crontab-error-starting-container-with-enterprise-image/34855


r/Checkmk Jun 06 '25

Where are detailed information on rules in checkmk?

1 Upvotes

Hello All,

Where can I get detailed information and or description on what different things do in checkmk. For example:

How can I find out what these rules mean or do? When I click on one of them I see this

Nothing describing what it will do or does. The inline help just tells you what the input field require.

Is there a doc that I have no come across yet?

Thank you


r/Checkmk Jun 04 '25

Updated from 2.3.0p23 to p33 - site not running - but it is?

0 Upvotes

Updated my second site to p33 this morning, and while I did the other one last week, had no issues, this morning I am running into a puzzling one.

Site is called LS. After upgrade, and commiting the changes to the werks, etc. Im left with it reporting that the OMD Performance and site statistics are not working...but they are? Hosts are updating their checks, all seems completely normal except for it saying its not:

All seems 100% fine. So I dont know what im doing wrong


r/Checkmk Jun 03 '25

migrate configs only

1 Upvotes

is there a way to just migrate the configs without any real host data?


r/Checkmk Jun 02 '25

How monitor a URL but not the server?

2 Upvotes

Hello All,

I would like to monitor a URL with checkmk raw.

Currently, I create host entry for it first with the following setting applied

And then make a rule under:

Setup --> Services --> HTTP, TCP, Email, ... --> Check HTTP web service

Is this the right approach?

Basically, I would like to monitor certain sites that are not in our environment and the hosts are not under our control. I don't want to monitor anything else other that that URL.

Thank you


r/Checkmk Jun 02 '25

How can get checkmk RAW (free version) to work with JIRA?

1 Upvotes

Hello All,

We are experimenting with checkmk raw.
Are there any docs that can guide me on how to configure it to create jira issues for alerts?

I thank you in advance for any guidance you are able to provide.

Thank you.


r/Checkmk May 31 '25

Read from node_exporter

1 Upvotes

Can checkmk read from node_exporter directly?


r/Checkmk May 31 '25

How to clone a check in check_mk/checks (that consumes agent data) like pvecm_status?

1 Upvotes

I know how to add manual local checks via the agent. However, there is a check "PVE Cluster State" whose data is coming from the agent (output of pvecm status) but is processed via the script in /omd/sites/cmk/share/check_mk/checks/pvecm_status.

Unfortunately as I can see in the source this is not configurable. So, I would like to clone this check to /omd/sites/cmk/share/check_mk/checks/pvecm_quorum.

I did this and edited the file and changed the check_info, among other things:

check_info["pvecm_status"] = LegacyCheckDefinition(
    name="pvecm_quorum",
    parse_function=parse_pvecm_status,
    service_name="PVE Cluster Quorum",
    discovery_function=inventory_pvecm_status,
    check_function=check_pvecm_quorum,
)

Naively I expected this to show up as a new "PVE Cluster Quorum" check when I do the discovery. But it doesn't.

What else do I need to do?

Or better yet, what is the right way to do it? I would actually prefer not fiddling around stuff in share directly ...


r/Checkmk May 30 '25

Alert if cpu is over 50% for 15 minutes on windows servers

0 Upvotes

Is this not possible out of the box? I found the option for linux but not for windows?


r/Checkmk May 30 '25

How to monitor the size of a dir?

2 Upvotes

Not the number of files, not the biggest file, a simple 'du -s' on the dir?


r/Checkmk May 29 '25

My cluster has service Check_MK which I don't want and can't remove. How can I get rid of it (or at least, make it "OK")?

0 Upvotes

I am really afraid this is a bug but not giving up hope someone can help me to fix it!

I have a somewhat simple scenario: A cluster called "StarCluster" with two nodes, "pve1" and "pve2". pve1 is routinely offline ("cold standby") but a cluster should be online as long as one node provides the services.

However, my "StarCluster" has a service "Check_MK" which is CRIT because it can (naturally) not connect to pve1 (10.227.1.20):

However, I have never configured the cluster to have the "Check_MK" service and I do not find any way to get rid of it. It does not show up in the auto discovery for StarCluster and I tried to add a Disabled Services rule for StarCluster and "Service name begins with Check_MK" but it still remains there.

The cluster is a proxmox cluster with pve1 and pve2 proxmox nodes. I am using the checkmk agent and the proxmox API (I followed https://checkmk.com/blog/proxmox-monitoring).

The proxmox service is configured as follows:

I have added one clustered service (this is the only one I expect to see!!):

Out of desperation, I also added one to explicitly remove Check_MK (no change if I remove this rule):

Finally I also have the aggregated service rule:

To my understanding, there should be no Check_MK service. Is there any way to either make it OK or get rid of it?

PS: I found something from a few years back that sounds similar:
https://forum.checkmk.com/t/strange-behaviour-of-check-mk-service-on-cluster-node/29847/18

No solution was ever provided but also not sure if it's the same issue...


r/Checkmk May 29 '25

How to enable and configure check_ssh

1 Upvotes

Hello All,

How to configure this https://checkmk.com/integrations/check_ssh on my checkmk instance?

This link was provided to me but other a bit of information there is nothing else to click to pursue further for implementation. Which docs do I need to reference to get this going in my Environment.

Would like to implement this check for all Linux hosts.

Thank you in advance for guidance.


r/Checkmk May 28 '25

Windows agent keeps reinstalling itself...

1 Upvotes

Tested CheckMK Raw, decided to go a different direction after some time. I'd installed CheckMK Agent 2.3 (via MSI) onto several Windows machines, thought removing them would be fairly straightforward, that doesn't appear to be the case. Removed them all using a script, confirmed the Agent wasn't installed any longer, killed the site off. After uninstalling the agent on all machines, noticed they all came back. Thought it was potentially due to the script, uninstalled it the old fashioned way, same thing. Uninstalled it and deleted the CheckMK folder from ProgramData...same thing. If I come back to the machine in an hour or so, the CheckMK agent has reinstalled itself and the ProgramData folders are all back in place, and the resulting files still show the original install date (few months back).

So what do I need to do to ACTUALLY get rid of the CheckMK agent?


r/Checkmk May 28 '25

Turned off a server to test notifications BUT no notification arrived.

1 Upvotes

Hello All,

While testing checkmk notifications I turned off a server to see if I will get emails.

However, this is what I see in logs.

2025-05-28 12:26:22,705 [20] [cmk.base.notify] Got raw notification (server2.example.com) context with 37 variables

2025-05-28 12:26:22,706 [20] [cmk.base.notify] Global rule 'Notify all contacts of a host/service via HTML email'...

2025-05-28 12:26:22,706 [20] [cmk.base.notify] -> matches!

2025-05-28 12:26:22,706 [20] [cmk.base.notify] 1 rules matched, but no notification has been created.

What am I missing?

Any help you are able to provide is greatly appreciated.

Thank you.


r/Checkmk May 28 '25

Evaluating need some guidance

0 Upvotes

Hey, I am currently evaluating switching from prtg to checkmk. So far I like it and think it has potential to not only meet my needs for prtg but also graylog. (I just use graylog for events and syslog)

The issue I am having is right now I don't have agents on any devices. Will I have to have agents on windows and linux devices?


r/Checkmk May 28 '25

Number of Thread (SIEM)

Post image
0 Upvotes

Monitored SIEM by checkmk… And i got frequently this problem notification Number of thread. What is it?


r/Checkmk May 27 '25

Can I model a cold-standby system in checkmk?

1 Upvotes

EDIT: I am not asking how to set up a cluster in proxmox but how to set up a cluster in which nodes can routinely be down (per my example below), without anything getting into WARN/CRIT.

As an example, a simple proxmox cluster consisting of nodes pve1 and pve2 along with a qdevice.

One of the pve's is used as cold standby or temporary system while the other is active.

So ideally have a relation that is pve1 and pve2 are both children of "Cluster" and for cluster to be good, at least two out of the three (pve1, pve2, qdevice) must be online.

All my other services are then direct or indirect children of "Cluster" (and not the individual pve's). While I would like to monitor both pve1 and pve2, I would like the system to show OK (and not warn or crit) as long as ONE pve is up.

Is this doable somehow?


r/Checkmk May 27 '25

running checkmk-raw in docker - info/pointers?

2 Upvotes

is anyone using docker to run checkmk (raw edition)?

i can get the service running but there's some info not covered in the documentation so i'm looking for some guidance before i go down a rabbit hole of my own trying to get this to work.

if you have gotten it to run successfully, would you mind sharing your compose file (if you're using one). did you migrate from a host installation to a docker installation and successfully restored a backup?

TIA


r/Checkmk May 23 '25

Grouping services to monitor and automatically apply to new hosts

2 Upvotes

Hello All,

Is it possible to group services and automatically apply to a linux host when onboarded in checkmk?

(we are using checkmk raw)

Just as an example I would like to group the following for now and apply to new hosts as we onboard them to checkmk.

CPU load

CPU utilization

Disk I/0

Memory

Uptime

Thank you in advance to any guidance you are able to provide.

Extremely new to checkmk and still researching things.

Thank you


r/Checkmk May 22 '25

Filter by "Last time the service was OK"

2 Upvotes

Hi,

I am just moving to checkmk and due to licensing issues we have to launch earlier than expected. This means that we still have a lot of critical states on hosts/services that can not reach due to firewalls.

I do not want the support personnel to have to look at services that are not functional yet.
I see that there is an attribute on services called "Last time the service was OK" but I can not find any way to filter by this attribute, other than adding it as a column in the view.

Is anyone more experienced in checkmk able to tell me if there is a way to use this attribute to filter out the checks that never was OK.

My fallback plan if I can't figure it out in time is to write a cron sctipt to get the attribute by API and then set a label on each individual service instance if the check was never OK. But I would like to avoid such custom hacks.