-
Change Request
-
Resolution: Fixed
-
Major
-
1.8.3
-
LAMP with Zabbix 1.8.3
For statistical analysis of collected/polled Zabbix data some formulas needs to be used.
Variance needs ability to add to power of 2. (X ** 2 or X^2)
Standard deviation needs square root (of variance). ( SQRT(X) or X**0.5 or X^0.5)
Perhaps some others might need to have LN, LOG, EXP etc.
Example use case:
Cisco routers provide SLA monitoring and SNMP MIB returns NumberOfMeasures, SumOfMeasures and SumOfMeasuresSquared. From these 3 variables I can calculate
- average RTT
- variance of RTT
- standard deviation of RTT
Unfortunately only last (standard deviation) needs to be calculated with external program as according to manual Zabbix does not support SQRT-function.
Also power could be used to combine two 32-bit counters to one 64-bit: counter + counterHigh*2^32 instead of counter + counterHigh*4294967296..
Luckily PHP has SQRT() and POW() for web interface based square rooting and powering. C++ math.h also has it. So it should not be that big thing or?
- causes
-
ZBXNEXT-6544 New set of operators, mathematical and string functions for trigger expressions
- Closed
- duplicates
-
ZBXNEXT-1444 Zabbix Lua Master Ticket
- Closed
- is duplicated by
-
ZBXNEXT-1388 additional operations for calculated items
- Closed
-
ZBXNEXT-3486 new function for triggers - absolute(value)
- Closed