[mrtg] Hilfe

Rolf Tschumi rts at softplus.net
Tue Mar 6 09:56:00 CET 2012


Cfgmaker can not connect to the Switch with Cat OS.  

 

All other switch with IOS is working. 

 

---------------------------------------------------------

 

 

root at srv1:~# cfgmaker public at 91.201.56.178

SNMP Error:

no response received

SNMPv1_Session (remote host: "91.201.56.178" [91.201.56.178].161)

                  community: "public"

                 request ID: 1874573181

                PDU bufsize: 8000 bytes

                    timeout: 2s

                    retries: 5

                    backoff: 1)

 at /usr/share/perl5/SNMP_util.pm line 629

SNMPWALK Problem for 1.3.6.1.2.1.1 on public at 91.201.56.178::::::v4only

 at /usr/bin/cfgmaker line 959

WARNING: Skipping public at 91.201.56.178: as no info could be retrieved

 

# Created by

# /usr/bin/cfgmaker public at 91.201.56.178

 

 

### Global Config Options

 

#  for UNIX

# WorkDir: /home/http/mrtg

 

#  for Debian

WorkDir: /var/www/mrtg

 

#  or for NT

# WorkDir: c:\mrtgdata

 

### Global Defaults

 

#  to get bits instead of bytes and graphs growing to the right

# Options[_]: growright, bits

 

EnableIPv6: no

 

######################################################################

# System:

# Description:

# Contact:

# Location:

######################################################################

________________________________

Von: Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
Gesendet: Dienstag, 6. März 2012 00:42
An: Rolf Tschumi; mrtg at lists.oetiker.ch
Betreff: RE: Hilfe

 

Create a configuration file for MRTG using cfgmaker.  You can use pretty much the same method to monitor any SNMP switch or router, not just Cisco.  Here is an example using some general options:

 

cfgmaker --ifdesc=catname,ppname,descr,alias,ip,name,nr --ifref=ip,name,nr --global='WorkDir: /var/rrdtool' --global='LogFormat: rrdtool' --global='Options[_]: bits,growright' --show-op-down --output=device.cfg --snmp-options=:::::2  --community=community   device

 

 

Replace 'community' and 'device' as appropriate.  This will omit interfaces with a speed of zero or that are administratively down; you can add '--no-down' if you want to graph these anyway.

 

You can find more information in the cfgmaker documentation; unfortunately for you it is in English.  I don't know if there is a German translation available anywhere...

 

Steve

 

 

 

________________________________

Steve Shipway

ITS Unix Services Design Lead

University of Auckland, New Zealand

Floor 1, 58 Symonds Street, Auckland

Phone: +64 (0)9 3737599 ext 86487

DDI: +64 (0)9 924 6487

Mobile: +64 (0)21 753 189

Email: s.shipway at auckland.ac.nz <mailto:s.shipway at auckland.ac.nz> 

P Please consider the environment before printing this e-mail 

 

 

From: mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch [mailto:mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On Behalf Of Rolf Tschumi
Sent: Tuesday, 6 March 2012 2:59 a.m.
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Hilfe

 

Wie kann ich mit mrtg / cfgmaker  einen Cisco 6509 mit CATos  die Interfaces Monitoren ?  

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20120306/3682c88a/attachment-0001.htm 


More information about the mrtg mailing list