[mrtg] Cfgmaker problem

Sara Sodagar sara at dpiran.net
Sat Jun 12 07:43:13 MEST 2004


Hi
I am trying to run cfgmaker from a (RHEL 3 ) on one of my hosts ( same RHEL
3).

But the output file has some problems , that I don't know what is the
problem.

I tried to configure SNMP on target host and check that with a tool named
SNMP Traffic Grapher  and 

With this OID 1.3.6.1.2.1.2.2.1.10.1 I can see the Graph from the server but
with the same configs

I got error in my output of cfgmaker command .:

 

Any one could help me I would be very greatfull.

Regards.

Sara

 

My output file is :

# Created by 

# /usr/bin/cfgmaker public at 192.96.144.231

 

 

### Global Config Options

 

#  for UNIX

# WorkDir: /home/http/mrtg

 

#  or for NT

# WorkDir: c:\mrtgdata

 

### Global Defaults

 

#  to get bits instead of bytes and graphs growing to the right

# Options[_]: growright, bits

 

 

######################################################################

# System: saghi

# Description: Linux saghi 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686

# Contact: Root <root at localhost> (configure /etc/snmp/snmp.local.conf)

# Location: Unknown (edit /etc/snmp/snmpd.conf)

######################################################################

 

 

### Interface 0 >> Descr: '' | Name: '' | Ip: '12.0' | 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.0)

###     SNMPv1_Session (remote host: "192.96.144.231" [192.96.144.231].161)

###                       community: "public"

###                      request ID: -1750874135

###                     PDU bufsize: 8000 bytes

###                         timeout: 2s

###                         retries: 5

###                         backoff: 1)' from interface when trying to query

# 

# Target[192.96.144.231_0]: 0:public at 192.96.144.231:

# SetEnv[192.96.144.231_0]: MRTG_INT_IP="12.0" MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_0]: 0

# Title[192.96.144.231_0]: Traffic Analysis for 0 -- saghi

# PageTop[192.96.144.231_0]: <H1>Traffic Analysis for 0 -- saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</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 Bytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>12.0 ()</TD></TR>

#  </TABLE>

 

 

### Interface 1 >> Descr: '' | Name: '' | Ip: '21.1.3.0.0.0.0' | Eth: '' ###

### The following interface is commented out because:

### * it is a Software Loopback interface

# 

# Target[192.96.144.231_1]: 1:public at 192.96.144.231:

# SetEnv[192.96.144.231_1]: MRTG_INT_IP="21.1.3.0.0.0.0" MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_1]: 1250000

# Title[192.96.144.231_1]: Traffic Analysis for 1 -- saghi

# PageTop[192.96.144.231_1]: <H1>Traffic Analysis for 1 -- saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</TD></TR>

#    <TR><TD>Description:</TD><TD>  </TD></TR>

#    <TR><TD>ifType:</TD>     <TD>softwareLoopback (24)</TD></TR>

#    <TR><TD>ifName:</TD>     <TD></TD></TR>

#    <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>21.1.3.0.0.0.0 ()</TD></TR>

#  </TABLE>

 

 

### Interface 2 >> Descr: '' | Name: '' | Ip: '21.1.2.0.0.0.0' | Eth:
'00-10-5a-30-c3-37' ###

### The following interface is commented out because:

### * it is operationally DOWN

### * has a speed of 0 which makes no sense

# 

# Target[192.96.144.231_2]: 2:public at 192.96.144.231:

# SetEnv[192.96.144.231_2]: MRTG_INT_IP="21.1.2.0.0.0.0" MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_2]: 0

# Title[192.96.144.231_2]: Traffic Analysis for 2 -- saghi

# PageTop[192.96.144.231_2]: <H1>Traffic Analysis for 2 -- saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</TD></TR>

#    <TR><TD>Description:</TD><TD>  </TD></TR>

#    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>

#    <TR><TD>ifName:</TD>     <TD></TD></TR>

#    <TR><TD>Max Speed:</TD>  <TD>0.0 Bytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>21.1.2.0.0.0.0 ()</TD></TR>

#  </TABLE>

 

 

### Interface 3 >> Descr: '' | Name: '' | Ip: '22.1.4.2.192.96.144.197' |
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.3)

###     SNMPv1_Session (remote host: "192.96.144.231" [192.96.144.231].161)

###                       community: "public"

###                      request ID: -1750874132

###                     PDU bufsize: 8000 bytes

###                         timeout: 2s

###                         retries: 5

###                         backoff: 1)' from interface when trying to query

# 

# Target[192.96.144.231_3]: 3:public at 192.96.144.231:

# SetEnv[192.96.144.231_3]: MRTG_INT_IP="22.1.4.2.192.96.144.197"
MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_3]: 0

# Title[192.96.144.231_3]: Traffic Analysis for 3 -- saghi

