Git Product home page Git Product logo

checkmk-docs's Introduction

Checkmk - Your complete IT monitoring solution

PR-CI status

Checkmk is available in several editions. The Checkmk Raw Edition is free and 100% open-source. The Checkmk Enterprise Edition includes several additional features and professional support from the authors, billed annually. A demo version is freely available for testing the Enterprise Edition.

Checkmk can be installed on Linux servers via DEB and RPM packages found on our downloads page. The Enterprise Edition is also available as a virtual or physical appliance. The following short installation guides show how you can easily set up Checkmk and begin monitoring.

Please visit our website for more details.

Getting started

Please have a look at the beginners guide on how to get started with Checkmk.

Want to contribute?

Nice! Before contributing please check out our contribution guidelines.

Building on your own packages

It is highly recommended to use the prebuilt Checkmk packages we provide. But if you really want to build your own packages, you either need to download the source packages from our website or check out the Git repository.

We're building the Checkmk packages within specific docker images for the different distros. Please find the Dockerfiles under buildscripts/infrastructure/build-nodes/ in order to get an idea what's needed to build it locally. However, keep in mind that those Dockerfiles are heavily relying on our infrastructure and won't build from scratch on your machine.

If you have the dependencies in place, you can either create RPM or DEB packages, depending on your Linux distribution.

To build an RPM:

make rpm

To create a DEB package:

DEBFULLNAME="Mr. Buildmaster" DEBEMAIL="[email protected]" make deb

Don't forget to insert your name and mail address. As a result you should find packages of the form check-mk-[edition]-[version].[deb|rpm] in your current directory.

checkmk-docs's People

Contributors

ajoga avatar bili123 avatar daniw42 avatar frans-fuerst avatar godspeed-you avatar jmandoo avatar kleinski avatar larsmichelsen avatar loocars avatar martinhv avatar mo-ki avatar mrclschstr avatar mschlenker avatar peacock-2000 avatar reduxionist avatar sebkir avatar silkepaintner avatar synss avatar systeembeheerder avatar thomas1147 avatar thomaskoslowski avatar tonybostontb 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

Watchers

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

checkmk-docs's Issues

Using LQL in Python example not working: TypeError: a bytes-like object is required, not 'str

Hello,

The example in section 2.2. Using LQL in Python is not working
https://docs.checkmk.com/latest/en/livestatus.html#heading__using_lql_in_python

OMD[central]:~$ python3 live_example.py 
Traceback (most recent call last):
  File "/opt/omd/sites/central/live_example.py", line 17, in <module>
    sock.sendall("GET status\nOutputFormat: json\n")
TypeError: a bytes-like object is required, not 'str'

Would be nice if there would be a functional code snipped.

How to integrate checkmk with Moogsoft AIOps with script

Hi,

Idea here is to whatever the events are generated in checkMK it should forward those event notifications from CheckMK to Moogsoft AIOps webhook api which will then take care of creating the incidents in ServiceNow. I know this will be done via custom script but I am not aware of that script.

Can someone suggest how this can be implemented? Is there a prewritten custom script from CheckMK to forward the event notifications? I will be glad if someone have that script or can prepare it for me?

Described options for HTTPS-connection makes it impossible to use the newly enhanced agent

I've set up my checkmk Raw for HTTPS as described in the docs long before upgrading to version 2.1.0 Raw and everything worked as expected.

After the upgrade to version 2.1.0 Raw, I now have the issue, that I'm not able to register a host as described in the docs to use the newly enhanced agent.

The error that shows up is the following:

cmk-agent-ctl register -H <hostname> -s <servername> -i <sitename> -U <username> -v
INFO [cmk_agent_ctl] starting
ERROR [cmk_agent_ctl] Failed to discover agent receiver port from Checkmk REST API, both with http and https.

Error with http:
Failed to discover agent receiver port from http://<servername>/<sitename>/check_mk/api/1.0/domain-types/internal/actions/discover-receiver/invoke
error sending request for url (http://<servername>/<sitename>/check_mk/api/1.0/domain-types/internal/actions/discover-receiver/invoke): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914: (self signed certificate)
error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914: (self signed certificate)
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914: (self signed certificate)
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:

Error with https:
Failed to discover agent receiver port from https://<servername>/<sitename>/check_mk/api/1.0/domain-types/internal/actions/discover-receiver/invoke
error sending request for url (https://<servername>/<sitename>/check_mk/api/1.0/domain-types/internal/actions/discover-receiver/invoke): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914: (self signed certificate)
error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914: (self signed certificate)
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914: (self signed certificate)
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:

I also tried it with the flag --trust-cert, which also doesn't work.

The interesting part is, that it works from the monitoring-server itself, but not for any other hosts.

If I disable the HTTPS redirect condition in 000-default.conf and restart the apache2-service, I can also register other hosts and not only the monitoring server itself.
It also seems as it's not an SSL issue, since the attempt to register (with the disabled redirect) shows me the certificate of the monitoring server.

Could you please update this section, so HTTPS redirects are working and the use of the newly enhanced agent is also possible?
Thank you and best regards!

Mention that plugin must be marked as executable

https://docs.checkmk.com/latest/en/monitoring_docker.html

Add clarification that plugin must me marked as executable, for example:

  1. Setting up
    2.1. Installing the agent and plug-in
    To be able to monitor a Docker node with Checkmk, it must first be monitored with the normal Linux agent. This will give you a basic monitoring of the host system, however there will be no information about the Docker daemon or about the container.

You will need the mk_docker.py agent plug-in, which you can find here: Setup > Agents > Other operating systems > Plugins

Install the plug-in to /usr/lib/check_mk_agent/plugins. For information on installing an agent plug-in, see the Linux agent article.

mv mk_docker.py /usr/lib/check_mk_agent/plugins
chmod + x /usr/lib/check_mk_agent/plugins/mk_docker.py

After Release Upgrade site user is missing in /etc/group group omd

After an upgrade from Ubunt 18.04 to 20.04 and from 20.04 to 22.04.
The Site user is removed from the omd group:
root@shvcmk:/etc # grep omd group
omd:x:130:

The site starts but the icmp will not start anymore. So this is really critical.
2023-08-17 14:03:24 [5] [rrdcached thread] [rrdcached at "/omd/sites/sh/tmp/run/rrdcached.sock"] successfully connected
2023-08-17 14:03:26 [4] [icmpreceiver 3130834] closed connection
2023-08-17 14:03:26 [3] [icmpreceiver 3130834] exited with status 1
2023-08-17 14:03:26 [5] [icmpreceiver 3130945] started, commandline: /omd/sites/sh/lib/cmc/icmpreceiver
2023-08-17 14:03:29 [4] [icmpreceiver 3130945] closed connection
2023-08-17 14:03:29 [3] [icmpreceiver 3130945] exited with status 1
2023-08-17 14:03:29 [5] [icmpreceiver 3131029] started, commandline: /omd/sites/sh/lib/cmc/icmpreceiver
2023-08-17 14:03:32 [4] [icmpreceiver 3131029] closed connection
2023-08-17 14:03:32 [3] [icmpreceiver 3131029] exited with status 1
2023-08-17 14:03:32 [5] [icmpreceiver 3131031] started, commandline: /omd/sites/sh/lib/cmc/icmpreceiver

Please Update the documentation to check /etc/group

Regards,
Peter Rupp

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.