Page 1 of 1

configure sound alaram nagios XI

Posted: Thu Sep 12, 2019 6:31 am
by kobil
hello every one i want to configure sound play when the ping loss to my devices how can i do this?!!thanks

Re: configure sound alaram nagios XI

Posted: Thu Sep 12, 2019 8:21 am
by eloyd
Since Nagios is capable of running on a wide variety of hardware, including virtualized environments where there are no speakers, sound is not built in.

However, you could write a custom component that displays the appropriate browser media control to play a sound when a service/host is in a particular state. That way, the component would display (invisibly) in your browser, but tell your browser to play a sound.

This is not trivial programming, but it is relatively straightforward. However, it is beyond the scope of the support forums. You'll need to look at the https://support.nagios.com/kb/article/n ... s-291.html document to get an idea of how to program it.

Re: configure sound alaram nagios XI

Posted: Thu Sep 12, 2019 12:45 pm
by scottwilkerson
Here is one example using a Raspberry Pi
https://assets.nagios.com/downloads/nag ... ios-XI.pdf