...
- Increase the log to debug
Checkin the cmc.log (as site user)
Code Block grep -e <IP> -e <HOSTNAME> ~/var/log/cmc.log | grep -e "smartping timeout" -e "received p"
Livestatus query
With this command you can check the check interval, retry interval, smart ping timeout and the max check attempts of the host:
Please replays host_name = Myhost with the affected Checkmk Hosts
Code Block |
---|
OMD[cme2_testmysite]:~$ lq "GET hosts\nColumns: host_name check_interval retry_interval smartping_timeout max_check_attempts state state_type\nFilter: host_name = Ubuntu1804" Ubuntu1804;5;1;750000;1;1;1Myhost" |
Debugging the smart ping via cli
...