DX Unified Infrastructure Management

  • 1.  HPE Simplivity and Rest API

    Posted May 10, 2019 03:57 AM

    Hi community,

     

    Our overeager sales department has sold HPE Simplivity monitoring to one of our customers, without checking if this is possible at all.

     

    Naturally, we need to implement it anyway.

     

    Out of the box, UIM has no monitoring available, but Simplivity has an extensive rest api, so we could get the necessary metrics using the RESTmon probe.

     

    However, documentation is sketchy at best and nobody in our team has any experience pulling data using rest api from a more advanced product.

     

    First question:

    1. You first need to get an authorization token from the simplivty cluster.

    2. This token needs to be passed in a second API call, so we can query.

     

    Somehow, the restmon probe needs to get this token first and then do his queries. Even more, this token expires after 10mins of non activity, so a new one needs to be pulled at regular intervals.

    Is this possible at all? Has anyone got any experience with this?

     

    Second question:

    For metrics data, an id needs to be passed through to the API. Which means we first need to query for that id, put that id in a variable and then send a new query with that id to the API. This way, we can get all the metrics required.

     

    It's a bit the same principle as the first question, but it's also not clear if this is possible using the restmon probe. Again, has anyone got any experience with this?

     

    Thanks

     

    Mark



  • 2.  Re: HPE Simplivity and Rest API

    Posted May 10, 2019 02:52 PM

    Perhaps reviewing the available samples will help.

    download and unzip for a collection of json schemas.

    http://support.nimsoft.com/Files/Archive/00476/restmon_sample_schemas-1.12.zip 



  • 3.  Re: HPE Simplivity and Rest API

    Broadcom Employee
    Posted May 13, 2019 02:51 AM

    Hi,

     

    In case hypervisor for your HP Simplivity is vmware,

    then you might want to take time to validate existing probe stack, such as vmware probe, snmptd probe, and so on.

    vmware probe is able to talk to hypervisor, while snmptd probe can catch vCenter SNMP traps.

     

    A KB that describes some vSAN related metrics OOTB available in vmware probe.

    https://comm.support.ca.com/kb/does-vmware-probe-support-vmware-vsan-storage-monitoring/kb000013678

     

    Hope it helps.

    Yu Ishitani