I'm trying to use MRTG to graph the number of active DS0 channels on my Cisco voice gateway. I've downloaded the CISCO-POP-MGMT-MIB MIB file from Cisco and added it to my mrtg.cfg file, however when I try to access objects by name, MRTG complains that the names are invalid:<div>
<br></div><div><div>Unknown SNMP var cpmActiveDS0s</div><div> at /usr/bin/mrtg line 2207</div><div>Unknown SNMP var cpmActiveDS0s</div><div> at /usr/bin/mrtg line 2207</div><div>2010-10-06 17:15:56: ERROR: Target[vgtest][_IN_] ' $target->[0]{$mode} ' did not eval into defined data</div>
<div>2010-10-06 17:15:56: ERROR: Target[vgtest][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data</div><div><br></div><div>Here is my MRTG.cfg file:<br><div><br></div><div><div># Global configuration</div>
<div>WorkDir: /mrtg</div><div>WriteExpires: Yes</div><div>LoadMIBs: /usr/share/snmp/mibs/CISCO-POP-MGMT-MIB.my</div><div><br></div><div>Target[vgtest]: <a href="mailto:cpmActiveDS0s%26cpmActiveDS0s%3Apublic@10.24.2.18">cpmActiveDS0s&cpmActiveDS0s:public@10.24.2.18</a></div>
<div>Title[vgtest]: Channels in Use</div><div>PageTop[vgtest]: <H1>Voice Channels in Use</H1></div><div>MaxBytes[vgtest]: 46</div><div>YLegend[vgtest]: Channels</div><div>LegendI[vgtest]: Channels Used</div><div>
ShortLegend[vgtest]: Channels</div><div>Options[vgtest]: gauge</div></div></div><div><br></div><div>If I do an snmpwalk, the cpmActiveDS0s name works fine:</div><div><br></div><div><div>cacti:/home/fredw# snmpwalk -v 2c -c public 10.24.2.18 cpmActiveDS0s</div>
<div>CISCO-POP-MGMT-MIB::cpmActiveDS0s.0 = Gauge32: 0</div><div>cacti:/home/fredw#</div></div><div><br></div></div><div>How can I determine where the failure is occurring? It looks like MRTG isn't loading the MIB file, but I don't get any errors about it.</div>
<div><br></div><div>Regards,</div><div>Fred</div>