Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Checkmk 2 - Missing rest settings

    Scheduled Pinned Locked Moved Allgemein
    3 Posts 2 Posters 342 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      julius
      last edited by julius

      Liebe i-doit Community,

      ich versuche i-doit und Checkmk mittels des i-doit Moduls Checkmk 2 zu verbinden.

      Die eingesetzten Softwareversionen sind:

      i-doit 26
      Chemk 2.2.0p18

      idoit Module:
      Api 1.14.1
      Checkmk 2 1.8.3

      Ich erhalte die angehängte Fehlermeldung. Die Frage wäre worauf sich die Meldung "Missing rest settings" bezieht?

      Die Systeme sehen sich im Netzwerk und die REST-Schnittstelle von Checkmk ist aktiv.

      Vielen Dank,

      Julius

      user@system:~$ /usr/local/bin/idoitcmk status -v
      Check your environment and configured remote connections
      
      Test PHP environment…
      PHP version: 8.1.2
      Required PHP version: ^7.4 || ^8.0
      OK
      
      Test loaded PHP modules…
      PHP module: calendar
      PHP module: curl
      PHP module: date
      PHP module: filter
      PHP module: hash
      PHP module: json
      PHP module: phar
      PHP module: sockets
      PHP module: spl
      PHP module: zlib
      OK
      
      Test connection to i-doit JSON-RPC API…
      Successfully logged in into tenant "TENANT" as user "" [130463]
      Your i-doit version: 26
      Required i-doit version: >=1.19.0
      Installed Checkmk 2 add-on version: 1.8.3
      Installed API add-on version: 1.14.1
      Required API add-on version: >=1.13.1
      OK
      
      Missing rest settings
      FAIL
      i-doit API requests: 3
      Missing rest settings
      Stack trace:
          #0 phar:///var/www/html/i-doit/idoitcmk/src/Command/Command.php(401): idoit\idoitcmk\Command\Command->useCheckMKAPI()
          #1 phar:///var/www/html/i-doit/idoitcmk/vendor/bheisig/cli/src/App.php(907): idoit\idoitcmk\Command\Command->tearDown()
          #2 phar:///var/www/html/i-doit/idoitcmk/vendor/bheisig/cli/src/App.php(389): bheisig\cli\App->executeCommand()
          #3 phar:///var/www/html/i-doit/idoitcmk/vendor/bheisig/cli/src/App.php(318): bheisig\cli\App->satisfyUserChoice()
          #4 phar:///var/www/html/i-doit/idoitcmk/bin/idoitcmk.php(149): bheisig\cli\App->run()
          #5 /var/www/html/i-doit/idoitcmk(2): include('...')
      
      1 Reply Last reply Reply Quote 0
      • Michael HuhnM Offline
        Michael Huhn
        last edited by

        Hallo @julius

        wenn ich das richtig lese, dann fehlen einfach nur die REST Einstellungen in der config.json.

        J 1 Reply Last reply Reply Quote 1
        • J Offline
          julius @Michael Huhn
          last edited by

          Hi @Michael-Huhn,

          vielen Dank für deinen Hinweis. Es war genau so.

          Obwohl es die Fehlermeldung beschrieben hat, hat deine Übersetzung/Umformulieren den Ausschlag gegeben ("Steht doch da.").

          Vielen Dank nochmal!

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post