Alerts for Host Disconnection

Hello, I’m wondering if there is a way of issuing an alert if kapacitor is unable to connect to a certain influxDB?

Thx,
M