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