Menu

Azure Collector - Virtual Machines running status

2023-10-23
2023-11-24
  • Xavier Prieur

    Xavier Prieur - 2023-10-23

    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

     
  • Xtophe38

    Xtophe38 - 2023-11-24

    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

     

Log in to post a comment.