Checkmk server: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 14: Zeile 14:
 
*htpasswd -m ~/etc/htpasswd cmkadmin
 
*htpasswd -m ~/etc/htpasswd cmkadmin
  
 +
=Tipps/Tricks=
 +
https://blog.checkmk.com/de/network-monitoring-with-checkmk-2.0-three-rules-to-rule-them-all
  
 
==Client anlegen==
 
==Client anlegen==

Version vom 3. November 2021, 09:58 Uhr


Installation

Projekt anlegen und starten

  • omd create willux
  • omd start willux

Login

  • http://<IP>/willux

Checkmk-1.png

Passwort ändern

  • su - willux
  • htpasswd -m ~/etc/htpasswd cmkadmin

Tipps/Tricks

https://blog.checkmk.com/de/network-monitoring-with-checkmk-2.0-three-rules-to-rule-them-all

Client anlegen

  • Hosts -> New host

Encryption

  • Host & Service Parameters -> Access to Agents -> Encryption -> Encryption secret
  • Host & Service Parameters -> Access to Agents -> Encryption -> Drop unencrypted Data

Monitoring Agents

Secret

Linux

  • cat /etc/checkmk/encryption.cfg
ENCRYPTED=yes
PASSPHRASE='sysadm'

Windows

  • C:\ProgrammData\CheckMK\Agent\check_mk.user.yml
global:
  encrypted: yes
  passphrase: sysadm

Server Zeit ändern

  • EDITOR /omd/sites/$OMD_Site/etc/environment
TZ=Europe/Berlin

Fehlerbehandlung

LDAP connector vom User ändern

Custom Links snapin

Um eigene Links hinzuzufügen muss die Datei mysites.mk unter folgendem Pfad (/omd/sites/<site_name>/etc/check_mk/multisite.d) angelegt werden.

  • vi /omd/sites/test_site/etc/check_mk/multisite.d/mysites.mk

Beispielkonfiguration:

custom_links['admin'] = custom_links['user'] + [
  ( "Sites", False, [
        ( "XINUX-CHECK_MK",     "https://checkmk.example.com/cmk/", None, "_blank"),
   ])
]

Disable Services by rule

Eigenen Check einbinden

Zeitlinie eines Hosts anzeigen

Alarmierungen

Eigenes Notification script

Notification-parameter

Links