Hi all,
I want to create a "SNMP discovery" back to the "ifInOctets" and "ifOutOctets" for only my interfaces with "ifOperStatus = up" OID value.
Do you have a track to help me.
Thank you.
My config :
I have :
- Create one template with one discovery
* Discovery :
Name : Network interface up
Type : SNMPv2 agent
key : snmp.discovery
SNMP OID : ifOperStatus
SNMP community : ****
Filter macro : {#SNMPVALUE} Regxp : ^up$
- Create item prototypes :
Name : test
Type : SNMPv2 agent
Key : ifInOctets[{#SNMPINDEX}]
SNMP OID : ifInOctets.{#SNMPINDEX}
And with this config, all my interface network are discovery.
I want to create a "SNMP discovery" back to the "ifInOctets" and "ifOutOctets" for only my interfaces with "ifOperStatus = up" OID value.
Do you have a track to help me.
Thank you.
My config :
I have :
- Create one template with one discovery
* Discovery :
Name : Network interface up
Type : SNMPv2 agent
key : snmp.discovery
SNMP OID : ifOperStatus
SNMP community : ****
Filter macro : {#SNMPVALUE} Regxp : ^up$
- Create item prototypes :
Name : test
Type : SNMPv2 agent
Key : ifInOctets[{#SNMPINDEX}]
SNMP OID : ifInOctets.{#SNMPINDEX}
And with this config, all my interface network are discovery.

Comment