No audio alert

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
lkthomas
Posts: 7
Joined: Mon Jan 06, 2014 5:11 am

No audio alert

Post by lkthomas »

Hi all,

I found something very interesting, currently I am running Ubuntu 12.04 + VLC web plugin.

Web audio sound alert doesn't work, after couple hours of troubleshoot, I found out the problem is from this source code:

working (modified):
<object type="audio/x-wav" data="/nagios/media/service_warning.wav" height="-" width="1"><param name="filename" value="/nagios/media/service_warning.wav"><param name="autostart" value="true"><param name="playcount" value="1"></object>

not working (original code from nagios):
<object type="audio/x-wav" data="/nagios/media/service_warning.wav" height="-" width="0"><param name="filename" value="/nagios/media/service_warning.wav"><param name="autostart" value="true"><param name="playcount" value="1"></object>


so basically width can't be zero, is it a bug or something?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No audio alert

Post by scottwilkerson »

I believe this was a bug in some browsers. I have committed code for the next release that makes the height and width 1px each.
http://sourceforge.net/p/nagios/nagiosc ... c9ab9d397/

Thanks
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked