Failed to send data to mail slot

2.1.0p19.cre
Windows Server 2012R2 and Server 2022

I’m trying to change the agent configuration file on a windows server. When I attempt to reload the configuration I received the following.

C:\Program Files (x86)\checkmk\service>check_mk_agent.exe reload_config

Reloading configuration…

Asking for reload service

Asking for reload executable

Failed to send data to mail slot

Done.

The configuration is not updated. Can anyone explain what “Failed to send data to mail slot” means? I am receiving this error on two different hosts. If I use the default configuration file I still receive this message. Thank you.

Then something is wrong in your changed configuration. You can normally ignore this “mail slot” message. Do a “check_mk_agent.exe showconfig” to check if your changed options are read and processed the correct way. If the resulting configuration is what you want, you can do the reload.

Thank you. I didn’t understand the process correctly. I thought check_mk_agent.exe showconfig showed the configuration currently in use by the agent. Once I realized “showconfig” will try and process the config files I quickly realized I made a mistake in my configuration. Thanks for the quick reply.

1 Like

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.