Werk #10038: Fix cmk/check_mk_server:yes label related issues
| Component | Checks & agents | ||||
| Title | Fix cmk/check_mk_server:yes label related issues | ||||
| Date | Sep 11, 2019 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
This label was detected based on the asynchronously created agent section
<<<omd_status>>>. Because this section is not immediately available on the
first agent contact, this resulted in a label discovery after the second check
cycle.
Another issue was that the <<<omd_status>>> section was produced by non
Checkmk servers with older agent versions. This lead to a wrong label discovery.
We now use the dedicated <<<labels>>> section to create the label which is
produced once we find the command 'omd' on a system.