iloire / watchmen

A simple node.js service monitor
MIT License
941 stars 195 forks source link

Custom plugin requiring to alter views (service-edit) #68

Open wsergio opened 8 years ago

wsergio commented 8 years ago

Hey there,

Firstly, nice job so far with this project. I've been using it for few months now and, with except of few random crashes, it performed pretty decently.

Anyhow, for more prompt interventions while traveling, I needed these notifications via SMS as well. So I've written a plugin to send SMS notifications via Twilio. All's fine and dandy, except I cannot find an elegant way to extend the webserver/views/service-edit.html view from within the plugin. The plugin should be able to insert a new field per service (ex. "Alert to phone numbers") to be used by the new plugin.

Do you have any suggestions on how could I accomplish this elegantly? I'd like to publish the plugin afterwards, maybe there are others interested in it, and I can't do it without this step.

Thanks, Cheers!

Onfire7 commented 8 years ago

Just wanted to second this.

I am going to be working on a plugin for opening/closing incidents in Cachet soon, and this would come in really handy.