[Nagios-devel] Small Patch for Embed Audio in tac.c and status.c

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
Guest

[Nagios-devel] Small Patch for Embed Audio in tac.c and status.c

Post by Guest »

I use Firefox to watch the Tac Overview. This patch is very minor and I
did it because I didn't want to download Quicktime just to hear the
standard .wav files for notifications. I usually don't provide patches
so I'm not sure the proper way to submit so I'll just post here. I'm
basically replacing the EMBED tag in the tac.cgi and status.cgi with a
more standards compliant OBJECT tag. I only tested on Firefox 1.5.0.6
and IE 6.0.2900.2180.xpsp.050622-1524. YMMV. I did this based on the
source for 2.5.

[root@admin01 cgi]# diff tac.c tac.c.new
288,290c288,293
",url_media_path,sound);
if(sound!=NULL) {
> printf("");
> printf("",url_media_path,sound);
> printf("");
> printf("");
> }

[root@admin01 cgi]# diff status.c status.new.c
434,436c434,438
",url_media_path,sound);
if(sound!=NULL) {
> printf("");
> printf("",url_media_path,sound); printf("");
> printf("");
> }






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked