[Nagios-devel] Small Patch for Embed Audio in tac.c and status.c
Posted: Fri Aug 11, 2006 7:55 am
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]
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]