Agent updater: modifying interval settings

Using "Interval for update check" to avoid WARN state while using the agent updater.

LAST TESTED ON CHECKMK 2.0.0P1

Table of Contents

Getting Started

Background information regarding this subject is available on our:

Problem

When using the Agent Updater (recommended), you might have stumbled over the rule "Agent updater (Linux, Windows, Solaris)" in which you can define if the plugin should be deployed, place the certificates for HTTPs, and so on.

I'd like to point out the setting "Interval for update check".

Screenshot of Interval for update check set to 1 hour

Although the setting is optional, please be advised that if you do not set a value here after two days, the "Check_MK Agent" service goes into a Warn state:

Screenshot of Check_MK Agent in a warning state

Solution

The only resolution is to deploy the Agent Updater plugin and set a value here (one hour is the default value).

The Warn state is hard-coded in ~/share/check_mk/checks/check_mk, lines 94-109.