I still get the same error as mentioned above.
cfgmaker --snmp-options=:::::1 public@xxx.xxx.xxx.18
WARNING: Skipping public@xxx.xxx.xxx.18:::::
Main Topics
Browse All TopicsHey!
I got a problem with adding my (the ISPs) Cisco 1812 to MRTG. also got the same issue with a Cisco Catalyst 360
I'm running MRTG version 2.16.2 on a Debian 5 installation.
The system, that already got 40 hosts added and working, got full access to this Cisco router, but since this is my ISPs router I dont have any other access than SNMP.
If I do a snmpwalk -v1 -c public xxx.xxx.xxx.18 I get this output:
--------------------------
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifDescr.1 = STRING: FastEthernet0
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 100000000
IF-MIB::ifPhysAddress.1 = STRING: 0:1b:53:52:b0:ae
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (268487582) 31 days, 1:47:55.82
IF-MIB::ifInOctets.1 = Counter32: 3156062826
IF-MIB::ifInUcastPkts.1 = Counter32: 15842129
IF-MIB::ifInNUcastPkts.1 = Counter32: 1595
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.
IF-MIB::ifOutOctets.1 = Counter32: 3646213967
IF-MIB::ifOutUcastPkts.1 = Counter32: 20769365
IF-MIB::ifOutNUcastPkts.1 = Counter32: 806800
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
End of MIB
--------------------------
So I know SNMP is working against it, but when I try to run cfgmaker I get this:
--------------------------
cfgmaker public@xxx.xxx.xxx.18
WARNING: Skipping public@xxx.xxx.xxx.18: as no info could be retrieved
# Created by
# /usr/bin/cfgmaker public@xxx.xxx.xxx.18
### 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:
##########################
--------------------------
So, how to I get cfgmaker to create me a working config? or are there anyone out there with a working config I can get a copy of?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Is that actually the start of the snmpwalk output? If so, you're missing the System section, which MRTG's configmaker needs. This could happen if your ISP has limited the snmp view to just the interfaces for security reasons. You can still add the device to your mrtg config manually; you just won't be able to use configmaker to generate the .conf lines for this device.
Here is an example of one that workes on an layer 3 switch, our internal router.
WorkDir: /var/www/mrtg/router
EnableIPv6: no
### Interface 1 >> Descr: '' | Name: '1/e1' | Ip: '' | Eth: '00-5e-4f-08-9e-3e' ###
Target[xxx.xxx.xxx.240_1]:
SetEnv[xxx.xxx.xxx.240_1]:
MaxBytes[xxx.xxx.xxx.240_1
Title[xxx.xxx.xxx.240_1]: Traffic Analysis for port 1
PageTop[xxx.xxx.xxx.240_1]
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td> </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>1/e1</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
</table>
</div>
### Interface 2 >> Descr: '' | Name: '1/e2' | Ip: '' | Eth: '00-7d-4e-25-99-af' ###
Target[xxx.xxx.xxx.240_2]:
SetEnv[xxx.xxx.xxx.240_2]:
MaxBytes[xxx.xxx.xxx.240_2
Title[xxx.xxx.xxx.240_2]: Traffic Analysis for port 2
PageTop[xxx.xxx.xxx.240_2]
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td> </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>1/e2</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
</table>
</div>
OK, here's the code for FastEthernet0 on you 1841 (the only interface you can monitor via SNMP). Just paste this into the bottom of one of your existing config files. Replace xxx.xxx.xxx.18 with your 1841's actual IP address.
WorkDir: /var/www/mrtg/router
EnableIPv6: no
### Interface 1 >> Descr: '' | Name: 'FastEthernet0' | Ip: 'xxx.xxx.xxx.18' | Eth: '00-1b-53-52-b0-ae' ###
Target[xxx.xxx.xxx.18_1]: 1:public@xxx.xxx.xxx.18:
SetEnv[xxx.xxx.xxx.18_1]: MRTG_INT_IP="" MRTG_INT_DESCR=""
MaxBytes[xxx.xxx.xxx.18_1]
Title[xxx.xxx.xxx.18_1]: Traffic Analysis for FastEthernet0
PageTop[xxx.xxx.xxx.18_1]:
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td> in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td> </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>FastEthernet0</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>12.5 MBytes/s</td>
</tr>
</table>
</div>
I get this error when I entered the right IP and the right community setting.
#env LANG=C /usr/bin/mrtg /home/mrtg/primrouter.cfg
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 3 (OID: 1.3.6.1.2.1.1.3.0)
SNMPv1_Session (remote host: "xxx.xxx.xxx.18" [xxx.xxx.xxx.18].161)
community: "public"
request ID: 111652448
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on public@xxx.xxx.xxx.18:::::
at /usr/bin/mrtg line 2207
2009-09-25 10:36:53: ERROR: Target[xxx.xxx.xxx.18_1][_
2009-09-25 10:36:53: ERROR: Target[xxx.xxx.xxx.18_1][_
Ok, the problem is that apparently MRTG is still trying to retrieve some system data, although not essential system data, that your ISP is filtering. The sysname and sysuptime values are the culprits. You could contact your ISP and see if they are willing to unfiltered the system values in snmp. Or you might try another tool, such as PRTG, which although a commercial product has a free edition that let you monitor a handful of devices. Prtg is a Windows-only thing though (http://www.paessler.com).
Business Accounts
Answer for Membership
by: giltjrPosted on 2009-09-23 at 18:25:11ID: 25409578
try
cfgmaker --snmp-options=:::::1 public@xxx.xxx.xxx.18