Hello. I want to provide some variables to a template for conditional generation of targets related to IPv4 multicast.
I've identified the OIDs I seem to need and changed cfgmaker so that they are requested from the equipment and their status placed in variables for use by the template. Only two variables are involved: 'ciscoIpMRouteIfInMcastOctets' => '1.3.6.1.4.1.9.10.2.1.1.5.1.1' and 'igmpInterfaceStatus' => '1.3.6.1.3.59.1.1.1.1.3', each of them indexed by ifIndex and retrievable from the equipment using snmpwalk from the command line. However, only one of them is retrieved by cfgmaker. I seem to be missing something (perhaps obvious), and would appreciate a hint. What I'm seeing follows below. joe(user)312: snmpwalk -v2c -cSTRING ROUTER ciscoIpMRouteIfInMcastOctets CISCO-IPMROUTE-MIB::ciscoIpMRouteIfInMcastOctets.1 = Counter64: 14920150882 CISCO-IPMROUTE-MIB::ciscoIpMRouteIfInMcastOctets.16 = Counter64: 13563360270 CISCO-IPMROUTE-MIB::ciscoIpMRouteIfInMcastOctets.17 = Counter64: 81991616077 joe(user)313: --base: Walking igmpInterfaceStatus --snpd: str...@router: -> 1 -> igmpInterfaceStatus = 1 --snpd: str...@router: -> 16 -> igmpInterfaceStatus = 1 --snpd: str...@router: -> 17 -> igmpInterfaceStatus = 1 --base: Walking ciscoIpMRouteIfInMcastOctets --base: Walking ifAlias --snpd: str...@router: -> 1 -> ifAlias = EXPECTED-STUFF --snpd: str...@router: -> 2 -> ifAlias = EXPECTED-STUFF Thanks in advance for any helpful suggestions. Best regards, Niall O'Reilly University College Dublin IT Services _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
