Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-6121

Support for LLD macro in SNMPv3 contextname is not working

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.0.23, 5.0.2
    • Proxy (P), Server (S)

      I'd like to add support for LLD macro in SNMPv3 contextname item field.

      I want to monitor BGP peers in several Avaya Ethernet Routing Switches.

      Some of the BGP peers are inside VRF and can only be accessed with the use of specific SNMPv3 contextname. I've created a discovery rule that list all VRF and then all BGP peers inside these. For example:

      {
      	"data":[
      		{
      			"{#SNMPVALUE}":"BGP to xx.xx.xx.xx",
      			"{#SNMPINDEX}":"1.4.dd.dd.dd.dd.1.4.xx.xx.xx.xx",
      			"{#SNMPCONTEXT}":""
      		},
      		{
      			"{#SNMPVALUE}":"In vrf1 BGP to yy.yy.yy.yy",
      			"{#SNMPINDEX}":"1.4.dd.dd.dd.dd.1.4.yy.yy.yy.yy",
      			"{#SNMPCONTEXT}":"vrf1"
      		}
      	]
      }
      

      Here's a patch against current trunk that should do the job!

      Can this feature be included in some next release?

      Thanks

            zabbix.dev Zabbix Development Team
            je.onfray Jean-Eudes Onfray
            Votes:
            23 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated: