I updated to p13 but with no success regarding this issue.
I assume that the followin entry in crontab should do the job:
*/5 * * * * cmk --discover-marked-hosts
I ran it manually with -vv but the only output is:
Doing discovery for all marked hosts:
(with no hosts)
I found out some places regarding the filesystem and checked these:
- var/log/autodiscovery contains empty marker files for the hosts
- var/log/autochecks does not contain anything about them
So I assume that either the process which reacts on the marker files is not called or is not working.
As long as I do not manually activate the changes there is still a service “Ping” which is in error state (as ICMP is not possible). On manual editing the services ping is replaced by “Check_MK Service”
Perhaps the rule which switches to Agent output is not applied before a service was added and the process which is doing the autocheck -> autodiscovery transformation is skipped as long the host is not “reachable” (which is currently pingable as rule does not apply)?
Regards Michael