[Pkg-nagios-devel] Bug#482462: nagios3: Nagios sounds (wavs) not playing in Safari, Firefox

Chris Hiestand chiestand at salk.edu
Thu May 22 22:09:44 UTC 2008

Package: nagios3
Version: 3.0.1-1~bpo40+1
Severity: minor

It's possible that this problem has been fixed in the already
available upstream version, and the debian version does need
to be bumped again. But the nagios sounds won't play in my web
browsers, Firefox or Safari 3.1.1.

I believe that nagios 3.0.2 does not fix the problems due to the
"Fixed bug in status CGI where sounds were not played for passive
service problems"
The sound issues I'm having are not passive service problems, but
host down or active service critial failures.

Currently the nagios audio html looks like this:
<object type="application/wav" data="/media/critical.wav" height="0"
<param name="filename" value="/media/critical.wav">
<param name="autostart" value="1">
<param name="playcount" value="1">

I have created a test page where the sound does play correctly:

<object type="audio/x-wav" data="/media/critical.wav">
<param name="playcount" value="1" />
<param name="src" value="/media/critical.wav" />
<param name="autoplay" value="true" />

For Firefox: change autostart = 1  =>  autostart = true
For Safari: change autostart = 1 	=>   autostart = true
add: <param name="src" value="/media/critical.wav" />

I haven't tested IE.

I believe that "audio/x-wav" is a better mime type than
"application/wav", but the browsers I tested don't care.

Also, moving towards HTML5 is probably a good idea in the future.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios3 depends on:
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libgd2-noxpm           2.0.33-5.2        GD Graphics Library version 2 (wit
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG 
ii  libperl5.8             5.8.8-7etch3      Shared Perl library
ii  libpng12-0             1.2.15~beta5-1    PNG library - runtime
ii  nagios3-common         3.0.1-1~bpo40+1   support files for nagios3
ii  perl                   5.8.8-7etch3      Larry Wall's Practical Extraction 
ii  zlib1g                 1:1.2.3-13        compression library - runtime

nagios3 recommends no packages.

-- no debconf information

More information about the Pkg-nagios-devel mailing list