configure sound alaram nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kobil
Posts: 1
Joined: Thu Sep 12, 2019 6:26 am

configure sound alaram nagios XI

Post by kobil »

hello every one i want to configure sound play when the ping loss to my devices how can i do this?!!thanks
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: configure sound alaram nagios XI

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: configure sound alaram nagios XI

Post by scottwilkerson »

Here is one example using a Raspberry Pi
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked