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

    Posts

    Recent Best Controversial
    • RE: idoitcmk push fails

      @michael-overkamp
      Danke, das hat funktioniert.
      Ich kann jetzt mit dem Befehl

      idoitcmk push --include-ids
      

      in das CheckMK exportieren. Der Befehl

      idoitcmk push --include-title
      

      liefert allerdings noch die selbe Fehlermeldung wie zuvor.

      posted in Allgemein
      T
      tt_132
    • idoitcmk push fails

      Hallo,

      ich würde gerne einen Host bzw. einen Switch aus der i-doit CMDB in CheckMK 2 mit dem "push"-Befehl des idoitcmk-Tools importieren.

      Wenn ich den Befehl

      idoitcmk push --include-ids
      

      benutze erhalte ich folgende (Fehler-)Meldung:

      administrator@server-idoit01:/usr/local/bin$ idoitcmk push --include-ids 961
      Generate WATO configuration based on CMDB data
      
      Fetch all relevant objects from i-doit by their identifiers…
      1 object will be used
      
      Looking for hosts in Checkmk…
      There are no hosts.
      No host will be used
      
      Match objects from i-doit with hosts from Checkmk…
      Object "switch01_test" [961] has invalid value "switch01_test" for attribute "Hostname" in category "Checkmk Host"
      
      Fetch remote management controllers from i-doit…
      Object "ILOXXXXXXXXXXXX" [960] has not any addresses
      
      Find contact groups for hosts…
      
      No hosts in Checkmk will be updated
      No hosts in Checkmk will be created
      Nothing to do
      

      Wenn ich den Befehl

      idoitcmk push --include-title
      

      benutze erhalte ich diese (Fehler-)Meldung:

      administrator@server-idoit01:/usr/local/bin$ idoitcmk push --include-title switch01_test
      Generate WATO configuration based on CMDB data
      
      Fetch available object types from i-doit…
      
      Fetch all relevant objects from i-doit by their types…
      Found invalid result for request in batch:
      

      Aufgrund vorheriger Fehlermeldungen habe ich dem Objekttyp "Switch" die Kategorien "Checkmk Host" und "Checkmk Tags" hinzugefügt. Bei dem betroffenen Objekt "switch01_test" habe ich in der Kategorie "Checkmk Host" folgende Attribute vergeben:

      Unbenannt.PNG

      Die Tests

      idoitcmk configtest
      

      und

      idoitcmk status
      

      zeigten keine Probleme.

      Über Rückfragen/ Lösungsvorschläge würde ich mich freuen.

      Grüße
      tt_132

      posted in Allgemein
      T
      tt_132