Cached settings of services

Hi,

Is there some kind of cache on the agent server or the checkmk server where I can see what vanished services (or other things that I’ve chosen to or not to monitor earlier) are stored?

Some time ago, I had an issue on a windows system where some monitored services disappeared (vanished) and I removed them, then they kept from showing up in discovered services. When I tried to add them again and reinstall the agent, they wouldn’t be found. But I solved it by removing some files in C:\ProgramData\checkmk\agent\tmp
Files had the name: Async_SQLs..txt
When I deleted those specific files, I was able to run a discovery in WATO and add them.

Now, I’m facing a similar situation but this time in linux. My mysql plugin checks are not being found. See my earlier post for details on that issue ((Percona mysql monitoring problems))

Is there a tmp directory where such info is stored?

I’ve checked all the directory the agent puts out but can’t find it:
AgentDirectory: /etc/check_mk
DataDirectory: /var/lib/check_mk_agent
SpoolDirectory: /var/lib/check_mk_agent/spool
PluginsDirectory: /usr/lib/check_mk_agent/plugins
LocalDirectory: /usr/lib/check_mk_agent/local

The strange thing is that when I run on the agent server (linux) “check_mk_agent”, I see that the mysql output is there.
But running from the checkmk server (GUI or command line), nothing related to the mysql plugin shows up.

Any help in the right direction is appreciated

Thanks
ricardo

On a linux client, the only cache can be found in /var/lib/check_mk_agent/chache.

ok, but that’s only on the checkmk server side, right? Because on my client side there is no cache in /var/lib/check_mk_agent/

r

No, it’s only on the client side (the server can be a client in that case). But it’s no error, if it does not exist.
In my case, here are the output files for plugins like chrony, or the Agent updater in CEE.

But even in /var/lib/check_mk_agent you can find some cache files for other plugins (e.g. mk_inventory)

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.