Ad Widget

Collapse

Mail Notifications Translation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Xyk0
    Junior Member
    • Oct 2007
    • 6

    #1

    Mail Notifications Translation

    Is there any way to translate the macros used on Actions?

    Today I'm creating two notifications for each trigger status just to insert its status in portuguese, instead of using just one action and the macro {TRIGGER.STATUS}.
  • Xyk0
    Junior Member
    • Oct 2007
    • 6

    #2
    Never mind. Found it.

    Just edited src/libs/zbxserver/expression.c and changed lines 1307 and 1316 (on Zabbix 1.6) from:

    event->value == TRIGGER_VALUE_TRUE ? "ON" : "OFF");

    to:

    event->value == TRIGGER_VALUE_TRUE ? "PROBLEMA" : "OK");

    Comment

    Working...