Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

This article details how to collect information and logs for troubleshooting purposes. 

...

Code Block
languagebash
themeRDark
As site User:
OMD[workshop]:~$ cmk -d HOSTNAME >/path/to/file.txt

or on the affected system:
root@mylinuxhost:~# check_mk_agent >/path/to/file.txt

use the option -d to see what the agent is doing in detail:
root@mylinuxhost:~# check_mk_agent -d &>/path/to/file.txt


Via the GUI

  1. Click on the Hamburger menu

  2. Click Download agent output

...

In addition to that, you can also Temporarily How-to temporarily enable debugging in the Linux agent

Debugging Special Agents

Please see our Knowledge Base manual: Special Agents

...

Warning

Please don't forget to decrease the log level after you submit the file to us.
Otherwise, the log file will become huge, and you may run out of space.


Core 

Info
iconfalse

Setup → General → Global Settings → Monitoring Core → Logging of the core

  • Alerts
  • Carbon connections
  • Core
  • Downtime
  • Checkmk helpers
  • Livestatus
  • Notification system
  • RRD processing
  • Smartping

Setup → General → Global Settings → Monitoring Core → Logging of the notification mechanics

Setup → General → Global Settings → Monitoring Core → Logging of RRD creation

Setup → General → Global Settings → Monitoring Core → Debugging of Checkmk helpers


The log file will then be available for the site user at:

  • ~/var/log/cmc.log

...