Ad Widget

Collapse

{STATUS} naming different in notifications?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eger
    Member
    • Nov 2006
    • 95

    #1

    {STATUS} naming different in notifications?

    This got a little confusing for me. Triggers have values of true or false. But the actions have status as on or off. Is it possible to have the actions also as true or false?

    An example is an action that notifies using {TRIGGER}: {STATUS}. The email will come in as: "Server zabbix.egihosting.com is unreachable: ON". However this is confusing as it could be read that the server is ON. If it read "Server zabbix.egihosting.com is unreachable: True" then it makes sense to me that the statement is true, so it is true the server is unreachable, that that the statement is ON or OFF.

    I'm not sure if this is hard coded. But I would like this to be changed to follow a true/false approach like the triggers. Just a simple suggestion that I think makes sense

    Anyone else have any thoughts on this?
  • eger
    Member
    • Nov 2006
    • 95

    #2
    OK, so I found the language file inside includes/locales and found where 'ON' and 'OFF' were defined. Here is what I changed:
    Code:
    'S_ON'=>                                'TRUE',
    'S_OFF'=>                               'FALSE',
    Seemed to have no affect on the emails. Is this a hard coded text?

    Comment

    Working...