Checkmk server: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
(30 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 4: Zeile 4:
 
=Installation=
 
=Installation=
 
*[[Installation checkmk]]
 
*[[Installation checkmk]]
 +
=Projekt anlegen und starten=
 +
*omd create willux
 +
*omd start willux
 +
=Login=
 +
*http://<IP>/willux
 +
[[Datei:checkmk-1.png]]
 +
=Passwort ändern=
 +
*su - willux
 +
*htpasswd -m ~/etc/htpasswd cmkadmin
  
  
 +
==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==
 +
*[[checkmk linux]]
 +
*[[checkmk microsoft]]
 +
*[[checkmk esxi]]
  
 +
==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
  
*omd create <name>
+
=Fehlerbehandlung=
*omd start <name>
+
*[[checkmk Fehlerbehandlung Linux]]
 +
*[[checkmk Fehlerbehandlung Windows]]
 +
*[[checkmk Fehlerbehandlung Cisco]]
 +
*[[checkmk acknowledge failed service]]
  
=Konfiguration=
+
=Disable Services by rule=
==Client anlegen==
+
*[[checkmk Disabled Services]]
*Hosts -> New host
+
 
 +
=Eigenen Check einbinden=
 +
*[[checkmk nagios plugin installieren]]
 +
 
 +
=Alarmierungen=
 +
==Eigenes Notification script==
 +
*[[checkmk telegram]]
 +
 
 +
==Notification-parameter==
 +
*[[checkmk verzögerte benachrichtigung]]
 +
*https://checkmk.de/cms_notifications.html#Periodisch%20wiederholte%20Alarmierungen%20und%20Eskalationen
  
==Encryption==
+
=Links=
*Host & Service Parameters -> Access to Agents -> Encryption
+
*https://checkmk.de/cms_training_cmk1.html

Version vom 12. Oktober 2020, 09:16 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


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

Fehlerbehandlung

Disable Services by rule

Eigenen Check einbinden

Alarmierungen

Eigenes Notification script

Notification-parameter

Links