Audio Alerting

Hello,

it’s possible to add an Alert song on LibreNMS ?

If yes, how?

I never seen this done around here… but that would be pretty cool heh

Ok, i’ll try to speak with an dev about this and i’ll come back :wink:

What would be best, sound notifications on the website or on the server?

  • Web
  • Server
  • I don’t like polls

0 voters

1 Like

But, i don’t like polls :wink: .

It’s for support team, not for us (admin).

Do you have any new information about this?

1 Like

Anyone can share how to configure audio alert on LibreNMS for easy alarm tracking

I would recommend to utilize transport options for advanced alert options. Most provide audio upon notification https://docs.librenms.org/Alerting/Transports/

You could also setup transport twice, and send alerts into different channels depending on severity. Then you can set notification preferences for channels. E.g Critical audio alarm, minor mute.

Opsgenie and others can be even more powerful, depends on your use case.

@Chas
Thank you for the interesting suggesting.
Unfortunately, I can’t use transport you pointed because they requires to be connected to the internet.
Could you please tell me if there is a solution to play a sound on alert that doesn’t require to be online?
I’m looking for a solution to play a sound alarm in case of alert.

Thank you in advance

@ppasserini
You don’t need to be connected to internet to use a transport. You just need to reach whatever device is providing it.
You could for instance use API transport that would call some local url (like http://192.168.1.10/makenoise ) and you’d be good to go. You would then need to write a small piece of your prefered language that generate a noise at that URL, on a raspberrypir for instance, each time the URL is called.

1 Like

@PipoCanaja
Thank you very much for the tip…I’ll try as soon as possible.

@PipoCanaja
If I may… Could you provide a guide for audio alert?

Hello

I already explained it. You need an audio equipment that can be called via http/https/REST/json or equivalent API. And you can build it yourself out of a raspberry pi and a few lines of code.
And from that, it will be easy to use the API transport.

Bye