Hello!
Can somebody help with a small question, please.
I have Discovery rule and item prototypes with SNMP type. I need to write an OID with subtraction operation (-) for macro {SNMP.INDEX} :
In that way I receive a resulted OID as
But I need .1 instead of that.
How can I use any arithmetic operations in item fields ???
Can somebody help with a small question, please.
I have Discovery rule and item prototypes with SNMP type. I need to write an OID with subtraction operation (-) for macro {SNMP.INDEX} :
Code:
stat.statIfwanTable.statIfwanEntry.statIfwanOctetsTx.{#SNMPINDEX}-2
Code:
stat.statIfwanTable.statIfwanEntry.statIfwanOctetsTx.[B][U]3-2[/U][/B]
How can I use any arithmetic operations in item fields ???
Comment