Webinterface Sound files

Jan van den Berg jan at e-commercepark.com
Fri Apr 4 18:04:01 CEST 2003


So the bottomline is, that it is possible? :)

I definitely want to give it a try then, because it can be pretty
valuable.
I do have a little trouble understanding what your saying: could you
just elaborate on it a little?

Regards,

Jan van den Berg



-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ben
Garcia
Sent: Thursday, April 03, 2003 5:58 PM
To: Nagios-Users (E-mail)
Subject: RE: [Nagios-users] Webinterface Sound files

You could modify the output that is passed to Nagios in such a way that
a HTML <EMBED> tag is passed through.  That way when the page refreshes
it would automatically pass the tag and play (unless HTML is filtered
from the return string?).

Could be VERY annoying -- esp. if you got lots of devices in a non-ok
state, but that may do the trick for ya.  You'd have to write a
"wrapper" that would take the exit code and return string from the
plug-in, concat the tag to the return string and then well..  return
it...  :-)  

If you wanted to be able to choose what files to play for which services
you could just pass it as an argument to your wrapper and then code it
to put the passed argument into SRC attribute of the tag.

Just a thought...

--Ben

-----Original Message-----
From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
Sent: Thursday, April 03, 2003 3:13 PM
To: Nagios-Users (E-mail)
Subject: Re: [Nagios-users] Webinterface Sound files


On Thu, 3 Apr 2003, Jan van den Berg wrote:

> Hi there,
> 
>  
> 
> I was wondering what the possibilities are when writing a plugin that
> this plugin has its own custom sound files played.
> 
>  
> 
> I understand that there are only so few return codes for a plugin
> (warning, critical etc.) but how about the soundfiles?


Plugins are not executed by the web interface so the possiblility of 
knowing what sound to execute for which service would be pretty 
complicated...


-- 

-sg



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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