Hi,

Writing a monitoring solution for a storage array I want to monitor capacity / performance metrics at the volume level. Issue is that at this level, objects tend to be fluid and of high volume (i.e. there can be high numbers of objects exceeding the 50 channel limit per sensor and volumes can be deleted/renamed as normal operational process). I am looking at how I can address these considerations and thinking:

- Create a sensor dynamically per volume - Remove a sensor when a volume has been deleted - Remove channels within a sensor

Is there a way to control this level of sensor lifecycle within a custom script?

Thanks for the help!


Article Comments

So I am using the Rest API to create a clone of an existing sensor then modifying it as required. I am also using the Rest API to delete sensors associated with deleted objects. It wold still be good to see the ability to delete channels within a sensor, is this possible?


Oct, 2017 - Permalink

Hi there,

Another user posted here a quite capable powershell script that can be used to create sensors dynamically.

As for deleting sensors, it can be done by triggering an API call to delete the sensor as an HTTP notification: /api/deleteobject.htm?id=%sensorid&approve=1 %sensorid is a placeholder that will fill dynamically the id of the sensor that triggers the HTTP notification.

Kind regards,

Erhard


Oct, 2017 - Permalink