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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: