[mrtg] cfgmaker on cisco 6509

Lee Todd ltodd2 at hallmark-uk.com
Wed May 14 15:22:25 CEST 2008


Afternoon all

I have another problem.  I am polling a number of cisco boxes and all seem
to work ok apart from 2 cat 6509's and 1 cat 4006.  Im using the following
cfgmaker command and when I run it I get the output below.

cfgmaker --output=/etc/mrtg/wc1-6000.cfg --global
"workdir:/var/www/mrtg/wc1-6000" -ifref=descr --global 'options[_]:
growright,bits' xxxxxxxx at 172.16.100.20

This gives the correct data but makes all the  errors below.  I have tried
ifref=ip and that runs ok but only gives the interfaces with ip addresses
like vlans and not the ports.  I use to use ifref=descr on a windows box ok
but get errors on there as well.


SNMPGET Problem for ifName.204 ifInOctets.204 ifName.204 ifOutOctets.204
sysUptime sysName on xxxxxxxx at 172.16.100.20::::::v4only
 at /usr/bin/mrtg line 2149
2008-05-14 13:58:59: WARNING: could not match&get 172.16.100.20:/ifInOctets
for Name 'VLAN-106'
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 4 (OID: 1.3.6.1.2.1.2.2.1.16.205)
SNMPv1_Session (remote host: "172.16.100.20" [172.16.100.20].161)
                  community: "0cs1cro"
                 request ID: 776917215
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifName.205 ifInOctets.205 ifName.205 ifOutOctets.205
sysUptime sysName on 0cs1cro at 172.16.100.20::::::v4only
 at /usr/bin/mrtg line 2149


2008-05-14 14:12:45: ERROR: Target[172.16.100.20_vlan-108][_IN_] '
$target->[176]{$mode} ' did not eval into defined data
2008-05-14 14:12:45: ERROR: Target[172.16.100.20_vlan-108][_OUT_] '
$target->[176]{$mode} ' did not eval into defined data
2008-05-14 14:12:45: ERROR: Target[172.16.100.20_vlan-19][_IN_] '
$target->[177]{$mode} ' did not eval into defined data
2008-05-14 14:12:45: ERROR: Target[172.16.100.20_vlan-19][_OUT_] '
$target->[177]{$mode} ' did not eval into defined data
2008-05-14 14:12:45: ERROR: Target[172.16.100.20_vlan-201][_IN_] '
$target->[178]{$mode} ' did not eval into defined data
2008-05-14 14:12:45: ERROR: Target[172.16.100.20_vlan-201][_OUT_] '
$target->[178]{$mode} ' did not eval into defined data


Anyone any ideas?

Lee
Hallmark Cards Plc


Registered Office: Bingley Road, Bradford, BD9 6SD
Registered in England no. 03414540

The information contained in this e-mail and any accompanying documents
may contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately
alert the sender by reply e-mail and then delete this message, including
any attachments. Any dissemination, distribution or other use of the
contents of this message by anyone other than the intended recipient is
strictly prohibited.

Think of the environment; please don't print this e-mail unless you
really need to



More information about the mrtg mailing list