Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Verify if PYTHONHOME and PYTHONPATH are really set.

    Code Block
    languagebash
    themeRDark
    C:\ProgramData\checkmk\agent\plugins>set | findstr /c:"PYTHON"
    PYTHONHOME="C:\Program Files\Python38"
    PYTHONPATH="C:\Program Files\Python38\Lib"


  2. Remove that from the settings:

    Code Block
    languagebash
    themeRDark
    C:\Program Files (x86)\checkmk\service>set PYTHONHOME=
    C:\Program Files (x86)\checkmk\service>set PYTHONPATH=



  3. Try again to run the Checkmk updater

    Code Block
    languagebash
    themeRDark
    C:\Program Files (x86)\checkmk\service>check_mk_agent.exe updater register
    Using previous settings from C:\ProgramData\checkmk\agent\config\cmk-update-agent.state.
    Our host name in the monitoring:

    .

Some background information:


Tip
More information can be found here:  https://docs.python.org/3/using/windows.html

...