Ad Widget

Collapse

Complex calculated item includes empty base items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mlamana
    Junior Member
    • Sep 2011
    • 1

    #1

    Complex calculated item includes empty base items

    Hello zabbix experts,

    I am working with the Template_Java and trying to calculate a gc ratio of new/old collections. I find the ratio indicative of heap health and reflective of the heap configuration. To cover all the bases, I tried a calulated item that is basically sum(new collection counts)/sum(old-perm collection counts). For a particular JVM, only the collectors in use report any counts. The other base items are empty. Apparently, this will not work in the calculation. I get no ratio. If I restrict the calculation to only the items reporting, I get a ratio. Is there another way to get the ratio without tailoring it to each JVM configuration being run in the monitored system?

    Seems like if an item has no values, a calculation should substitute zero and not just quit.


    Thanks for any suggestions/comments.
Working...