Recently use Azure Collector to update CMDB from Azure managent API.
All VMs end up with the status unknown. param.local set to <status>state</status>. But status is not in the json export from MS API. From reading the MS APIs one would need to use the instanceView command ?
Does anyone have another idea?
Xavier
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As you've seen, the only status given by MS API is the "Provisioning status" and this one is reported to iTop under the "Other information" section of the Azure VM.
By default, the collector set the iTop status to the value defined in the "defaults" section of the collector definition, in the params.distrib.xml file:
<defaults>
...
<status>implementation</status>
</defaults>
You may change that value, of course (production, for instance).
Now, I understand that result is not as expected. Your status is set to unknown ? Have you kept the default status value ? There is no entry in the status column in the csv file AzureVirtualMachineAzureCollector-1.csv (the last column) ?
Christophe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bonjour,
Recently use Azure Collector to update CMDB from Azure managent API.
All VMs end up with the status unknown. param.local set to <status>state</status>. But status is not in the json export from MS API. From reading the MS APIs one would need to use the instanceView command ?
Does anyone have another idea?
Xavier
Hello,
As you've seen, the only status given by MS API is the "Provisioning status" and this one is reported to iTop under the "Other information" section of the Azure VM.
By default, the collector set the iTop status to the value defined in the "defaults" section of the collector definition, in the params.distrib.xml file:
<defaults>
...
<status>implementation</status>
</defaults>
You may change that value, of course (production, for instance).
Now, I understand that result is not as expected. Your status is set to unknown ? Have you kept the default status value ? There is no entry in the status column in the csv file AzureVirtualMachineAzureCollector-1.csv (the last column) ?
Christophe