Kapacitor alerting features

Hi, I found the following information on Kapacitor, however I am confused what we can do here. Can anybody explain what the line means - “Alerts are published to topics and handlers subscribe to a topic. This pub/sub model and the ability for these to call User Defined Functions make Kapacitor very flexible to act as the control plane in your environment”. Can somebody give an example on this. Confused whether kapacitor allows called UDF from some alerts, does that mean based on that alert I can do some other function like suppose CPU utilization is high, maybe restart that sytem?

Hello @Pratik_Das_Baghel,
Here’s an example: