[mrtg] Advice sought: extending cfgmaker for multicast
Niall.oReilly at ucd.ie
Thu Jul 23 17:37:58 CEST 2009
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' => '18.104.22.168.22.214.171.124.126.96.36.199.1.1'
and 'igmpInterfaceStatus' => '188.8.131.52.184.108.40.206.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
I seem to be missing something (perhaps obvious), and would appreciate
What I'm seeing follows below.
joe(user)312: snmpwalk -v2c -cSTRING ROUTER
= Counter64: 14920150882
= Counter64: 13563360270
= Counter64: 81991616077
--base: Walking igmpInterfaceStatus
--snpd: STRING at ROUTER: -> 1 -> igmpInterfaceStatus = 1
--snpd: STRING at ROUTER: -> 16 -> igmpInterfaceStatus = 1
--snpd: STRING at ROUTER: -> 17 -> igmpInterfaceStatus = 1
--base: Walking ciscoIpMRouteIfInMcastOctets
--base: Walking ifAlias
--snpd: STRING at ROUTER: -> 1 -> ifAlias = EXPECTED-STUFF
--snpd: STRING at ROUTER: -> 2 -> ifAlias = EXPECTED-STUFF
Thanks in advance for any helpful suggestions.
University College Dublin IT Services
More information about the mrtg