Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

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.

LAST TESTED ON CHECKMK 2.1.0P1

Step-by-step guide

  1. Log on via SSH and become the siteuser

    root@linux# su mysite
  2. Copy the agent to the local structure

    OMD[mysite]~$:cp ~/lib/python3/cmk/special_agents/<script>.py ~/local/share/check_mk/agents/special/
  3. Make the script executable

    OMD[mysite]~$:chmod +x ~/local/share/check_mk/agents/special/<script>.py 
  4. Append the following line to the end of the script using Vim.

    OMD[mysite]~$: vim ~/local/share/check_mk/agents/special/<script>.py
    if __name__ == "__main__":
        main()




  • No labels