#we d like to use ems collector to
1 messages · Page 1 of 1 (latest)
hi @lime gust can you check the full list of supported EMS events via https://github.com/NetApp/harvest/tree/main/cmd/collectors/ems#how-do-i-find-the-full-list-of-supported-ems-events - we call events that have matching pairs called bookend events https://github.com/NetApp/harvest/tree/main/cmd/collectors/ems#metrics - I'll check after I'm back on vpn
@lime gust There isn't a resolving ems event for callhome.spares.low
You can add this event to custom.yaml. Extending ems template is documented here https://github.com/NetApp/harvest/blob/main/conf/README.md#how-to-extend-a-restrestperfems-collectors-existing-object-template
You'll have to copy all existing events from ems.yaml to your custom_ems.yaml and then add callhome.spares.low to that.
hmm. i prefer the zapi way to extend templates. now i have to re-copy the default to my custom template every new release. why the change?
While Zapi templates were simple and easy to follow when merged, EMS template has different structure which brings many cases for merge which may not be simple for end user hence we went with overwrite for EMS and also Rest/RestPerf template onwards.
Got it. I just have to remember to update our custom templates, hopefully not too many 😆
Thanks!