# PageTop[192.96.144.231_3]: <H1>Traffic Analysis for 3 -- saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</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 Bytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>22.1.4.2.192.96.144.197 ()</TD></TR>

#  </TABLE>

 

 

### Interface 4 >> Descr: '' | Name: '' | Ip: '21.1.8.0.0.0.0' | 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.4)

###     SNMPv1_Session (remote host: "192.96.144.231" [192.96.144.231].161)

###                       community: "public"

###                      request ID: -1750874131

###                     PDU bufsize: 8000 bytes

###                         timeout: 2s

###                         retries: 5

###                         backoff: 1)' from interface when trying to query

# 

# Target[192.96.144.231_4]: 4:public at 192.96.144.231:

# SetEnv[192.96.144.231_4]: MRTG_INT_IP="21.1.8.0.0.0.0" MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_4]: 0

# Title[192.96.144.231_4]: Traffic Analysis for 4 -- saghi

# PageTop[192.96.144.231_4]: <H1>Traffic Analysis for 4 -- saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</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 Bytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>21.1.8.0.0.0.0 ()</TD></TR>

#  </TABLE>

 

 

### Interface 64 >> Descr: '' | Name: '' | Ip: '2.0' | 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.64)

###     SNMPv1_Session (remote host: "192.96.144.231" [192.96.144.231].161)

###                       community: "public"

###                      request ID: -1750874130

###                     PDU bufsize: 8000 bytes

###                         timeout: 2s

###                         retries: 5

###                         backoff: 1)' from interface when trying to query

# 

# Target[192.96.144.231_64]: 64:public at 192.96.144.231:

# SetEnv[192.96.144.231_64]: MRTG_INT_IP="2.0" MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_64]: 0

# Title[192.96.144.231_64]: Traffic Analysis for 64 -- saghi

# PageTop[192.96.144.231_64]: <H1>Traffic Analysis for 64 -- saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</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 Bytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>2.0 ()</TD></TR>

#  </TABLE>

 

 

### Interface 151787 >> Descr: '' | Name: '' | Ip: '10.0' | 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.151787)

###     SNMPv1_Session (remote host: "192.96.144.231" [192.96.144.231].161)

###                       community: "public"

###                      request ID: -1750874129

###                     PDU bufsize: 8000 bytes

###                         timeout: 2s

###                         retries: 5

###                         backoff: 1)' from interface when trying to query

# 

# Target[192.96.144.231_151787]: 151787:public at 192.96.144.231:

# SetEnv[192.96.144.231_151787]: MRTG_INT_IP="10.0" MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_151787]: 0

# Title[192.96.144.231_151787]: Traffic Analysis for 151787 -- saghi

# PageTop[192.96.144.231_151787]: <H1>Traffic Analysis for 151787 --
saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</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 Bytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>10.0 ()</TD></TR>

#  </TABLE>

 

 

### Interface 160358 >> Descr: '' | Name: '' | Ip: '9.0' | 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.160358)

###     SNMPv1_Session (remote host: "192.96.144.231" [192.96.144.231].161)

###                       community: "public"

###                      request ID: -1750874128

###                     PDU bufsize: 8000 bytes

###                         timeout: 2s

###                         retries: 5

###                         backoff: 1)' from interface when trying to query

# 

# Target[192.96.144.231_160358]: 160358:public at 192.96.144.231:

# SetEnv[192.96.144.231_160358]: MRTG_INT_IP="9.0" MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_160358]: 0

# Title[192.96.144.231_160358]: Traffic Analysis for 160358 -- saghi

# PageTop[192.96.144.231_160358]: <H1>Traffic Analysis for 160358 --
saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</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 Bytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>9.0 ()</TD></TR>

#  </TABLE>

 

 

### Interface 374828 >> Descr: '' | Name: '' | Ip: '3.0' | 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.374828)

###     SNMPv1_Session (remote host: "192.96.144.231" [192.96.144.231].161)

###                       community: "public"

###                      request ID: -1750874127

###                     PDU bufsize: 8000 bytes

###                         timeout: 2s

###                         retries: 5

###                         backoff: 1)' from interface when trying to query

# 

# Target[192.96.144.231_374828]: 374828:public at 192.96.144.231:

# SetEnv[192.96.144.231_374828]: MRTG_INT_IP="3.0" MRTG_INT_DESCR=""

# MaxBytes[192.96.144.231_374828]: 0

# Title[192.96.144.231_374828]: Traffic Analysis for 374828 -- saghi

# PageTop[192.96.144.231_374828]: <H1>Traffic Analysis for 374828 --
saghi</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>saghi in Unknown (edit
/etc/snmp/snmpd.conf)</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root at localhost&gt; (configure
/etc/snmp/snmp.local.conf)</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 Bytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>3.0 ()</TD></TR>

#  </TABLE>

 

 



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list