FW: MRTG help

shuchi shah <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <401239B09EFA474598279A03DB2FAEC61084D5FA02@COCORCMBX1.corp.bharatpetroleum.com>
Hello,

I've configured MRTG for some routers. I've attached the picture of the monthly graph. I need the monthly graph inverted, ie, I want the left side to show week 47 followed by week 48 and so on and in the rightmost die I need Week 51. I also want that in the HTML pages that are created instead of the Traffic Analysis for 1-UranRT it should be replaced by the description. Can you please tell me where should I make the changes in the script to get the desired results. I'm not familiar with Perl and hence I cannot make out where these parameters have been defined. Please help me for the same.

Thanks and Regards,
Shuchi Shah
CO Network and Security Team
BPCL
9769719464/22714219


*******************************************Disclaimer******************************************************
The information contained in this message is BPCL's Confidential and Proprietary information and is intended only for the use of the recipient(s) named above. If the reader of this message is not the intended recipient, he/she is hereby notified that any use, dissemination, distribution, or copying of this communication or any of its content is strictly prohibited. In such case, please advise the sender immediately and delete it from your system. Further acknowledge that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of BPCL.

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
10.83.2.126_1-month.png (image/png, 1.4 KB) - not displayed
10.83.2.126_1.html (text/html, 6.6 KB)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/dtd/xhtml11.dtd">
<html>
<!-- Begin Head -->
	<head>
		<title>Traffic Analysis for 1 -- URANRT.www.bpcl.in</title>
		<meta http-equiv="refresh" content="300" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="Thu, 20 Dec 2012 07:01:39 GMT" />
		<meta http-equiv="generator" content="MRTG 2.17.4" />
		<meta http-equiv="date" content="Thu, 20 Dec 2012 07:01:39 GMT" />
		<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<!-- maxin d 0 -->
<!-- maxout d 0 -->
<!-- avin d 0 -->
<!-- avout d 0 -->
<!-- cuin d 0 -->
<!-- cuout d 0 -->
<!-- maxin w 0 -->
<!-- maxout w 0 -->
<!-- avin w 0 -->
<!-- avout w 0 -->
<!-- cuin w 0 -->
<!-- cuout w 0 -->
<!-- maxin m 0 -->
<!-- maxout m 0 -->
<!-- avin m 0 -->
<!-- avout m 0 -->
<!-- cuin m 0 -->
<!-- cuout m 0 -->
<!-- maxin y 0 -->
<!-- maxout y 0 -->
<!-- avin y 0 -->
<!-- avout y 0 -->
<!-- cuin y 0 -->
<!-- cuout y 0 -->

		<style type="text/css">
			body {
				background-color: #ffffff;
			}
			div {
				border-bottom: 2px solid #aaa;
				padding-bottom: 10px;
				margin-bottom: 5px;
			}
			div h2 {
				font-size: 1.2em;
			}
			div.graph img {
				margin: 5px 0;
			}
			div.graph table, div#legend table {
				font-size: .8em;
			}
			div.graph table td {
				padding: 0 10px;
				text-align: right;
			}
			div table .in th, div table td span.in {
				color: #00cc00;
			}
			div table .out th, div table td span.out {
				color: #0000ff;
			}
			div#legend th {
				text-align: right;
			}
			div#footer {
				border: none;
				font-size: .8em;
				font-family: Arial, Helvetica, sans-serif;
				width: 476px;
			}
			div#footer img {
				border: none;
				height: 25px;
			}
			div#footer address {
				text-align: right;
			}
			div#footer #version {
				margin: 0;
				padding: 0;
				float: left;
				width: 88px;
				text-align: right;
			}
		</style>

	</head>
