CMK version: 2.1.0p28
OS version: Oracle Linux 7
Error: I am using a rule for “individual program call instead of agent access” to check all of the linux hosts via SSH instead of 6556/TCP. The rule works and uses a host tag “OS: Linux” to be applied to a certain group of hosts.
Now we want to go back to the 6556/TCP monitoring and test this on certain hosts. So I edited this “individual program call …” rule by adding my test-host under “explicit hosts” and ticked the “negate” checkbox right below explicit hosts. Then I activated the change.
Unfortunately CheckMK still tries to monitor my test-host over SSH. I checked the effective parameters of this host in the WATO interface and under section “other integrations” it says “individual program call …” → Default Value → Access Checkmk Agent via TCP. (which is what I inteded to do!)
However, the output of cmk -D test-host still outputs my SSH call from the rule, where I excluded my test-host. So there is a different config shown for my test-host in the WATO GUI and in the cmk command line tool.
$ cmk -D test-host
[…]
Type of agent:
Program: ssh -l monitoring-user check_mk_agent
But when I remove my test-host tag “OS: Linux” it somehow works with the 6556/TCP monitoring. I still want to have my host keep the tag and just exclude it via the rule. Is there something I might be missing or did wrong?
Thanks very much in advance!