You seem to have a typo in the IP address:
[root@tuxnldds01 tuxnldds01]# cfgmaker --global 'WorkDir: /var/www/html/tuxnldds01/' --global 'Options[_]: bits,growright' -output ./tuxnldds01.cfg 10.10.110.31 Uses 10.10.110.31 [root@tuxnldds01 tuxnldds01]# snmpwalk -v 1 -c public 10.10.100.31 1.3.6.1.2.1.1 Uses 10.10.100.31 Either the first is using the wrong IP address, or your second is testing the wrong IP and the original IP is still blocking by ACL or community. 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 [email protected] Sent: Friday, 25 January 2013 11:43 a.m. To: [email protected] Subject: [mrtg] cfgmaker failing Hi, I’m having problems getting cfgmaker to read a linux box. This is running on a CentOS box as a yum installed binary. I do have this system already reading data from a Cisco switch, so I suspect the binaries are working fine. Any ideas would be appreciated. The error looks like snmp is the issue: [root@tuxnldds01 tuxnldds01]# cfgmaker --global 'WorkDir: /var/www/html/tuxnldds01/' --global 'Options[_]: bits,growright' -output ./tuxnldds01.cfg 10.10.110.31 SNMP Error: no response received SNMPv1_Session (remote host: "10.10.110.31" [10.10.110.31].161) community: "public" request ID: -1464189512 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 627 SNMPWALK Problem for 1.3.6.1.2.1.1 on [email protected]::::::v4only at /usr/bin/cfgmaker line 918 WARNING: Skipping [email protected]: as no info could be retrieved [root@tuxnldds01 tuxnldds01]# However snmpwalk against that mib seems to work just fine: [root@tuxnldds01 tuxnldds01]# snmpwalk -v 1 -c public 10.10.100.31 1.3.6.1.2.1.1 SNMPv2-MIB::sysDescr.0 = STRING: Linux tuxnldds01 2.6.18-308.24.1.el5 #1 SMP Tue Dec 4 17:43:34 EST 2012 x86_64 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (674356) 1:52:23.56 SNMPv2-MIB::sysContact.0 = STRING: [email protected] SNMPv2-MIB::sysName.0 = STRING: tuxnldds01 SNMPv2-MIB::sysLocation.0 = STRING: "Tucson DataCenter" SNMPv2-MIB::sysORLastChange.0 = Timeticks: (4) 0:00:00.04 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (3) 0:00:00.03 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (3) 0:00:00.03 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (3) 0:00:00.03 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (3) 0:00:00.03 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (3) 0:00:00.03 SNMPv2-MIB::sysORUpTime.6 = Timeticks: (4) 0:00:00.04 SNMPv2-MIB::sysORUpTime.7 = Timeticks: (4) 0:00:00.04 SNMPv2-MIB::sysORUpTime.8 = Timeticks: (4) 0:00:00.04 [root@tuxnldds01 tuxnldds01]# I have a very simple snmp.cfg: [root@tuxnldds01 tuxnldds01]# more /etc/snmp/snmpd.conf rocommunity public syslocation "Tucson DataCenter" syscontact [email protected] SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux [root@tuxnldds01 tuxnldds01]#
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
