Ad Widget

Collapse

User Macros not expanded for non Zabbix Super Admins

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grenzlaeufer
    Junior Member
    • Nov 2010
    • 24

    #1

    User Macros not expanded for non Zabbix Super Admins

    I have defined two macros with thresholds on template level:
    • {$CRITLV} => 95
    • {$WARNLV} => 90


    I want to use these macros for trigger conditions (works) and as part of the trigger name, eg.
    "JBoss-Container memory usage > {$CRITLV}"

    If I am logged in with a user of type "Zabbix Super Admin" the macro in the trigger name gets expanded with the value. But if I login with a user of type "Zabbix Admin" I only see the macro name "{$WARNLV}".
    I understand that users with less privileges shouldn't see expanded macros which contain passwords, but in the trigger name it would be very helpful for the zabbix-users to see which threshold was reached.
    Is there a way to expand the macros for non Zabbix Super Admins?

    Software:
    • OS: CentOS release 6.2 (Final)
    • zabbix-2.2.2-1.el6.x86_64
    • zabbix-server-2.2.2-1.el6.x86_64
    • zabbix-web-mysql-2.2.2-1.el6.noarch
    • zabbix-release-2.2-1.el6.noarch
    • zabbix-server-mysql-2.2.2-1.el6.x86_64
    • zabbix-web-2.2.2-1.el6.noarch
    Last edited by grenzlaeufer; 12-06-2014, 16:02. Reason: More detailed package Versions
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello!

    Is there a way to expand the macros for non Zabbix Super Admins?
    Sorry, the short answer to your question is no!

    To expand the macros, your limited user must have at least read rights to templates group in user setup. The reason not to expand these macros are the exact ones you mentioned - passwords and other sensitive information. However if you don't have so much classified information in your macros, you can try to enable them to limited users. Limited users cannot access Configuration menu anyways but in Monitoring -> Triggers etc. there is no sensitive information displayed.

    There even is a feature request on this issue so you can vote for its development here (https://support.zabbix.com/browse/ZBXNEXT-2327).

    Best Regards,
    Ingus

    Comment

    Working...