Own plugin (with parameter and return values for a python script) not work

Agent plugins are not called with any parameters. They are called by the check_mk_agent and whatever they print to stdout is transmitted to the checkmk server as part of the agent output.

I suggest reading this: Writing your own check plug-ins and especially the section about agent based plugins: Writing your own check plug-ins

2 Likes