<body>
<h1>Traffic Analysis for 1 -- URANRT.www.bpcl.in</h1> <div id="sysdetails"> <table> <tr> <td>System:</td> <td>URANRT.www.bpcl.in in "Uran LPG"</td> </tr> <tr> <td>Maintainer:</td> <td></td> </tr> <tr> <td>Description:</td> <td>FastEthernet0/0 **** TULIP WAN **** </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>71.2.225.39 (No DNS name)</td> </tr> </table> </div><p>The statistics were last updated <strong>Thursday, 20 December 2012 at 12:26</strong>,<br />
at which time <strong>'URANRT.www.bpcl.in'</strong> had been up for <strong>50 days, 20:11:12</strong>.</p>
<!-- End Head -->
<!-- Begin `Daily' Graph (5 Minute interval) -->
		<div class="graph">
			<h2>`Daily' Graph (5 Minute Average)</h2>
			<img src="10.83.2.126_1-day.png" title="day" alt="day" />
			<table>
				<tr>
					<th></th>
					<th scope="col">Max</th>
					<th scope="col">Average</th>
					<th scope="col">Current</th>
				</tr>
				<tr class="in">
					<th scope="row">In</th>
					<td>0.0 B/s (0.0%)</td>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
				</tr>
				<tr class="out">
					<th scope="row">Out</th>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
				</tr>
			</table>
		</div>
<!-- End `Daily' Graph (5 Minute interval) -->

<!-- Begin `Weekly' Graph (30 Minute interval) -->
		<div class="graph">
			<h2>`Weekly' Graph (30 Minute Average)</h2>
			<img src="10.83.2.126_1-week.png" title="week" alt="week" />
			<table>
				<tr>
					<th></th>
					<th scope="col">Max</th>
					<th scope="col">Average</th>
					<th scope="col">Current</th>
				</tr>
				<tr class="in">
					<th scope="row">In</th>
					<td>0.0 B/s (0.0%)</td>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
				</tr>
				<tr class="out">
					<th scope="row">Out</th>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
				</tr>
			</table>
		</div>
<!-- End `Weekly' Graph (30 Minute interval) -->

<!-- Begin `Monthly' Graph (2 Hour interval) -->
		<div class="graph">
			<h2>`Monthly' Graph (2 Hour Average)</h2>
			<img src="10.83.2.126_1-month.png" title="month" alt="month" />
			<table>
				<tr>
					<th></th>
					<th scope="col">Max</th>
					<th scope="col">Average</th>
					<th scope="col">Current</th>
				</tr>
				<tr class="in">
					<th scope="row">In</th>
					<td>0.0 B/s (0.0%)</td>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
				</tr>
				<tr class="out">
					<th scope="row">Out</th>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
				</tr>
			</table>
		</div>
<!-- End `Monthly' Graph (2 Hour interval) -->

<!-- Begin `Yearly' Graph (1 Day interval) -->
		<div class="graph">
			<h2>`Yearly' Graph (1 Day Average)</h2>
			<img src="10.83.2.126_1-year.png" title="year" alt="year" />
			<table>
				<tr>
					<th></th>
					<th scope="col">Max</th>
					<th scope="col">Average</th>
					<th scope="col">Current</th>
				</tr>
				<tr class="in">
					<th scope="row">In</th>
					<td>0.0 B/s (0.0%)</td>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
				</tr>
				<tr class="out">
					<th scope="row">Out</th>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
					<td>0.0 B/s (0.0%) </td>
				</tr>
			</table>
		</div>
<!-- End `Yearly' Graph (1 Day interval) -->

<!-- Begin Legend -->
		<div id="legend">
			<table>
				<tr class="in">
					<th scope="row">GREEN ###</th>
					<td>Incoming Traffic in Bytes per Second</td>
				</tr>
				<tr class="out">
					<th scope="row">BLUE ###</th>
					<td>Outgoing Traffic in Bytes per Second</td>
				</tr>
			</table>
		</div>
<!-- End Legend --><!-- Begin MRTG Block -->
		<div id="footer">
			<a href="http://oss.oetiker.ch/mrtg/"><img src="mrtg-l.png" width="63" title="MRTG" alt="MRTG" /><img src="mrtg-m.png" width="25" title="MRTG" alt="MRTG" /><img src="mrtg-r.png" width="388" title="Multi Router Traffic Grapher" alt="Multi Router Traffic Grapher" /></a>
			<p id="version">2.17.4</p>
			<address>
				<a href="http://tobi.oetiker.ch/">Tobias Oetiker</a>
				<a href="mailto:[email protected]">&lt;[email protected]&gt;</a><br />
and				<a href="http://www.bungi.com/">Dave Rand</a>
				<a href="mailto:[email protected]">&lt;[email protected]&gt;</a>
			</address>
		</div>
		<!-- End MRTG Block -->
	</body>
</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.