[mrtg] cfgmaker failing
tommy.turner at vaisala.com
tommy.turner at vaisala.com
Thu Jan 24 23:43:13 CET 2013
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 at 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 public at 10.10.110.31::::::v4only
at /usr/bin/cfgmaker line 918
WARNING: Skipping public at 10.10.110.31: as no info could be retrieved
[root at tuxnldds01 tuxnldds01]#
However snmpwalk against that mib seems to work just fine:
[root at 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: nccops at vaisala.com
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 at tuxnldds01 tuxnldds01]#
I have a very simple snmp.cfg:
[root at tuxnldds01 tuxnldds01]# more /etc/snmp/snmpd.conf
rocommunity public
syslocation "Tucson DataCenter"
syscontact nccops at vaisala.com
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux
[root at tuxnldds01 tuxnldds01]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20130124/cc8a230a/attachment.htm
More information about the mrtg
mailing list