PDA

View Full Version : True/False vs. On/Off


kberrien
06-04-2007, 14:01
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
06-04-2007, 17:42
Greetings,
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.

tronite
10-06-2007, 13:50
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!

kberrien
11-06-2007, 18:00
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...