vCenter

 View Only
  • 1.  Automatically Adding Auto-Discovered Agents to Inventory (hqapi)

    Posted Mar 31, 2010 10:14 PM
    I am currently adding agents to the inventory through the auto-discovery method. I was wondering if there is a way to automatically add auto-discovered agents to the inventory without logging into the dashboard and clicking the auto-add button.

    Also, what are the advantages and use cases of using hqapi to add objects to the inventory versus relying on auto-discovery?


  • 2.  RE: Automatically Adding Auto-Discovered Agents to Inventory (hqapi)

    Posted Apr 01, 2010 01:57 AM
    Hi,

    You can use hqapi to automatically approve any items in the auto inventory queue. We have a lot of customers who setup cronjobs to run the approve command to do this automatically.

    Using HQApi to add to inventory saves you from having to add items via email. It can be used to programatically add batches of resources which are not added via auto discovery. For large environments it can save admins lots of time.


  • 3.  RE: Automatically Adding Auto-Discovered Agents to Inventory (hqapi)

    Posted Apr 01, 2010 06:59 PM
    Why wouldn't I auto-approve only using hqapi, instead of force-adding using hqapi?


  • 4.  RE: Automatically Adding Auto-Discovered Agents to Inventory (hqapi)

    Posted Apr 02, 2010 12:25 AM
    Hi,

    My second statement was a bit misworded. That's what I get for multi tasking. :)

    Automating via hqapi is your best option.


  • 5.  RE: Automatically Adding Auto-Discovered Agents to Inventory (hqapi)

    Posted Apr 05, 2010 04:31 PM
    It sounds like it's a matter of preference depending on what the individual wants.
    Thanks for the tip.