The organization that I'm working with now uses Munin as monitoring tool. We've written a service that streams realtime data about the service that can be displayed by a Javascript component. Preferably the operations team would like to show these metrics in Munin to avoid having another system for realtime monitoring.
- Is it possible and feasible to use Munin for displaying realtime data using Javascript? Preferably I'd like to create this as a plugin but we're fine with modifying some Munin HTML page or similar as well and just add the Javascript component to the page.
- Specifying alerts/alamars when certain properties of the streams go above a certain threshold would be nice as well. Given that (1) is feasible then one idea to integrate this would be to write an external app that reads the realtime stream and identifies when an alert should be triggered. When a error is detected the external app could write this to a file on disk. The idea is then to write a Munin plugin that reads from this file and trigger alters/alarms from within Munin if applicable.