Hi,
Is there any way to add asset inventory via SWIS? Like using create or invoke methods. If possible, can you give an example?
I try this code but got that error, "Entity Orion.AssetInventory.Polling does not contain any key properties. Parameter name: entityType"
swis.Create("Orion.AssetInventory.Polling", new PropertyBag
{
{"EntityType", "Orion.AssetInventory.Polling"},
{"NodeID", pai.NodeID},
{"PollingDescriptionName", pai.PollingDescriptionName}
});
Programmatically configuring Asset Inventory is not supported right now. We have an internal ticket to add it as a feature. The ticket number is 348041 if you want to check on status in the future.
Thanks for reply madhavan,
I will wait to supporting this feature. I hope it will be asap.
Was there ever any update to this ticket?
Did internal ticket number 348041 ever see the light of day?
No update here. This is still not supported.
How about now? This is exactly what I'm looking for on a project I'm running or is ticket number 348041 still quietly accumulating dust? I'm actually attempting to use the REST API as opposed to SWIS, if it makes any difference.
The fastest way to enable asset inventory in mass is to create a discovery job on all the nodes you want it enabled on. This will delete historical data but will enable the option as long as the target device is communicating with something other than ICMP.
Sooooo is this supported in 2018 ?
No, it is not.
Still not on the radar for 2019?
From what I can tell, this is not supported yet. The internal ticket number is now SAM-7966 instead of 348041.