Reschedule ‘Check_MK Discovery’ service as command

I recently upgraded from 1.6 to 2.0. For most of my hosts, the “Check_MK Discovery” service is now reporting something like:

1 unmonitored services (kernel_performance:1)WARN, 3 vanished services (kernel:3), 1 new host labels

I noticed that if I run “cmk -II hostname” that the service definition for that host appears to be “fixed”, but the “Check_MK Discovery” service is still in warning state until I reschedule the check via the GUI.

I don’t want to have to do that for dozens of hosts; how do I force the reschedule from the command line? Trying to use “Check_MK Discovery” as the name of the detect plugin does not work:

cmk --detect-plugins="Check_MK Discovery" hostname
[... python trace removed ...]
ValueError: Invalid characters in 'Check_MK Discovery' for CheckPluginName: ' '

You can configure you “period service discovery” rule in that way that it also add/remove the services found or missing.
In your case the “Check_MK Discovery” stays in the same state until the next regular check interval. This is most times something between 4 and 12 hours.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.