[ZBX-3184] {TRIGGER.KEY} can not be used to display minus value like "-1.3": result: 16777216 Created: 2010 Nov 05  Updated: 2017 May 30  Resolved: 2010 Nov 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 1.8.2
Fix Version/s: 1.8.4

Type: Incident report Priority: Minor
Reporter: Richard Marnau Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 5.0 // Zabbix 1.8.2



 Description   

MAX 15 minutes: {{HOSTNAME}:

{TRIGGER.KEY}.max(900)}
MIN 15 minutes: {{HOSTNAME}:{TRIGGER.KEY}

.min(900)}

The trigger.key was between -1.5 and -3.8. The result is:

MAX 15 minutes: 16777216 TCelius
MIN 15 minutes: 16777216 TCelius

The trigger.key was between 2 and -1. The result is:



 Comments   
Comment by Richard Marnau [ 2010 Nov 05 ]

... trigger.key between 10 and -1

MAX 15 minutes: 10 Celius
MIN 15 minutes: 16777216 TCelius

{TRIGGER.KEY}

can not be used to display minus value.

Comment by Aleksandrs Saveljevs [ 2010 Nov 17 ]

Server notifications also used 1000 for bits and 1024 for everything else (e.g., 3.2 Mbps). This will be fixed to be 1024 for bytes and 1000 for everything else.

Comment by Aleksandrs Saveljevs [ 2010 Nov 17 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-3184.

Comment by Aleksandrs Saveljevs [ 2010 Nov 17 ]

Merged into pre-1.8.4 in r15583.

Generated at Wed Apr 24 14:51:11 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.