Ad Widget

Collapse

True/False vs. On/Off

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kberrien
    Member
    • Mar 2007
    • 43

    #1

    True/False vs. On/Off

    Is there anyway to get the macro messages return TRUE or FALSE rather than ON/OFF.

    For instance...

    Database DATASERVER1 is down : ON

    - this means alert flag is TRUE, or the database is down, is not running, is not "on". Looks too much like a double negative, and in a way suggests the database is ON, which it isn't. I'd rather see, and rather explain to the rest of my staff that the message they get will say TRUE, it is down, or false, it is not down.
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,
    Originally posted by kberrien
    Is there anyway to get the macro messages return TRUE or FALSE rather than ON/OFF.
    Yes and no. By Default Zabbix does not support it, however, in my bulk patch, I include a new header file called language.h. In this file I add preliminary support for changing various wording in the emails that are sent out by the server. While I do not cover On/Off, by looking at what I did there it should be pretty easy to see how to do it.
    Unofficial Zabbix Developer

    Comment

    • tronite
      Senior Member
      • Jun 2007
      • 147

      #3
      Originally posted by kberrien
      Is there anyway to get the macro messages return TRUE or FALSE rather than ON/OFF.

      For instance...

      Database DATASERVER1 is down : ON

      - this means alert flag is TRUE, or the database is down, is not running, is not "on". Looks too much like a double negative, and in a way suggests the database is ON, which it isn't. I'd rather see, and rather explain to the rest of my staff that the message they get will say TRUE, it is down, or false, it is not down.
      1.4 should support it by default though!

      Comment

      • kberrien
        Member
        • Mar 2007
        • 43

        #4
        On vs Off in 1.4?

        Originally posted by tronite
        1.4 should support it by default though!
        Yeah? Haven't seen an option for that... is it buried somewhere? The whole on/off things confuses everyone here...

        Comment

        Working...