Ad Widget

Collapse

How to sum LLD (Item prototypes) items?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcraponi
    Junior Member
    • Oct 2012
    • 15

    #1

    How to sum LLD (Item prototypes) items?

    Hi,

    I have a SNMPv2 item created as Discovery rules >> Item prototypes.

    This item return a index of items that can be 1 to 10.

    I can get the items using {#SNMPINDEX}, but I want to create a item with the SUM of these items.

    For example:

    --
    snmpwalk -v 2c -c test 10.1.1.1 FORTINET-FORTIGATE-MIB::fgExplicitProxySessions
    FORTINET-FORTIGATE-MIB::fgExplicitProxySessions.1 = INTEGER: 2
    FORTINET-FORTIGATE-MIB::fgExplicitProxySessions.2 = INTEGER: 5
    FORTINET-FORTIGATE-MIB::fgExplicitProxySessions.3 = INTEGER: 3
    --

    Like this result above, the {#SNMPINDEX} return 3 fields.

    I want a Item that sum all of thoses and return, in this case 7 (3+5+7)


    It's possible?


    Regards,
    Paulo Raponi
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    What about using an item of type 'Zabbix aggregate'?

    Comment

    Working...