Werk #13466: Increase cache validity for NTP service

Component Checks & agents
Title Increase cache validity for NTP service
Date Oct 18, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The data for the NTP service "NTP Time" and "NTP Peer" had a cache validity intervall of 30 seconds, in order to create a new data set every time the agent was triggered. Unfortunately this meant that the data was expired, before it ever reached the monitoring server. This hack increases the validitiy of the data set to 120 seconds, while still recreating it every time the agent is called.

To the list of all Werks