elabit / rmkv2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Robotmk V2

!!! ALPHA - NOT FOR PRODUCTION !!!

USAGE

  • copy agent/config/robotmk into %Programdata%/checkmk/agent/config/robotmk
  • copy agent\plugins\robotmk-ctrl.ps1 into %Programdata%/checkmk/agent/plugins/

Add to `C:\ProgramData\checkmk\agent\bakery\check_mk.bakery.yml``:

Now start the CMK agent.

robotmk-ctrl.ps1 (logfile: C:\ProgramData\checkmk\agent\log\robotmk\robotmk-ctrl.log) will

  • copy itself and the service stub exe to ProgamData/checkmk/robotmk/RobotmkAgent.exe/.ps1 (is not present)
  • Register and start the RobotmkAgent service (if not present/running)
  • touch the deadman switch file

RobotmkAgent.ps1 (logfile: C:\ProgramData\checkmk\agent\log\robotmk\RobotmkAgent.log) is started by the service and will

  • create the RCC environment for Robotmk (if not present)
  • start the Robotmk agent task in RCC
    • the agent runs in a loop and executes Robotmk in sub-processes (not implemented yet)
    • Dummy activity of the Robotmk Agent can be seen in ProgramData/agent/tmp/robotmk/ (bulk creation of tmp files)
  • monitor the deadman switch file (and exit if the file ages out)

ROBOTMK_COMMON_path__prefix

About


Languages

Language:HTML 50.3%Language:Python 31.9%Language:PowerShell 17.6%Language:Shell 0.2%Language:RobotFramework 0.0%