[mrtg] Growright

Joe Reinhart joer at conxxus.com
Thu Nov 15 23:01:22 CET 2007


I tried it both with and without the growright option in the cfg file with no change.  I would like it to grow to the right, i.e the little red arrow on the right side of the graph.  I have included the cfg file that it is using.  As I said, i have tried it with and without the growright option.
_____________________________________________________________________________________________________
# Created by 
# ./cfgmaker --global 'WorkDir: /home/mrtg/CCU/paxtonccu101/' --global 'Options[_]: growright' --global 'Options[_]: integer' --global 'Options[_]: unknaszero' --global 'Options[_]: nopercent' --community=IlliComNet --snmp-options=::1:1::1 --output=/usr/local/mrtg-2/bin/paxtonccu101.cfg 10.0.11.2

RunAsDaemon: Yes
Interval: 5

### 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

WorkDir: /home/mrtg/CCU/paxtonccu101/
Options[_]: growright
Options[_]: integer
Options[_]: unknaszero
Options[_]: nopercent

######################################################################
# System: LMS3000
# Description: LMS3000
# Contact: support at illicom.net
# Location: Paxton Tower CCU101
######################################################################


### Interface 1 >> Descr: 'lo0' | Name: '' | Ip: '127.0.0.1' | Eth: '' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
### * has a speed of 0 which makes no sense
# 
# Target[10.0.11.2_1]: 1:IlliComNet at 10.0.11.2::1:1::1
# SetEnv[10.0.11.2_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo0"
# MaxBytes[10.0.11.2_1]: 0
# Title[10.0.11.2_1]: Traffic Analysis for 1 -- LMS3000
# PageTop[10.0.11.2_1]: <H1>Traffic Analysis for 1 -- LMS3000</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>LMS3000 in Paxton Tower CCU101</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>support at illicom.net</TD></TR>
#    <TR><TD>Description:</TD><TD>lo0  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>softwareLoopback (24)</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>127.0.0.1 (localhost.localdomain)</TD></TR>
#  </TABLE>


### Interface 2 >> Descr: 'esmc0' | Name: '' | Ip: '10.0.11.2' | Eth: '00-90-c8-e0-04-4f' ###

Target[10.0.11.2_2]: 2:IlliComNet at 10.0.11.2::1:1::1
SetEnv[10.0.11.2_2]: MRTG_INT_IP="10.0.11.2" MRTG_INT_DESCR="esmc0"
MaxBytes[10.0.11.2_2]: 1250000
Title[10.0.11.2_2]: Traffic Analysis for 2 -- LMS3000
PageTop[10.0.11.2_2]: <H1>Traffic Analysis for 2 -- LMS3000</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>LMS3000 in Paxton Tower CCU101</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>support at illicom.net</TD></TR>
   <TR><TD>Description:</TD><TD>esmc0  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</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>10.0.11.2 ()</TD></TR>
 </TABLE>


### Interface 3 >> Descr: 'rdr1' | Name: '' | Ip: '' | Eth: '00-90-c8-60-04-4f' ###

Target[10.0.11.2_3]: 3:IlliComNet at 10.0.11.2::1:1::1
SetEnv[10.0.11.2_3]: MRTG_INT_IP="" MRTG_INT_DESCR="rdr1"
MaxBytes[10.0.11.2_3]: 343750
Title[10.0.11.2_3]: Traffic Analysis for 3 -- LMS3000
PageTop[10.0.11.2_3]: <H1>Traffic Analysis for 3 -- LMS3000</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>LMS3000 in Paxton Tower CCU101</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>support at illicom.net</TD></TR>
   <TR><TD>Description:</TD><TD>rdr1  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>343.8 kBytes/s</TD></TR>
 </TABLE>

_____________________________________________________________________________
Any suggestions? 

Thanks again for the help!

Joe




-----Original Message-----
From: Dean Hoium [mailto:Dean.Hoium at genmills.com]
Sent: Thu 11/15/2007 1:10 PM
To: Joe Reinhart
Subject: RE: [mrtg] Growright
 
I think it means grow from right, not grow to the right.

I have mine setup with grow right so they stat on the right and grow to the left.  The right side is most current data.

 

 

Thank You, 
Dean 

From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Joe Reinhart
Sent: Thursday, November 15, 2007 11:41 AM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Growright

 

 

I am a complete noob not only to MRTG, but Linux as well, so please keep responses as simple as possible for the simpleton. 

I cannot get my graphs to grow right, even though I am using the growright global option.  As far as i can see, I have not set anything to growleft locally in the interfaces, so I don't know why it isn't working like I want it to.  Does anyone have any suggestions as to what I can do?

Thanks in advance,
Joe Reinhart 


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.33/1132 - Release Date: 11/15/2007 9:34 AM
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20071115/b41c805a/attachment.html 


More information about the mrtg mailing list