AnsweredAssumed Answered

Host ID assignment?

Question asked by Keith Schoenefeld on Feb 16, 2012
Latest reply on Feb 21, 2012 by Eric Perraudeau

How is the host id (as can be specified in /api/2.0/fo/asset/host via ids=, id_min=, and id_max=) generated?  Are they assigned sequentially?  In other words, if I have a list of hostids that existed yesterday in my account, and take that largest number in that list of ids (assume it's 42), is the following API call guaranteed to retrieve all new assets?

 

/api/2.0/fo/asset/host/action=list&id_min=43

 

I reviewed the documentation, but couldn't find anything in the APIv2 docs or in the online help regarding the method used to generate a hostid for a new host.

 

-- KS

Outcomes