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

    Check_MK 2 - Push

    Scheduled Pinned Locked Moved Allgemein
    2 Posts 2 Posters 357 Views
    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.
    • JulianJ Offline
      Julian
      last edited by

      Hallo,

      ich hab via idoitcmk init eine ganz simple config.json erstellt, mit der man grundlegend erstmal den Host nach Check_MK schubsen kann. Also ohne push, pull, etc. In CMK aktiviere ich den Change und der Host ist drin.

      Ich möchte natürlich die automatische Aktivierung. Habe folgendes der config.json hinzugefügt:

          "push": {
              "activateChanges": true,
          },
      

      Wenn ich dann einen Push trigger erhalte ich eine Fehlermeldung und im Log finde ich das:

      [2020-07-24 12:57:12 0.51680800] INFO: Starting idoitcmk command processing...
      [2020-07-24 12:57:12 0.51681600] INFO: Command configuration was found.
      [2020-07-24 12:57:12 0.51682600] INFO: Command type cmk_command_update_to was found and successfully compiled with available parameters:
      [2020-07-24 12:57:12 0.51682700] INFO: ObjectId = 3056 and Hostname = servernamexyz
      [2020-07-24 12:57:12 0.51682800] INFO: Compiled command string: /usr/local/bin/idoitcmk push --yes --include-ids 3056
      [2020-07-24 12:57:12 0.51682900] INFO: Executing command...
      [2020-07-24 12:57:12 0.56398800] ERROR: Execution failed with exitStatus 1 (Command failed)
      [2020-07-24 12:57:12 0.56401400] INFO: Command output:
      Return value of bheisig\cli\JSONFile::read() must be of the type array, null returned
      

      Hab gerade keinen Ansatz, wie ich weiter die Ursache finden könnte. Bitte um Hilfe 😞

      Gruß

      1 Reply Last reply Reply Quote 0
      • Philipp HörselmannP Offline
        Philipp Hörselmann
        last edited by

        Moin @Julian
        anscheinend hat bisher keiner was dazu mitteilen können...
        Da ich das gerade in unserem "Fangnetz" 😉 gefunden habe, wollte ich mal nachfragen, ob du das Problem lösen konntest?

        VG
        Phil

        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