Git Product home page Git Product logo

check-mk-arm's People

Contributors

chrisss404 avatar crabemho avatar martux69 avatar robertoswald avatar tronde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

check-mk-arm's Issues

get it work witch stretch

I added under this lines:
cp packages/snap7/snap7-full-${SNAP7_VERSION}/build/unix/arm_v6_linux.mk packages/snap7/snap7-full-${SNAP7_VERSION}/build/unix/armv6l_linux.mk
ln -s arm_v6-linux packages/snap7/snap7-full-${SNAP7_VERSION}/build/bin/armv6l-linux
this two lines:
cp packages/snap7/snap7-full-${SNAP7_VERSION}/build/unix/arm_v7_linux.mk packages/snap7/snap7-full-${SNAP7_VERSION}/build/unix/armv7l_linux.mk
ln -s arm_v7-linux packages/snap7/snap7-full-${SNAP7_VERSION}/build/bin/armv7l-linux

so get it work witch stretch.
May this helps someone

Can't install .deb on Ubuntu 22.04 VM, MacBook M1

When doing dpkg -i on the deb file, i get the dependency error.

This is the error when I execute apt-get install -f

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  check-mk-raw-2.0.0p24
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 541 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 183744 files and directories currently installed.)
Removing check-mk-raw-2.0.0p24 (0.impish) ...
needrestart is being skipped since dpkg has failed```

No issue just a question

Hi @chrisss404 ,

I think you work with the Check_MK on Raspberry Pi is awesome.
Was wondering what OS are you using on the RPI, also have you benchmarked it?
Meaning amount of services you are able to run on it before it's crashing.

Thanks again for awesome project.

//Dasmonk

Need Help - S905W Device - Armbian - Debian Bullseye and Buster

if i follow your installation instructions i get the following errors, if in the last command i agree it removes the whole armbian environment after that checkmk doesn't work either, do you have an idea why? i'm desperate - i just want to have pihole and checkmk running on it :(

The Box:
A95X F1 - Amlogic S905W
_ __ __ _ ____ ___
/ \ | / | | / |/ _ _ ____ ____ __
/ _ \ | |/| | | __ \ () \ / /\ / /\ / /
/ ___ | | | | |
||) _, |> < > < > <
/
/ __| |_|
__| |/ ////_//_//_\

Welcome to Armbian bullseye with Linux 5.5.0-rc6-aml-s9xxx
root@LBOX:# cat /etc/issue
Armbian 20.02.0-rc1.038 Bullseye \l
root@LBOX:
# uname -r
5.5.0-rc6-aml-s9xxx
root@LBOX:~# uname -a
Linux LBOX 5.5.0-rc6-aml-s9xxx #rc1.038 SMP PREEMPT Thu Feb 6 09:49:22 MSK 2020 aarch64 GNU/Linux

root@LBOX:# curl -LO $(curl -s https://api.github.com/repos/chrisss404/check-mk-arm/releases/latest | grep browser_download_url | cut -d '"' -f 4)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 631 100 631 0 0 1894 0 --:--:-- --:--:-- --:--:-- 1894
100 74.5M 100 74.5M 0 0 8450k 0 0:00:09 0:00:09 --:--:-- 9.8M
root@LBOX:
# dpkg -i check-mk-raw-*_armhf.deb
Vormals nicht ausgewähltes Paket check-mk-raw-1.6.0p10:armhf wird gewählt.
(Lese Datenbank ... 35363 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von check-mk-raw-1.6.0p10_0.buster_armhf.deb ...
Entpacken von check-mk-raw-1.6.0p10:armhf (0.buster) ...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von check-mk-raw-1.6.0p10:armhf:
check-mk-raw-1.6.0p10:armhf hängt ab von time.
check-mk-raw-1.6.0p10:armhf hängt ab von traceroute.
check-mk-raw-1.6.0p10:armhf hängt ab von dialog.
check-mk-raw-1.6.0p10:armhf hängt ab von dnsutils.
check-mk-raw-1.6.0p10:armhf hängt ab von graphviz.
check-mk-raw-1.6.0p10:armhf hängt ab von apache2.
check-mk-raw-1.6.0p10:armhf hängt ab von libdbi1.
check-mk-raw-1.6.0p10:armhf hängt ab von libevent-2.1-6.
check-mk-raw-1.6.0p10:armhf hängt ab von libgd3.
check-mk-raw-1.6.0p10:armhf hängt ab von libltdl7.
check-mk-raw-1.6.0p10:armhf hängt ab von libpango1.0-0.
check-mk-raw-1.6.0p10:armhf hängt ab von libperl5.28.
check-mk-raw-1.6.0p10:armhf hängt ab von libreadline7.
check-mk-raw-1.6.0p10:armhf hängt ab von libuuid1.
check-mk-raw-1.6.0p10:armhf hängt ab von binutils.
check-mk-raw-1.6.0p10:armhf hängt ab von rpm.
check-mk-raw-1.6.0p10:armhf hängt ab von php.
check-mk-raw-1.6.0p10:armhf hängt ab von php-cgi.
check-mk-raw-1.6.0p10:armhf hängt ab von php-cli.
check-mk-raw-1.6.0p10:armhf hängt ab von php-gd.
check-mk-raw-1.6.0p10:armhf hängt ab von php-sqlite3.
check-mk-raw-1.6.0p10:armhf hängt ab von php-pear.
check-mk-raw-1.6.0p10:armhf hängt ab von smbclient.
check-mk-raw-1.6.0p10:armhf hängt ab von rpcbind.
check-mk-raw-1.6.0p10:armhf hängt ab von lcab.
check-mk-raw-1.6.0p10:armhf hängt ab von xinetd.
check-mk-raw-1.6.0p10:armhf hängt ab von libfreeradius3.
check-mk-raw-1.6.0p10:armhf hängt ab von libpcap0.8.
check-mk-raw-1.6.0p10:armhf hängt ab von libgsf-1-114.
check-mk-raw-1.6.0p10:armhf hängt ab von libglib2.0-0.
check-mk-raw-1.6.0p10:armhf hängt ab von poppler-utils.
check-mk-raw-1.6.0p10:armhf hängt ab von libffi6.
check-mk-raw-1.6.0p10:armhf hängt ab von libssl1.1.
check-mk-raw-1.6.0p10:armhf hängt ab von libpq5.
check-mk-raw-1.6.0p10:armhf hängt ab von libnl-3-200.

dpkg: Fehler beim Bearbeiten des Paketes check-mk-raw-1.6.0p10:armhf (--install):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für systemd (244.3-1) werden verarbeitet ...
Trigger für man-db (2.9.1-1) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
check-mk-raw-1.6.0p10:armhf
root@LBOX:~# apt-get install -f
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
apt-file distro-info-data gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 iso-codes libapt-pkg-perl libbind9-161 libdns1104 libdns1109 libexporter-tiny-perl libfstrm0 libgeoip1
libgirepository-1.0-1 libiptc0 libirs161 libisc1100 libisc1105 libisccc161 libisccfg163 liblist-moreutils-perl liblmdb0 liblwres161 libmaxminddb0 libmpdec2 libpackagekit-glib2-18
libprocps7 libprotobuf-c1 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libpython3.8-minimal libpython3.8-stdlib libregexp-assemble-perl python-apt-common python3.7
python3.7-minimal
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
apache2-utils libapr1 libaprutil1 libfribidi0
Die folgenden Pakete werden ENTFERNT:
armbian-config bind9-host check-mk-raw-1.6.0p10:armhf command-not-found dialog dnsutils iotop linux-bullseye-root-current-aml-s9xxx lsb-release networkd-dispatcher python3
python3-apt python3-dbus python3-distro-info python3-gi python3-minimal python3-pycurl python3-software-properties python3.8 python3.8-minimal software-properties-common
unattended-upgrades
Die folgenden NEUEN Pakete werden installiert:
apache2-utils libapr1 libaprutil1 libfribidi0
0 aktualisiert, 4 neu installiert, 22 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen 488 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 427 MB Plattenplatz freigegeben.
Möchten Sie fortfahren? [Y/n]

dpkg-buildpackage: error

Hello;
Thank you for the scripts. I use an Odroid C2 (aarch64).
When trying to compile check-mk-raw-2.0.0p8 for Ubuntu 20.04, I get an error. Can you pls help me ?

/opt/build-mk/check-mk-raw-2.0.0p8.cre/omd/build/intermediate_install/Python-3.8.7/lib/python3.8/lib-dynload/xxlimited.cpython-38-aarch64-linux-gnu.so: RUNPATH=/omd/versions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/lib
/opt/build-mk/check-mk-raw-2.0.0p8.cre/omd/build/intermediate_install/Python-3.8.7/lib/python3.8/lib-dynload/xxlimited.cpython-38-aarch64-linux-gnu.so: new RUNPATH: /omd/versions/2.0.0p8.cre/lib
/opt/build-mk/check-mk-raw-2.0.0p8.cre/omd/build/intermediate_install/Python-3.8.7/lib/python3.8/lib-dynload/zlib.cpython-38-aarch64-linux-gnu.so: RUNPATH=/omd/versions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/lib
/opt/build-mk/check-mk-raw-2.0.0p8.cre/omd/build/intermediate_install/Python-3.8.7/lib/python3.8/lib-dynload/zlib.cpython-38-aarch64-linux-gnu.so: new RUNPATH: /omd/versions/2.0.0p8.cre/lib
sed -i 's|--rpath,/omd/versions/[^/]*/lib|--rpath,/omd/versions/2.0.0p8.cre/lib|g' \
    /opt/build-mk/check-mk-raw-2.0.0p8.cre/omd/build/intermediate_install/Python-3.8.7/lib/python3.8/_sysconfigdata__linux_x86_64-linux-gnu.py
sed: can't read /opt/build-mk/check-mk-raw-2.0.0p8.cre/omd/build/intermediate_install/Python-3.8.7/lib/python3.8/_sysconfigdata__linux_x86_64-linux-gnu.py: No such file or directory
make[1]: *** [packages/Python3/Python3.make:50: /opt/build-mk/check-mk-raw-2.0.0p8.cre/omd/build/stamps/Python-3.8.7-cache-pkg-process] Error 2
make[1]: Leaving directory '/opt/build-mk/check-mk-raw-2.0.0p8.cre/omd'
make: *** [debian/rules:42: install] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage --rules-target build-arch -rfakeroot -us -uc -ui -i.git -I.git -i.gitignore -I.gitignore failed
make[1]: *** [Makefile:278: deb] Error 2
make[1]: Leaving directory '/opt/build-mk/check-mk-raw-2.0.0p8.cre/omd'
make: *** [Makefile:98: deb] Error 2

Raspberry self-check "OMD %sitename% performance" crashes on 1.6.0p5/Buster

Just tried the sources on latest Buster release, and added the monitoring host itself, after installing the agent-package.

It crashes on that check

"OMD %sitename% performance"

with

"ValueError (invalid literal for int() with base 10: '')"

Other checks run fine though. That points to something wrong with the python-version, but I don't really know.

Any hints?

Not an issue but more of understanding

I am trying to build the package for Raspberry Pi 4.
I used the below code(as suggested) to build the final package myself on my Ubuntu 20.04 laptop(amd64) and ran it as root:

$ bash build_gcc.sh
# install dependencies and build Checkmk
$ INSTALL_DEPENDENCIES=1 bash build_check_mk.sh 1.6.0.p19

After the build script was complete, I got the final package as check-mk-raw-1.6.0p19_0.bionic_amd64.deb instead of check-mk-raw-1.6.0p19_0.bionic_arm64.deb ? Can you please tell me where I am wrong ?

Package 2.0.0p21 for buster 32 bits

Hello,

using chekmk professionally, I am now retired and now use checkmk, on a Raspberry Pi 4, for my small personal network, thanks for your packages. If I understand correctly, you no longer build packages for 32-bit buster ?

So I tried to build the packages through your scripts. For information, these packages are available [ici], (https://github.com/sergiodadi/check-mk-raspberry), this may be of interest to other people.

I upgraded from checkmk 2.0.0p17 to 2.0.0p21 on 2 differents Raspberry and everything was OK.

By the way, do you plan to build packages for 64-bits bulleyes?

Thanks again for your work

Serge

[ARM64/ M1] Error starting Nagios & other services

Hi!

Sorry for bothering this repo with this question.
I'm trying to run the CheckMk monitoring on my Macbook Pro with an M1 CPU.

Since it's arm-based I thought that the docker image that you guys have made would work.
But I'm getting some errors that I can share a couple of screenshots of.

I use checkmk for my work and would like a "demo" environment locally for testing new stuff.

I'm up for sharing logs and help all that I can to get this to work.

Thanks in advance!
Br. Simon
image
image

Missing armv7l_linux.mk

I get:

make[3]: armv7l_linux.mk: Datei oder Verzeichnis nicht gefunden
make[3]: *** Keine Regel, um �armv7l_linux.mk� zu erstellen. Schluss. make[3]: Verzeichnis �/home/pi/make_check_mk/check-mk-raw-1.4.0p21.cre/packages/snap7/snap7-full-1.3.0/build/unix� wird verlassen
Makefile:23: die Regel f�r Ziel �build� scheiterte
make[2]: *** [build] Fehler 2
make[2]: Verzeichnis �/home/pi/make_check_mk/check-mk-raw-1.4.0p21.cre/packages/snap7� wird verlassen
Makefile:83: die Regel f�r Ziel �build� scheiterte make[1]: *** [build] Fehler 2 make[1]: Verzeichnis �/home/pi/make_check_mk/check-mk-raw-1.4.0p21.cre� wird verlassen
debian/rules:24: die Regel f�r Ziel �build-stamp� scheiterte
make: *** [build-stamp] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2

Any idea?

Thx!

check_mk and pi-hole

I was trying to use check_mk and pi-hole on the same RPi3 3B+, but it looks like they don't like each other.

I played a bit with the lighttpd conf etc. but it seems either one or the other breaks or atleast the web-gui.

Do you have any experience with that? Could check_mk be made compatible? Is there even enough power on a RPi3 B+ to make both work simultaneously?

No services in host view using check-mk-raw-1.5.0p4_0

Hi,

I just installed your latest version check-mk-raw-1.5.0p4_0.stretch_armhf.deb on my Raspberry pi 2. As OS I am using Raspbian Strech Lite.

So far the installation went fine, sites are running and I also installed the agent on some test servers running Ubuntu 16.04. All services were detected with auto discovery and added.

But something is wrong with the service views. If I go to the "All host" section I can see my servers and the overview, how many services are OK, WARN, etc. But if I click on a host, the service view is emtpy. Only for the localhost the view is working. There I can see all services.
But if I go to Main Overview and click under "Service Statistics" on OK, or Total, I get a complete overview of my services, sort by host (same if I go to "All services".
I was not able to find the problem and installed your version check-mk-raw-1.4.0p35_0.stretch_armhf.deb This version is running fine and all views are working as expected.

check-mk-raw-1.6.0p8 package pre-removal script subprocess returned error exit status 1

Hi,

if I try to uninstall Check_mk from my device i get an error. Any hints?

pi@raspberrypi:~ $ sudo dpkg --remove check-mk-raw-1.6.0p8
(Reading database ... 78801 files and directories currently installed.)
Removing check-mk-raw-1.6.0p8 (0.buster) ...
Site default is still using this version!
dpkg: error processing package check-mk-raw-1.6.0p8 (--remove):
 installed check-mk-raw-1.6.0p8 package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 check-mk-raw-1.6.0p8

Memory usage over 80%..

Hello,
i had a small question about Memory Usage on CheckMK.

I installed your last Version 2.0.0p20 on my Raspberry and after them, i see, that the memory usage is over 80& every time. What kind of problems ist that and how can i solve this issue?

Best regards

Z. Matthias

site creation fails on fresh raspian buster install

I did a fresh install of raspian buster and the site creation fails with a python error:

pi@raspberrypi:~ $ sudo omd create homelab ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/omd/versions/1.5.0p21.cre/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "/usr/bin/omd", line 4486, in <module> from md5 import md5 # deprecated with python 2.5 File "/omd/versions/1.5.0p21.cre/lib/python2.7/md5.py", line 10, in <module> from hashlib import md5 ImportError: cannot import name md5

Ubuntu 18.04 LTS support?

Would it be possible to provide Ubuntu 18.04 LTS package for ARM? That would be really great!

Thanks!

Oracle cmk-agent-ctl

Hi, I have followed thes steps described in #53 on my Oracle Cloud instance using 2.1.0p24 (2.1.0p25 wasn't built somehow), as I'd like to monitor this server from elsewhere.
However, I can't seem to use the cmk-agent-ctl command to register this server.
Is there a way I could using this build, or am I in the wrong place?

louk@oracle:~$ uname -a
Linux oracleLouk 5.15.0-1032-oracle #38-Ubuntu SMP Thu Mar 23 19:30:10 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

louk@oracle:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy

louk@oracle:~$ cmk-agent-ctl
cmk-agent-ctl: command not found

Unable to parse Autocheck after Update from 1.6 to 2.0

Hello,

I have the problem that for several hosts the same issue appeared and now they where UNKNOWN in Check_MK.

grafik

The Agent can be found:

grafik

When I switch to the services the same error message with unable to parse autocheck appears.

I really don´t know what causes the problem. Can anyone please help me?

Best Regards,

Tim

armv7 - ubuntu:jammy

Was wondering if you could possibly add a armv7 package for ubuntu:jammy. Not required or anything it would just be nice to have so that I can package multi-arch together as I'm currently building 2 images for armv7/armv8 (bullseye/ubuntu)

Thanks for the work you have already done! 😄

Cannot modify notification rules

Hi there,

I have a problem editing the notification rules. If I try to create a new one or edit an existing I cannot click the save button at the bottom of the page.
I already cleared the browser caches and tried to use different browser with no success.

Do you have an idea?

Best regards,
Bernd

Check MK 2.0 on RPI 4

Hi there,

just noticed that it is not possible to install 2.0.0b7 on RPI4. I´m getting multiple issues like:

/bin/bash: line 4: chrpath: command not found
make[1]: *** [packages/Python3/Python3.make:47: /home/pi/check-mk-arm/check-mk-raw-2.0.0b7.cre/omd/build/stamps/Python-3.8.7-cache-pkg-process] Error 127
make[1]: Leaving directory '/home/pi/check-mk-arm/check-mk-raw-2.0.0b7.cre/omd'
make: *** [debian/rules:42: install] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage --rules-target build-arch -rfakeroot -us -uc -ui -i.git -I.git -i.gitignore -I.gitignore failed
make[1]: *** [Makefile:274: deb] Error 2
make[1]: Leaving directory '/home/pi/check-mk-arm/check-mk-raw-2.0.0b7.cre/omd'
make: *** [Makefile:98: deb] Error 2

Will there be a release for it soon?

Thank you !

Distributed Monitoring possible?

Hey Christian,

one question: have you ever tried to run checkmk on a Raspberry Pi in the "Distributed Monitoring" mode? I am using the latest version (2.0.0p12) on a Raspberry Pi 3 B+ and it COMPLETELY kills the Pi after adding the first host. More precisely:

  • I installed check-mk-arm 2.0.0p12
  • created an omd site
  • "omd config", enabled Distributed Monitoring
  • from the main site I connected to the Pi and logged in (everything is fine so far!)
  • changed the apache processes to 5
  • added a first host on the remote site and hit the "save and test connection" button --> Load average on the Pi turns up to 40 (!) and the Pi is not responding anymore at all...

Any ideas?

Thanks a lot
Johannes

Installation not possible on latest Raspberry OS based on Bullseye

Tried to install CheckMK today on a fresh installation.
Raspberry OS/Raspbian is now based on Debian 11

On this, the installation is obviously not possible.
The install reported unmet dependencies
Running apt install -f does not resolve the dependencies, it only removes the checkmk package

Any suggestions?

Instructions for building from source is missing required dependencies to build

I had to build from source many times to discover each dependency.

The below is the summation of deps needed to build on ubuntu 21:
sudo apt-get install binutils bison build-essential chrpath cmake debhelper devscripts flex gcc gfortran gtk-doc-tools lcab libcurl4-openssl-dev libexpat1-dev libffi-dev libglib2.0-dev libgsf-1-114 libgtk2.0-dev libgtksourceview2.0-dev libjpeg-dev libkrb5-dev libldap2-dev libncurses-dev libperl-dev libpq5 libreadline-dev libsasl2-dev libssl-dev libxml2-dev libxmlsec1-dev libyaml-cpp-dev lintian pkg-config poppler-utils python-dev python3-lasso rpm

unable to install

I'm getting the following error:

dpkg: Abhängigkeitsprobleme verhindern Konfiguration von check-mk-raw-1.6.0p12:
check-mk-raw-1.6.0p12 hängt ab von libperl5.28; aber:
Paket libperl5.28 ist nicht installiert.

dpkg: Fehler beim Bearbeiten des Paketes check-mk-raw-1.6.0p12 (--install):
Abhängigkeitsprobleme - verbleibt unkonfiguriert

I'm not able to install libperl5.28.

The command apt-get install -f is deleting check-mk-raw-1.6.0p12.

What can I do to solve this problem?

regards,
Alf

Does your check-mk-arm v2.0 work on an RPI4 or 3?

Hello! I'm new to Check_Mk and installed your package on 5 RPIs: two 4s, a 3, and two 2s running the same latest Raspberry Pi OS Lite release March 4, 2021. All commands were done in parallel on all 5 creating mysite etc,. Omd status shows all 5 running., but only the two RPI2s deliver the web page: the other 3 deliver a 404 error. Apache 2 seems to be running, and restarting it doesn't help, but it doesn't deliver the default Apache page either. Thanks, Dan

installation

Hi, can you help? with dpkg -i check_mk-file and apt-get -f install i cannot install check_mk. he delete the files, with apt-get -f install.

Proxy Error

Hi,

After install via this on a Raspberry PI Zero:

curl -LO $(curl -s https://api.github.com/repos/chrisss404/check-mk-arm/releases/tags/2.0.0p8 | grep browser_download_url | cut -d '"' -f 4 | grep buster_armhf.deb) 
dpkg -i check-mk-raw-2.0.0p8_0.buster_armhf.deb

And check all services OK:

root@checkmk:~# su - monitor
OMD[monitor]:~$ omd status
mkeventd:       running
rrdcached:      running
npcd:           running
nagios:         running
apache:         running
redis:          running
crontab:        running
-----------------------
Overall state:  running

Appears on browser this:

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request

Reason: Error reading from remote server

Apache/2.4.38 (Raspbian) Server at 10.0.1.16 Port 80

What's wrong?

cmk-agent-ctl on arm?

Wow I appreciate your work very much!
I use CheckMK in the X64 variant, but I would like to install the agent on my Raspberry's as systemd deamon.

So i extracted from their packages the linux client cmk-agent-ctl and unfortunately it does not work under aarch64 (rpi4). Is it possible to build this also for arm64 or armhf?

Also possible with Enterprise?

Hi,

we are able to use the enterprise edition.
I replace all raw with enterprise and cre with cee and try to use the script but i ran into an error:

make[2]: Entering directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_mk'
rm -f /root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/debian/check-mk-enterprise-1.4.0p21/omd/versions/1.4.0p21.cee/skel/etc/check_mk/main.mk-*
rm -f /root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/debian/check-mk-enterprise-1.4.0p21/omd/versions/1.4.0p21.cee/skel/etc/check_mk/multisite.mk-*
make[2]: Leaving directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_mk'
make[2]: Entering directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_multi'

Optional target called to create additional files below skel

make[2]: Leaving directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_multi'
make[2]: Entering directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_mysql_health'
make[2]: Nothing to be done for 'skel'.
make[2]: Leaving directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_mysql_health'
make[2]: Entering directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_oracle_health'
make[2]: Nothing to be done for 'skel'.
make[2]: Leaving directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_oracle_health'
make[2]: Entering directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_webinject'
make[2]: Nothing to be done for 'skel'.
make[2]: Leaving directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages/check_webinject'
make[2]: Entering directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages'
make[2]: *** cmc: No such file or directory. Stop.
make[2]: Leaving directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee/packages'
Makefile:105: recipe for target 'pack' failed
make[1]: *** [pack] Error 2
make[1]: Leaving directory '/root/check-mk-arm/check-mk-enterprise-1.4.0p21.cee'
debian/rules:67: recipe for target 'install' failed
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc -i.git -I.git -icheck-mk-enterprise-bin-1.4.0p21.cee.tar.gz -Icheck-mk-enterprise-bin-1.4.0p21.cee.tar.gz -i.gitignore -I.gitignore failed
Makefile:361: recipe for target 'deb' failed
make: *** [deb] Error 29

someone has an idea to solve this?

64bit releases ?

Hi,
are there any plans for building arm64 packages (for pi4 eg) ?
Best regards
Martin

New checkmk version 2.1.0p…

Hey,
appreciate the great work you are doing.
How about the new version 2.1.0p…
Are you going to provide that und check-me-arm as well?
Would make me very happy.
Yours

checkmk auf Oracle Cloud Arm

Hi, ist es möglich das CheckMK von dir auch unter Ubuntu ARM in der Oracle Free Cloud Infra laufen zu lassen oder geht das nur unter Raspi Arm?

Would it be possible to build it on Raspberry Pi Model B Rev 2?

Hi, have you ever tried to build check-mk-arm on one of the first Pis? Do you think that would be possible or do you know of any reason why it's not?

I read that checkmk is very efficient. But would the hardware resources of the RPi 1 B be enough to run it in a home environment?

Looking forward reading your reply.

Thanks in advance,
Jörg

Raspberry4 self-check "Temperature Zone 0" crashes CHECK_MK service on 1.6.0p6/Buster

Hi!

Temperature Zone 0 crashes on a RPI4 on 1.6.0p6 when checking itself.
This actually is impacting the CHECK_MK service which effectively crashes when the service for the Temperature Zone is enabled.

Some output is generated in a strange way.

Error is:
"'ascii' codec can't decode byte 0xc2 in position 10: ordinal not in range(128)"
in

    [
      "/omd/sites/<site>/lib/python/cmk_base/checking.py",
      640,
      "_submit_via_check_result_file",
      "\"\"\" % (host, cmk_base.utils.make_utf8(service), now, now, state, cmk_base.utils.make_utf8(output)))"
    ]

with a payload of:

{'host': u'hostname',
 'now': 1574014972.502506,
 'output': u'OK - 45.8 \xb0C|temp=45.764;70;80;;',
 'service': u'Temperature Zone 0',
 'state': 0}

Monitoring the same node with a check_mk 1.6.0p6 on x86_64 does not show this behavior.

I fear this may be another one of those compiler/python issues...

Martin

/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1

Hi,

for information (update worked) :

on Rasbperry

[•••]
gdebi check-mk-raw-2.0.0p2_0.buster_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

Checkmk - Best-in-class infrastructure & application monitoring
Voulez-vous installer le paquet logiciel ? [o/N] :o
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
c = findall("[(/\S+[])]", msg)[0].lower()

Sélection du paquet check-mk-raw-2.0.0p2 précédemment désélectionné.
[...]

My OS:

lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

thank for your work

Serge

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.