[ZBXNEXT-766] Monitoring of a calculated element of the data: value to define as 0, instead of how "undefined" at impossibility it to receive Created: 2011 Apr 27 Updated: 2014 Jun 05 Resolved: 2014 Jun 05 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Minor |
Reporter: | Vlad Vnukovsky | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 4 |
Labels: | calculateditems | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 1.8.3 on Free BSD ver. 8.1 |
Issue Links: |
|
Description |
I have the calculated parameter defined as the sum of two other keys, received on SNMP from different nodes. While both nodes are accessible, the sum is considered correctly. As soon as one of nodes becomes inaccessible, value of the sum to be calculated stops, on the graph there is a rupture. I believe, the reason that value of an element-composed in this expression, at impossibility it to receive, is defined as "undefined". And, accordingly, value of the calculated parameter (sum) in this case becomes undefined. Whether it is possible, at use of keys in calculated elements of the data, at impossibility of their reception, their value to define as 0, instead of how "undefined"? |
Comments |
Comment by Vlad Vnukovsky [ 2011 Apr 28 ] |
Realization of function IF (), similar existing in Excel, and its use together with function nodata () could be the decision. In this case the formula of calculation of value of an element would look as: IF (node1.key1.nodata (30), 0, node1.key1.last (30)) + IF (node2.key2.nodata (30), 0, node2.key2.last (30)) |
Comment by Aleksandrs Saveljevs [ 2011 Apr 28 ] |
Related issues: ZBXNEXT-292, ZBXNEXT-615. |
Comment by Oleksii Zagorskyi [ 2014 Jun 05 ] |
I believe this is duplicate of ZBXNEXT-292, closed. |