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

    addon check_mk 2: idoitcmk Fehlermeldung Undefined index: mandator

    Scheduled Pinned Locked Moved Betrieb
    2 Posts 2 Posters 239 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.
    • M Offline
      marcolenhardt
      last edited by

      Hallo!

      Ich bin gerade am check_mk2 addon konfigurieren und bekomme beim status test diese Fehlermeldung:

      root@5ae54386fc76:/var/www/html# ./idoitcmk -c /data/scripts/idoitcmk/idoit-access.json -c /data/scripts/idoitcmk/cmk-dev01.json -v status
      Check your environment and configured remote connections
      
      Test PHP environment…
      PHP version: 7.3.17
      Required PHP version: >=7.0.8
      OK
      
      Test loaded PHP modules…
      PHP module: Phar
      PHP module: SPL
      PHP module: calendar
      Required PHP module "calendar" not loaded
      FAIL
      
      Test connection to i-doit JSON-RPC API…
      i-doit JSON-RPC API: You disabled security-related cURL options. This is not recommended.
      Undefined index: mandator [phar:///var/www/html/idoitcmk/src/Command/Status.php:158]
      FAIL
      

      Ich habe derzeit nur sehr kurze test konfig files:
      idoit-access.json:

      {
          "i-doit": {
              "url": "https://cmdb.xxxx.local/src/jsonrpc.php",
              "key": "secure",
              "username": "check_mk",
              "password": "secret",
              "limitBatchRequests": 500,
      	"bypassSecureConnection": true
          }
      }
      

      cmk-dev01.json:

      {
          "check_mk": {
              "webAPI": {
                  "url": "https://dev01.xxx.local/dev01/check_mk/",
                  "username": "automation",
                  "secret": "secure",
                  "effectiveAttributes": true,
                  "bypassSecureConnection": true
              },
              "livestatus": {
                  "title": "dev01",
                  "type": "tcp",
                  "host": "dev01.xxx.local",
                  "port": 6557
              }
          }
      }
      

      Fehlt hier evtl noch ein Parameter im idoit Block?
      Ich kann in der Addon Doku leider nichts dazu finden.

      Lg,
      Marco

      1 Reply Last reply Reply Quote 0
      • Michael HuhnM Offline
        Michael Huhn
        last edited by

        Hallo @marcolenhardt

        die Meldung: Undefined index: mandator [phar:///var/www/html/idoitcmk/src/Command/Status.php:158]
        ist lein Bug der noch behoben wird. Kann solang es keine anderen Problem gibt also Ignoriert werden.

        mfg Micha

        1 Reply Last reply Reply Quote 0
        • First post
          Last post