Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login
    1. Home
    2. keka
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    keka

    @keka

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    keka Unfollow Follow

    Latest posts made by keka

    • API call requires the parameter output_format=python

      Hallo,

      wir sind gerade dabei das CheckMK2 Addon als Testversion mit der Idoit zu verknüpfen. Wir haben es nun soweit installiert und die Status checks sind alle grün und erfolgreich.

      Wenn wir nun Daten zwischen beiden Systemen abgleichen wollen kommt es aktuell aber zu folgender Fehlermeldung.

      IdoIT Version 22 Pro
      Checkmk 2 Addon Version 1.8.1
      CheckMK Monitoring 2.0.0p30

      Scheinbar gibt es hier Probleme mit dem Zugriff auf die WebAPI
      idoit ja als json konfiguriert und checkmk scheint python zu erwarten und gibt eine Fehlermeldung.

      Wie kann man das Problem lösen und beide System miteinander verbinden so dass man Pull und Push Daten austauschen kann?

      idoitcmk match -v
      Match objects from i-doit with hosts from Checkmk

      Looking for hosts in Checkmk…
      Checkmk responded with an error message: Checkmk exception: This API call requires the parameter output_format=python
      Stack trace:
      #0 phar:///var/www/html/i-doit/idoitcmk/vendor/idoit/checkmkwebapiclient/src/API.php(256): Idoit\CheckmkWebAPIClient\API->evaluateResponse()
      #1 phar:///var/www/html/i-doit/idoitcmk/vendor/idoit/checkmkwebapiclient/src/Host.php(73): Idoit\CheckmkWebAPIClient\API->request()
      #2 phar:///var/www/html/i-doit/idoitcmk/src/Service/ReadHosts.php(130): Idoit\CheckmkWebAPIClient\Host->getAll()
      #3 phar:///var/www/html/i-doit/idoitcmk/src/Command/MatchCommand.php(33): idoit\idoitcmk\Service\ReadHosts->fetch()
      #4 phar:///var/www/html/i-doit/idoitcmk/vendor/bheisig/cli/src/App.php(906): idoit\idoitcmk\Command\MatchCommand->execute()
      #5 phar:///var/www/html/i-doit/idoitcmk/vendor/bheisig/cli/src/App.php(389): bheisig\cli\App->executeCommand()
      #6 phar:///var/www/html/i-doit/idoitcmk/vendor/bheisig/cli/src/App.php(318): bheisig\cli\App->satisfyUserChoice()
      #7 phar:///var/www/html/i-doit/idoitcmk/bin/idoitcmk.php(149): bheisig\cli\App->run()
      #8 /var/www/html/i-doit/idoitcmk(2): include('...')
      #9 {main}

      keka@lww008 ~]$ idoitcmk status
      Check your environment and configured remote connections

      Test PHP environment…
      OK

      Test loaded PHP modules…
      OK

      Test connection to i-doit JSON-RPC API…
      OK

      Test connection to Checkmk Web API…
      OK

      posted in Betrieb
      K
      keka