[mrtg] Re: Graphing interface errors

Castle, Shane scastle at co.boulder.co.us
Fri Jun 23 23:51:00 MEST 2006


I don't understand all the agony here.  Here is an obfuscated version of
what we are running now, for one interface:

Target[xxx.xxx.xxx.xxx_FastEthernet0_0_err]:
ifInErrors\FastEthernet0/0&ifOutErrors\FastEthernet0/0:community at xxx.xxx
.xxx.xxx
YLegend[xxx.xxx.xxx.xxx_FastEthernet0_0_err]: Err
WithPeak[xxx.xxx.xxx.xxx_FastEthernet0_0_err]: ymw
MaxBytes[xxx.xxx.xxx.xxx_FastEthernet0_0_err]: 999999
Title[xxx.xxx.xxx.xxx_FastEthernet0_0_err]: xxxxxx 2621XM
FastEthernet0/0 - Errors
ShortLegend[xxx.xxx.xxx.xxx_FastEthernet0_0_err]: Errors
PageTop[xxx.xxx.xxx.xxx_FastEthernet0_0_err]: <H1>xxxxxx 2621XM
FastEthernet0/0 - Errors</H1> 

All the above was hand-built and simply copied and changed for addtional
interfaces, but as stated, a template could be used if you want cfgmaker
to do more work for you.  This one is for Cisco gear; for other junk we
often have to specify interface indexes instead of a nice name.

--
Shane Castle


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of mchandler at solutions.canon.com
Sent: Friday, June 23, 2006 15:13
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Graphing interface errors


I tried a template I found at:
http://mrtg.gvolk.com/template/interface-errors.template

But I got a whole slew of errors.


SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.29)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961013
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.29 ifOutErrors.29 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.31)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961014
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.31 ifOutErrors.31 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.33)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961015
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.33 ifOutErrors.33 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.35)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961016
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.35 ifOutErrors.35 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.37)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961017
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.37 ifOutErrors.37 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.39)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961018
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.39 ifOutErrors.39 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.41)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961019
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.41 ifOutErrors.41 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.43)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961020
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.43 ifOutErrors.43 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.20.45)
SNMPv1_Session (remote host: "10.208.254.6" [10.208.254.6].161)
                  community: "public"
                 request ID: 544961021
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInErrors.45 ifOutErrors.45 sysUptime sysName on
public at 10.208.254.6::::::v4only
 at /usr/bin/mrtg line 1851
ERROR: Target[10.208.254.6_atm0_ima1.2-aal5_layer.err][_IN_] '
$target->[3]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.2-aal5_layer.err][_OUT_] '
$target->[3]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.3-aal5_layer.err][_IN_] '
$target->[4]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.3-aal5_layer.err][_OUT_] '
$target->[4]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.4-aal5_layer.err][_IN_] '
$target->[5]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.4-aal5_layer.err][_OUT_] '
$target->[5]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.5-aal5_layer.err][_IN_] '
$target->[6]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.5-aal5_layer.err][_OUT_] '
$target->[6]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.6-aal5_layer.err][_IN_] '
$target->[7]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.6-aal5_layer.err][_OUT_] '
$target->[7]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.7-aal5_layer.err][_IN_] '
$target->[8]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.7-aal5_layer.err][_OUT_] '
$target->[8]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.8-aal5_layer.err][_IN_] '
$target->[9]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.8-aal5_layer.err][_OUT_] '
$target->[9]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.9-aal5_layer.err][_IN_] '
$target->[10]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.9-aal5_layer.err][_OUT_] '
$target->[10]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.74-aal5_layer.err][_IN_] '
$target->[11]{$mode} ' did not eval into defined data
ERROR: Target[10.208.254.6_atm0_ima1.74-aal5_layer.err][_OUT_] '
$target->[11]{$mode} ' did not eval into defined data

Mel Chandler, A+, Network+, MCSE, MCDBA, Master CNE, CCNA
Network Engineer
Information Technology
Canon Business Solutions
(310) 217-3893

GCS d--- s+: a C++ UL++++ P+ L++ E W+++ N++ o+ K- w+
O- M-- V- PS PE+ Y+ PGP+ t+ 5+ X+ R tv+ b- DI++++ D++
G e++ h-- r y+



 

             MrPaul

             <mrpaular at gmail.c

             om>
To 
                                       "mchandler at solutions.canon.com"

             06/23/2006 10:44          <mchandler at solutions.canon.com>

             AM
cc 
                                       mrtg at list.ee.ethz.ch

 
Subject 
                                       Re: [mrtg] Re: Graphing interface

                                       errors

 

 

 

 

 

 





On 6/23/06, mchandler at solutions.canon.com
<mchandler at solutions.canon.com>
wrote:

  Is there a command line arguement you could pass to cfgmaker to have
it
  do
  interface errors for each interface?


You could you a template with cfgmaker to accomplish this.  There are
quite
a few good examples here -
http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html#details_on_temaplates



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list