Setting up Alerts when specific aircraft are seen?

Discussion in 'Feeding' started by Dan Dawson, Mar 15, 2019.

  1. Dan Dawson

    Dan Dawson New Member

    What are the steps I would need to take in order to set up alerting when specific aircraft tail numbers are active on the network?

    I've got my Raspberry Pi 3B+ set up and feeding, and I am successfully seeing the data in my Grafana dashboard locally and the aircraft on ADSBexchange.

    From the Grafana dashboard I have clicked Alerting --> Notification Channels and set up a connection to a Slack channel, and when I click test it succesfully delivers the test message to Slack.

    When I go to the Alert List it is currently empty, when I go to How to add an alert it has the basic text of:

    Alerts are added and configured in the Alert Tab of any dashboard graph panel, letting you build and visualize an alert using existing queries.

    To persist your alert rule changes remember to save the dashboard.

    Would someone be willing to provide the details of how to set up an alert for aircraft by tail number?

    I assume I first need to create a list of visible aircraft that has a list of tail numbers, then in the Alert configuration tab of that panel I would set up an alert when the specific tail numbers I want to see are in the list, evaluated once every 60 seconds or so.

    Any help would be greatly appreciated :)
     
  2. James

    James Guest

    You could do this with the REST API.

    I'm sure it can be done with Grafana by writing something that looks at the dump1090 json ....