[mrtg] mrtg graph help
Albert Hofmann
albert.hofmann at wanadoo.fr
Thu Feb 4 08:25:38 CET 2010
Ho,
In your mrtg.conf file you have this option:
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
Delete # :
# to get bits instead of bytes and graphs growing to the right
Options[_]: growright, bits
----- Original Message -----
From: "Sivakumar Natarajan" <Sivakumar.Natarajan at necindia.in>
To: "Jay Hennigan" <jay at west.net>
Cc: <mrtg at lists.oetiker.ch>
Sent: Thursday, February 04, 2010 7:42 AM
Subject: Re: [mrtg] mrtg graph help
>
> Hi,
>
> I can't understand, please find below my mrtg.cfg file where should I
> update?
>
> # Created by
> # cfgmaker public at 172.30.49.129 --global "WorkDir: c:\www\mrtg" --output
> mrtg.cfg
>
>
> ### 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
>
> EnableIPv6: no
>
> ######################################################################
> # System: NEC_Chennai.yourdomain.com
> # Description: Cisco IOS Software, 1841 Software (C1841-IPBASE-M),
> Version 12.4(1c), RELEASE SOFTWARE (fc1)
> # Technical Support: http://www.cisco.com/techsupport
> # Copyright (c) 1986-2005 by Cisco Systems, Inc.
> # Compiled Tue 25-Oct-05 17:10 by evmiller
> # Contact:
> # Location:
> ######################################################################
>
>
> ### Interface 1 >> Descr: 'FastEthernet0/0' | Name: 'Fa0/0' | Ip:
> '172.30.49.129' | Eth: '00-1b-53-ae-12-38' ###
>
> Target[172.30.49.129_1]: 1:public at 172.30.49.129:
> SetEnv[172.30.49.129_1]: MRTG_INT_IP="172.30.49.129"
> MRTG_INT_DESCR="FastEthernet0/0"
> MaxBytes[172.30.49.129_1]: 12500000
> Title[172.30.49.129_1]: Traffic Analysis for 1 --
> NEC_Chennai.yourdomain.com
> PageTop[172.30.49.129_1]: <h1>Traffic Analysis for 1 --
> NEC_Chennai.yourdomain.com</h1>
> <div id="sysdetails">
> <table>
> <tr>
> <td>System:</td>
> <td>NEC_Chennai.yourdomain.com
> in </td>
> </tr>
> <tr>
> <td>Maintainer:</td>
> <td></td>
> </tr>
> <tr>
> <td>Description:</td>
> <td>FastEthernet0/0 </td>
> </tr>
> <tr>
> <td>ifType:</td>
> <td>ethernetCsmacd (6)</td>
> </tr>
> <tr>
> <td>ifName:</td>
> <td>Fa0/0</td>
> </tr>
> <tr>
> <td>Max Speed:</td>
> <td>12.5 MBytes/s</td>
> </tr>
> <tr>
> <td>Ip:</td>
> <td>172.30.49.129 ()</td>
> </tr>
> </table>
> </div>
>
>
> ### Interface 2 >> Descr: 'FastEthernet0/1' | Name: 'Fa0/1' | Ip: '' |
> Eth: '00-1b-53-ae-12-39' ###
> ### The following interface is commented out because:
> ### * it is administratively DOWN
> ### * it is operationally DOWN
> #
> # Target[172.30.49.129_2]: 2:public at 172.30.49.129:
> # SetEnv[172.30.49.129_2]: MRTG_INT_IP=""
> MRTG_INT_DESCR="FastEthernet0/1"
> # MaxBytes[172.30.49.129_2]: 12500000
> # Title[172.30.49.129_2]: Traffic Analysis for 2 --
> NEC_Chennai.yourdomain.com
> # PageTop[172.30.49.129_2]: <h1>Traffic Analysis for 2 --
> NEC_Chennai.yourdomain.com</h1>
> # <div id="sysdetails">
> # <table>
> # <tr>
> # <td>System:</td>
> # <td>NEC_Chennai.yourdomain.com
> in </td>
> # </tr>
> # <tr>
> # <td>Maintainer:</td>
> # <td></td>
> # </tr>
> # <tr>
> # <td>Description:</td>
> # <td>FastEthernet0/1 </td>
> # </tr>
> # <tr>
> # <td>ifType:</td>
> # <td>ethernetCsmacd (6)</td>
> # </tr>
> # <tr>
> # <td>ifName:</td>
> # <td>Fa0/1</td>
> # </tr>
> # <tr>
> # <td>Max Speed:</td>
> # <td>12.5 MBytes/s</td>
> # </tr>
> # </table>
> # </div>
>
>
> ### Interface 3 >> Descr: 'Serial0/1/0' | Name: 'Se0/1/0' | Ip:
> '172.30.48.134' | Eth: '' ###
>
> Target[172.30.49.129_3]: 3:public at 172.30.49.129:
> SetEnv[172.30.49.129_3]: MRTG_INT_IP="172.30.48.134"
> MRTG_INT_DESCR="Serial0/1/0"
> MaxBytes[172.30.49.129_3]: 193000
> Title[172.30.49.129_3]: Traffic Analysis for 3 --
> NEC_Chennai.yourdomain.com
> PageTop[172.30.49.129_3]: <h1>Traffic Analysis for 3 --
> NEC_Chennai.yourdomain.com</h1>
> <div id="sysdetails">
> <table>
> <tr>
> <td>System:</td>
> <td>NEC_Chennai.yourdomain.com
> in </td>
> </tr>
> <tr>
> <td>Maintainer:</td>
> <td></td>
> </tr>
> <tr>
> <td>Description:</td>
> <td>Serial0/1/0 </td>
> </tr>
> <tr>
> <td>ifType:</td>
> <td>propPointToPointSerial
> (22)</td>
> </tr>
> <tr>
> <td>ifName:</td>
> <td>Se0/1/0</td>
> </tr>
> <tr>
> <td>Max Speed:</td>
> <td>193.0 kBytes/s</td>
> </tr>
> <tr>
> <td>Ip:</td>
> <td>172.30.48.134 ()</td>
> </tr>
> </table>
> </div>
>
>
> ### Interface 4 >> Descr: 'Serial0/1/1' | Name: 'Se0/1/1' | Ip: '' |
> Eth: '' ###
> ### The following interface is commented out because:
> ### * it is administratively DOWN
> ### * it is operationally DOWN
> #
> # Target[172.30.49.129_4]: 4:public at 172.30.49.129:
> # SetEnv[172.30.49.129_4]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial0/1/1"
> # MaxBytes[172.30.49.129_4]: 193000
> # Title[172.30.49.129_4]: Traffic Analysis for 4 --
> NEC_Chennai.yourdomain.com
> # PageTop[172.30.49.129_4]: <h1>Traffic Analysis for 4 --
> NEC_Chennai.yourdomain.com</h1>
> # <div id="sysdetails">
> # <table>
> # <tr>
> # <td>System:</td>
> # <td>NEC_Chennai.yourdomain.com
> in </td>
> # </tr>
> # <tr>
> # <td>Maintainer:</td>
> # <td></td>
> # </tr>
> # <tr>
> # <td>Description:</td>
> # <td>Serial0/1/1 </td>
> # </tr>
> # <tr>
> # <td>ifType:</td>
> # <td>propPointToPointSerial
> (22)</td>
> # </tr>
> # <tr>
> # <td>ifName:</td>
> # <td>Se0/1/1</td>
> # </tr>
> # <tr>
> # <td>Max Speed:</td>
> # <td>193.0 kBytes/s</td>
> # </tr>
> # </table>
> # </div>
>
>
> ### Interface 5 >> Descr: 'Null0' | Name: 'Nu0' | Ip: '' | Eth: '' ###
> ### The following interface is commented out because:
> ### * it is a cisco Null0 interface
> #
> # Target[172.30.49.129_5]: 5:public at 172.30.49.129:
> # SetEnv[172.30.49.129_5]: MRTG_INT_IP="" MRTG_INT_DESCR="Null0"
> # MaxBytes[172.30.49.129_5]: 536870911
> # Title[172.30.49.129_5]: Traffic Analysis for 5 --
> NEC_Chennai.yourdomain.com
> # PageTop[172.30.49.129_5]: <h1>Traffic Analysis for 5 --
> NEC_Chennai.yourdomain.com</h1>
> # <div id="sysdetails">
> # <table>
> # <tr>
> # <td>System:</td>
> # <td>NEC_Chennai.yourdomain.com
> in </td>
> # </tr>
> # <tr>
> # <td>Maintainer:</td>
> # <td></td>
> # </tr>
> # <tr>
> # <td>Description:</td>
> # <td>Null0 </td>
> # </tr>
> # <tr>
> # <td>ifType:</td>
> # <td>Other (1)</td>
> # </tr>
> # <tr>
> # <td>ifName:</td>
> # <td>Nu0</td>
> # </tr>
> # <tr>
> # <td>Max Speed:</td>
> # <td>536.9 MBytes/s</td>
> # </tr>
> # </table>
> # </div>
>
>
> WorkDir: c:\PROGRA~1\APACHE~1\Apache2.2\htdocs
>
> RunAsDaemon: yes
>
> Thanks & Regards
> N. Sivakumar
>
> -----Original Message-----
> From: Jay Hennigan [mailto:jay at west.net]
> Sent: Thursday, February 04, 2010 11:42 AM
> To: Sivakumar Natarajan
> Cc: mrtg at lists.oetiker.ch
> Subject: Re: [mrtg] mrtg graph help
>
> Sivakumar Natarajan wrote:
>> Hi,
>>
>>
>>
>> My mrtg graph displaying from right to left, How do I change it left
> to
>> right,
>
> Use the "growright" option in the target definition.
>
>
> --
> Jay Hennigan - CCIE #7880 - Network Engineering - jay at impulse.net
> Impulse Internet Service - http://www.impulse.net/
> Your local telephone and internet company - 805 884-6323 - WB6RDV
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
More information about the mrtg
mailing list