This sort of switch does support SNMP, so it should work. You should check
1. Is SNMP community configured correctly on the switch? You are using public for cfgmaker, is this also defined on the switch? 2. Is the ACL on the switch configured correctly to allow access from this IP address with this community? 3. Are there any firewalls in the way preventing UDP 161 from reaching the switch? 4. Do you have a route to the switch at all (try doing a ping to verify)? 5. Do you have a firewall on the MRTG server which is blocking the SNMP reply packets? 6. Are you using the correct SNMP version should you use SNMPv2c instead (your example below is using v1) or SNMPv3? 7. Is the switch or network so heavily congested that it is slow replying? Try increasing timeout and/or retries count using the other fields in the --snmp-options parameter. 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: <mailto:[email protected]> [email protected] P Please consider the environment before printing this e-mail From: Rolf Tschumi [mailto:[email protected]] Sent: Tuesday, 6 March 2012 9:56 p.m. To: Steve Shipway Cc: [email protected] Subject: AW: Hilfe Cfgmaker can not connect to the Switch with Cat OS. All other switch with IOS is working. --------------------------------------------------------- root@srv1:~# cfgmaker [email protected] 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 [email protected]::::::v4only at /usr/bin/cfgmaker line 959 WARNING: Skipping [email protected]: as no info could be retrieved # Created by # /usr/bin/cfgmaker [email protected] ### 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:[email protected]] Gesendet: Dienstag, 6. März 2012 00:42 An: Rolf Tschumi; [email protected] 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 dont 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: <mailto:[email protected]> [email protected] P Please consider the environment before printing this e-mail From: [email protected] [mailto:[email protected]] On Behalf Of Rolf Tschumi Sent: Tuesday, 6 March 2012 2:59 a.m. To: [email protected] Subject: [mrtg] Hilfe Wie kann ich mit mrtg / cfgmaker einen Cisco 6509 mit CATos die Interfaces Monitoren ?
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
