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

    API script to create objects in idoIT

    Scheduled Pinned Locked Moved General
    5 Posts 3 Posters 1.3k Views 2 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.
    • A Offline
      AnilSuthar
      last edited by AnilSuthar

      Hi Everyone,
      I want to create 1000 objects "Virtual Server" in idoIT, is there a way to synch Virtual machine information from Vcenter and automatically create those objects in idoIT ? I know API is an option, not sure how to get it done, anyone has done it before ? Please share any script if available, will be a great help.

      Edit: I want to automate this as well, so whenever i create a new virtual server in Vcenter, the script should create object in idoIT as well, whenever it runs next time.

      Thanks

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        AnilSuthar @AnilSuthar
        last edited by

        @AnilSuthar 8 days no repsonse from anyone, do you think you can help me guys ? 🙂

        MartinVM 1 Reply Last reply Reply Quote 0
        • MartinVM Offline
          MartinV @AnilSuthar
          last edited by

          I don't have a ready-made script for you. The APi call to create an object is described in the Knowledge Base. How this is called depends heavily on the programming/scripting language useed.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            mamawe @MartinV
            last edited by mamawe

            As @MartinV already wrote, a ready-made script for your special problem is probaby hard to come by. If you want to write one yourself, there are a few options.

            • When using the shell you could try the i-doit CLI tool. I started with this and use it some times for quick tests.
            • If your more inclined to Python, have a look at i-doit_API.
            • I personally write my scripts with Perl using the WebService::IdoitAPI module.

            Kind regards,
            Mathias

            [Edit: correct typo]

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              AnilSuthar @mamawe
              last edited by

              @mamawe Thank you, will explore the oprtions and update.

              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