I'm having a problem with the MRTG cfgmaker script under Fedora. I run the command like this.

/usr/bin/cfgmaker --output=/etc/mrtg/localhost.cfg -ifref=ip --global 'workdir: /var/www/mrtg/data' --global 'options[_]: growright,bits' mypassword@172.16.1.200
and get this output with everything commented out in the .cfg file. Anyone has any experience with this? I tried new & old verions of MRTG, SNMP and the kernel. Nothing.

Any help welcome.

### Interface 6 >> Descr: '' | Name: '' | Ip: '172.16.1.200' | Eth: '' ###
### The following interface is commented out because:
### * has a speed of which makes no sense
### * got 'Received SNMP response with error code
### error status: noSuchName
### index 1 (OID: 1.3.6.1.2.1.2.2.1.10.6)
### SNMPv1_Session (remote host: "172.16.1.200" [172.16.1.200].161)
### community: "mypassword"
### request ID: 219586411
### PDU bufsize: 8000 bytes
### timeout: 2s
### retries: 5
### backoff: 1)' from interface when trying to query
#
# Target[172.16.1.200_172.16.1.200]: /172.16.1.200:mypassword@172.16.1.200:
# SetEnv[172.16.1.200_172.16.1.200]: MRTG_INT_IP="172.16.1.200" MRTG_INT_DESCR=""
# MaxBytes[172.16.1.200_172.16.1.200]: 0
# Title[172.16.1.200_172.16.1.200]: Traffic Analysis for 172.16.1.200 -- silent
# PageTop[172.16.1.200_172.16.1.200]: <H1>Traffic Analysis for 172.16.1.200 -- silent</H1>
# <TABLE>
# <TR><TD>System:</TD> <TD>silent in Unknown</TD></TR>
# <TR><TD>Maintainer:</TD> <TD>root@localhost</TD></TR>
# <TR><TD>Description:</TD><TD> </TD></TR>
# <TR><TD>ifType:</TD> <TD> ()</TD></TR>
# <TR><TD>ifName:</TD> <TD></TD></TR>
# <TR><TD>Max Speed:</TD> <TD>0.0 bits/s</TD></TR>
# <TR><TD>Ip:</TD> <TD>172.16.1.200 (172-16-1-200.foo.com)</TD></TR>
# </TABLE>