opinkerfi / adagios

Adagios - Web Based Nagios Configuration
GNU Affero General Public License v3.0
328 stars 75 forks source link

Add backend name in status page for hosts and services #506

Open CharlesJUDITH opened 9 years ago

CharlesJUDITH commented 9 years ago

It would be interesting to have the back-end name (useful in case of multi back-end) in status page for hosts and services. And also the possibility to filter objects by back-end name.

Feel free to contact me if you need more information.

palli commented 9 years ago

I like the sound of it, but for it will be required to have a friendly 'short name' for back ends, which at the moment we do not.

CharlesJUDITH commented 9 years ago

Maybe we could add a custom field to set a short back-end name or modify the multi back-end configuration like the following: back-end_short_name_poller1;mypoller1:6557,back-end_short_name_poller2;mypoller2:6557 And make a split like: short back-end name = back-end_short_name_poller1 socket = mypoller1:6557

It could be a part of the improvement of get_all_backends() function.

It's just an idea, but I'm sure there is a better way to have a friendly short name for back-end. :-)