if you run into the problem, that no more graphs are beeing created maybe there are too many open files
(problem seen on an Ubuntu 20.04 LTS installation)

1) find the root cause:
---------------------------------------------
check logfile:
/omd/sites/<sitename>/tmp/run/mkeventd/events/mkeventd.log.1

2024-01-11 07:22:37,880 [40] [cmk.mkeventd.StatusServer] Error handling client None: [Errno 24] Too many open files
Traceback (most recent call last):
File "/omd/sites/cb/lib/python3/cmk/ec/main.py", line 2203, in serve
client_socket, addr_info = s.accept()
^^^^^^^^^^
File "/omd/sites/cb/lib/python3.11/socket.py", line 294, in accept
OSError: [Errno 24] Too many open files


>>> the Error is: "Too many open files"


2) check how many files are allowed in the site user context
---------------------------------------------

OMD[sitename]:~$ ulimit -a |grep "open files"
open files (-n) 1024

>>> in this case 1024 files are allowed

3) fix the problem by increasing the number of files allowed
---------------------------------------------
/etc/security/limits.conf
cb soft nofile 20000

4) restart checkmk / or at least the event daemon, so that the new values take effekt


!!!!
the number of openfiles may also be specified in your cmc site >> see also:
checkmk enterprise - increase limit for open files - in your site: https://computer2know.de/checkmk-enterprise-increase-limit-for-open-files-in-your-site:::809.html

computer2know :: thank you for your visit :: have a nice day :: © 2024