Module: check_mk
Branch: master
Commit: b16015a540a6ec7571fdf98179e59cddad288e96
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b16015a540a6ec…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jun 29 10:30:52 2016 +0200
3657 Custom host attributes can now be configured
It is now possible to declare custom host attributes (just like for users). By default
the
custom attributes are just fields in the configuration GUI which you can use to store
host related values in.
Each of the attributes can be configured to be exported as custom variable to the
monitoring core. In case you do this for a custom attribute, the variable will be
available
in the monitoring GUI, in notifications and via raw livestatus for your scripts or 3rd
party
tools.
If you create a custom variable "my_custom_variable", it will result in a custom
variable
"_MY_CUSTOM_VARIABLE" in the monitoring core.
---
.werks/3657 | 19 +++++++
ChangeLog | 1 +
web/htdocs/userdb.py | 15 +++---
web/htdocs/wato.py | 122 ++++++++++++++++++++++++++++++++++----------
web/htdocs/watolib.py | 18 +++++++
web/plugins/config/wato.py | 1 +
6 files changed, 142 insertions(+), 34 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=b16015a540…