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 3 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.

Please follow this step-by-step guide:

  1. Copy the special agent to the local structure

    root@server:/home/anastasios# cp /omd/sites/workshop/lib/python3/cmk/special_agents/agent_ibmsvc.py /omd/sites/workshop/local/share/check_mk/agents/special/
  2. Change the permissions of the file to the site user

    root@server:/home/anastasios# cd /omd/sites/workshop/local/share/check_mk/agents/special
    root@server:/omd/sites/workshop/local/share/check_mk/agents/special# chown workshop. agent_ibmsvc.py 
  3. Make the script executable

    root@server:/omd/sites/workshop/local/share/check_mk/agents/special# chmod +x agent_ibmsvc.py 
  4. Login as site user and add the following line to the end of the script

    su - mysite
    vi ~/local/share/check_mk/agents/special/agent_ibmsvc.py

    if __name__ == "__main__":
        main()


Filter by label

There are no items with the selected labels at this time.



  • No labels