I’ve been using the excellent monitoring software BGPalerter since it was announced in the last LACNIC meeting, to take care of several BGP and IP resources I closely monitor. You can learn more in this post or in the LACNIC video session.

Since version 1.25.0 there’s the possibility to integrate the reporting system with any HTTP Webhook. And so… me as a heavy user of Pushover.net, was able to successfully connect both of them, allowing me to receive those alerts right in my mobile phone.

The steps are:

  1. log in to your Pushover account. Take note of your “User Key” right in you user landing page.
  2. create a new “Application Key” for BGPalerter. You should go to “Create an Application/API Token” in the same page, and obtain a different Token.
  3. Edit your config.yml in BGPalerter, adding a new subsection in the “reports” section. You can tune it with the channels of your choice, and also the priority (0 for normal, 1 for high, etc.

 - file: reportHTTP    channels:      - hijack      - newprefix      - visibility      - path      - misconfiguration      - rpki    params:      templates:        default: '{"message": "${channel}: ${summary}", "title": "BGPalerter", "priority": "1", "token": "_YOUR_API_TOKEN_HERE_”", "user": "_YOUR_USER_KEY_HERE_”}'      headers:      isTemplateJSON: true      showPaths: 0      hooks:        default: https://api.pushover.net/1/messages.json

Restart the BGPalerter service, and you’re done! You’ll start receving messages like this:

 ![FILL](IMAGE.jpg)

You can also maintain the reportFile subsection, and I recommend it so, because the pushover notifications are just a summary of the detected problems. In my case I always look the file reports after receiving a mobile alert, for the complete details.

Disclaimer: please note I’m not affiliated with NTT nor Pushover people. This is an unofficial documentation from just as a happy user!


Next post: Cómo Leer un RFC

Previous post: Cómo hacer un rollover de algoritmo en DNSSEC, paso a paso