Dynamic Configuration Connection: two options with identical (and unclear) descriptions

When editing a dynamic configuration connection in 1.6.0p11 I face the following options:

Screenshot from 2020-04-04 19-20-38

the last two of which have the same description. I checked the corresponding WATO plugin (~/lib/python/cmk/gui/cee/plugins/wato/dcd.py) and found this corresponding code snippet:

...
(
    "max_cache_age",
    Transform(Age(
        title=
        _("Keep hosts while piggyback source sends piggyback data only for other hosts for" ),
        default_value=3600,
    ),
    forth=lambda p: 3600 if p == "global" else p),
),
("validity_period",
 Age(title=_(
     "Keep hosts while piggyback source sends piggyback data only for other hosts for"
 ),
 default_value=60)),
 ...

Maybe someone can tell me the correct titles for the two options. I reckon the first one should indicate how long a dynamically created host is kept if no more piggyback data for it arrives (default=1hr) but what about the second one? Unfortunately the manual doesn’t help either because it shows a completely different screenshot for these settings.

Thank you in advance
Dirk

I think I got it: the first option applies if the source of the piggyback data doesn’t send no piggyback data at all (for no host) while the second option applies if only some piggyback data (for some hosts) has vanished.

Simply put, the first option handles disappearing ESX servers while the second one handles disappearing VMs.

Still, the options are labelled erroneously.

2 Likes

I think this is correct what you found.
If i remember it correctly then the description was different some versions before. As it is enterprise feature we cannot have a look at the git repo to find the commit :wink:

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.