shinken-monitoring / mod-webui

Shinken Web User Interface
GNU Affero General Public License v3.0
79 stars 71 forks source link

Brainstorming around Business rules #240

Open mohierf opened 9 years ago

mohierf commented 9 years ago

What should the WebUI do with business rules:

Simage commented 9 years ago

Display is a definite.. possibly in such a way that you can see what part of the rule is causing the failure and which hosts and/or services are referenced.

While I think it may be nice to build and manage business rules and other config items from within the webui I wonder if that's perhaps a better task for a plug in. .. a plugin/module should be able to register it's own url using the internal appreference I believe....

maethor commented 9 years ago

You are absolutely right @Simage. It's not the case for know, but we could make it work to lighten the webui.

OK, my mistake. In fact this is already working. Look around line 317 of module.py. @mohierf have tested it this week and it's working.

mohierf commented 9 years ago

+1. Thansk @Simage for your comments

Simage commented 9 years ago

@maethor Unless I'm missing something in my read, that's simply loading the plugins isn't it?

Edit: Sorry... got plugins and modules confused again

maethor commented 9 years ago

That's loading the plugins… for each module (the loop on line 314). So each module can brings it's pages.

Maybe I didn't understand your question?