-
Change Request
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
None
-
Zabbix 4.4+
When defining a macros in templates it would be nice to be able to set whether it is a read only macro that can not be changed anywhere but the template at the source.
If hosts or other templates were to inherit the macro it would be greyed out and not made available to edit.
This way it removes the ability for people to 'break' monitoring by incorrectly overwriting macros that are to never be changed.
I also have another similar feature request (ZBXNEXT-3192) in which macros could have defined validation at the source. For example on a port monitoring template you may specify a macro containing a port which should be an integer between 0-65535.
This way it removes the ability for people to 'break' monitoring by incorrectly setting bad values such as 'abc' in the port case.
I know this could be an education thing, however sometimes you cant protect monitoring from people making mistakes.