Converting output of the DS to colums in RAW Data
I have created a Custom Datasource for netapp I am able to get the output with broken disks in the names and the count now I want these to be displayed in Raw data and then the alert should display the names as well. Based on my knowledge we can use Wildvalue but not able find the correct way to use it can someone help me on this.
stdOutput | stdError | |
|---|---|---|
brokenDiskCount=2 |
venkat
Posted 11 months ago·Last reply 10 months ago
1 comment
Joe Williams
·10 months agoSo my understanding is that you want each broken disk name to be its own thing? In that case you would want to use ActiveDiscovery first to give you those. You return those in say a foreach. Something like this in a Batch SCript
Now each of those is an instance.
Then in collection you do the exact same code basically but with a key/value
Since its broken, no state just return a hard value and set a threshold. Then have say the datasource delete the instance when not found.