Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Dynamic page background colour & triggered sounds #6

Open
stevegoossens opened this issue Apr 24, 2013 · 0 comments
Open

Comments

@stevegoossens
Copy link

Hi Chris,

I'm still unfamiliar with GitHub, so apologies in advance if this is in the wrong section...

So this isn't an issue with NagiosTV, as it is awesome already, and I have it up and running - it's a feature request for a couple additions which would probably be fairly easy to tack on. Ultimately, I'd like to use NagiosTV on a large, portrait mounted TV, for a visual and audible indication of network and host statuses. The small additions I can see as beneficial for anyone using NagiosTV are:

  1. dynamic background colour

The black background is great, but it is not strikingly obvious when there are unacknowledged/current hosts/services changing to a hard warning/critical status, especially if there are a number of acknowledged alerts.

pseudo-code state to colour:

if hard_criticals > 0 then bg = red
else if hard_warnings > 0 then bg = yellow
else if soft_criticals > 0 then bg = dark-red
else if soft_warnings > 0 then bg = dark-yellow
else bg = black
document.body.style.backgroundColor = bg

  1. triggered, possibly repeating, audio alerts for hard statuses

We can't always be watching NagiosTV all the time, maybe some people don't have line-of-sight to the monitor/TV when at their desk, so some form of audible alerts for hard warnings and hard criticals would be really nice. I think repeating the audio alert every X minutes would be good in case the status change occured when people were not around to hear the first alert sound.

pseudo-code again:

if hard_criticals > 0 and critical_sound_interval_is_up then soundCriticalAlert
else if hard_warnings > 0 and warning_sound_interval_is_up then soundWarningAlert

not sure what to suggest as a sound format that all platforms/browsers would play embedded without issue or need for plugins/addons... maybe wav or mp3?

Hope you can find some time to add these features for a new version in the future :)

Keep up the good work!

Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant