[mrtg] Re: [mrtg]

Jim Allen jim.allen at rspn.com
Tue Jun 27 20:43:27 MEST 2000


Here is a piece of the cfg file.
<<Begin Cut>>

WorkDir: /home/httpd/html/mrtg


######################################################################
# Description: Silicon Graphics IRIS Indy S running IRIX 6.5
#     Contact: Contact Entry
# System Name: abc.whatever.site
#    Location: Location Entry
#.....................................................................

Target[abc.whatever.site]: 1:public at abc.whatever.site
MaxBytes[abc.whatever.site]: 1250000
Title[abc.whatever.site]: abc.whatever.site (abc.whatever.site): Silicon
Graphics ec Ethernet controller
Options[abc.whatever.site]: growright
PageTop[abc.whatever.site]: <H1>Traffic Analysis for Server
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>abc.whatever.site in Location Entry</TD></TR>
   <TR><TD>Maintainer:</TD><TD>Contact Entry</TD></TR>
   <TR><TD>Interface:</TD><TD>Silicon Graphics Server (1)</TD></TR>
   <TR><TD>IP:</TD><TD>abc.whatever.site (192.168.47.8)</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>

#---------------------------------------------------------------

<<End Cut>>

I have been adding new servers and routers to the existing cfg files using
the following command.
./cfgmaker --options growright public at abc.whatever.site >> 1.cfg
I then edit the cfg file (VI) to adjust Interface, Contact, Location etc for
display in the html page.
Please be aware that there are 100 servers and routers is these cfg files
and they are working correctly.

There are 2 cfg files, cron runs them alternately in 5 minutes increments.

System Info:
Red Hat Linux 6.2 512 MB RAM, 2x 500 MHZ Pentium II, 99GB (Raid 5) hard
drive space.
MRTG 2.8.12, current Perl.

Thanks again for your assistance.

> -----Original Message-----
> From: Paul C. Williamson [mailto:pwilliamson at MANDTBANK.COM]
> Sent: Tuesday, June 27, 2000 1:13 PM
> To: mrtg at list.ee.ethz.ch; jim.allen at rspn.com
> Subject: Re: [mrtg]
>
>
> Do you have any other information in the cfg file?  It would help
> to see what the config file looks like, but basically, mrtg is
> saying it can't communicate with the device abc.whatever.site.  I
> get these every once in a while, but if they go on for more than
> one or two cycles, it usually indicates that something is wrong.
> BTW, how did you build the mrtg cfg.cfg file?
>
> Paul
>
> >>> "Jim Allen" <jim.allen at rspn.com> 06/27/00 01:55PM >>>
>
> Can anyone help me with this error message?
>
> <<Cut>>
> SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName ifDescr.2
> on public at abc.whatever.site.
> SNMPGET: Failed to reach target: "2:public at abc.whatever.site. I tried
> multiple times!
> <<End Cut>>
>
> I get this error message when mrtg runs the cfg file, either from cron or
> manually (./mrtg cfg.cfg).  However, when I run ./cfgmaker it
> (the systems -
> three) responds
> correctly.
>
> ./cfgmaker --options growright --workdir /.../.../mrtg
> public at abc.whatever.site
>
> Thanks in advance for any suggestions.
>
> Jim
>
>
>
>





More information about the mrtg mailing list