It may be necessary to modify a special agent shipped with checkmk. Please don't modify the original files. You will lose any modifications after an upgrade.
Step-by-step guide
Log on via SSH and become the siteuser
- Copy the agent to the local structure
OMD<site>~$:cp ~/lib/python3/cmk/special_agents/<script>.py ~/local/share/check_mk/agents/special/
Make the script executable
OMD<site>~$:chmod +x ~/local/share/check_mk/agents/special/<script>.py
Add the following line to the end of the script
vim ~/local/share/check_mk/agents/special/<script>.py
if __name__ == "__main__": main()
Related articles
Filter by label
There are no items with the selected labels at this time.