Cache age for agent output

Hi there,

I have written a simple inventory plugin plus a special agent in order to retrieve additional inventory data that is not present in the SNMP walk. The configured data source is then used for checks as well, right? How can I make the cached special agent output valid for a longer time? Currently, both “cmk -ivv” and “cmk -vv” for my host give the well-known output:

[ProgramFetcher] Fetch with cache settings: DefaultAgentFileCache(base_path=PosixPath('/omd/sites/mon3_dev/tmp/check_mk/data_source_cache/special_cisco_catalyst/ES-R-UG01.Labor-C9300-1'), max_age=MaxAge(checking=0, discovery=120, inventory=120), disabled=False, use_outdated=False, simulation=False)

Since the special agent output only contains information for the inventory plugin (not for any check plugin), how can the above max_age parameters be incresed?

Appreciating your help
Kind regards, Reinhard