AW: Sounds in web interface

Helmut Januschka h.januschka at krone.at
Tue Aug 17 14:39:23 CEST 2004


why you don't try to hack in some cookie challenge ?

or do it with a java script function , playing the sound in a popup/under
and if its already open don't repoen it :), and if you aknowleged the problem close the popup

or if all services are OK call a javascript popup close funktion (to make sure its gone)


cu
Helmut Januschka

-----Ursprüngliche Nachricht-----
Von: nagios at mm.quex.org [mailto:nagios at mm.quex.org] 
Gesendet: Dienstag, 17. August 2004 13:26
An: nagios-users at lists.sourceforge.net
Betreff: Re: [Nagios-users] Sounds in web interface


On Tue, Aug 17, 2004 at 10:18:21AM +0200, jan gregor wrote:

>> You can find this in cgi.cfg. Just uncomment the wav's you want to
>> activate

> Yes, I know about this. But web interface plays sounds each time it is 
> refreshed. I want it to do so ONLY if status of service(s) changes 
> between two refreshes.

I don't think that'd be possible without some major hacking to the CGI's, as HTTP is itself a stateless protocol (so the CGI's don't know if it's the first or second or ten millionth time the browser has reloaded the page), and as far as I know the CGI's don't do any session tracking.  Possibly this planned for 2.0 or 3.0 or 6.x? :)

If you don't need to tie in the sound to the web interface, you might want to consider setting up a special notification contact that will play a sound on appropriate machine(s) when an event occurs.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list