Zille
(Thomas Zillmann)
June 23, 2025, 9:04am
1
Hi,
I have not found the directory yet where to place the check manual for my own custom check plugins written for v2 of the check api. I neither found something about that in Writing agent-based check plug-ins nor in Guidelines for coding check plug-ins .
It must be something different from the old place under ~/local/share/check_mk/checkman because User Messages under Version 2.3.0p33 say:
Check man page uses an API (legacy) which is marked as deprecated in Checkmk 2.3.0 and will be removed in Checkmk 2.4.0 (File: local/share/check_mk/checkman/PLUGINNAME)
Thank you in advance for your help!
Zille
r.sander
(Robert Sander)
June 23, 2025, 9:12am
2
it is a checkman directory inside the collection, on the same level as the agent_based and rulesets directories.
Zille
(Thomas Zillmann)
June 23, 2025, 10:11am
3
Thank you for the quick help. That is the right place to put the manuals.
One further question:
The manuals are written in YAML, although they must not have an .yml ending. E.g.:
title:
Check the status Powershell DSC Rollout on Windows Server
agents:
windows
…
The output in the GUI shows just one line, which is hard to read. I wonder how to make it readable. Do you have a hint for me?
Zille
(Thomas Zillmann)
June 25, 2025, 8:22am
4
Just a notice to the code I posted:
The editor here erased the indentation. So missing YAML indentation in my check manual is NOT the problem.
Dirk
June 25, 2025, 8:32am
5
It’s actually not YAML. Just the header looks like YAML.
You can force a line break with <br> and separate paragraphs with an empty line. That’s it.
I’m sorry to tell you but unfortunately there is no further documentation about manpages.
The only thing you can do is look at the existing manpages and use them as templates.
In the description section (below the header) you can force a line break with <br>
and highlight text by enclosing it in {curly braces}.
That text is either rendered bold (if displayed at the bottom of a service’s details) or
monospaced (in the dedicated manpage view of a check).
Besides that, no further formatting i…
1 Like
Zille
(Thomas Zillmann)
June 25, 2025, 9:52am
6
Thank you Dirk for all the useful information. Thank you, Robert, as well. Now I have everything I need to work with the new v2 Check API.
1 Like