<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi guys<br><br>I am using mrtg creating graphs from local text files, and the graph doesnt show any Max Average Current. Where did I go wrong.<br><br>My mrtg.cfg file looks like this<br>---------------------------------------------------------------<br># Created by<br># /usr/bin/cfgmaker --global "workdir: /var/www/mrtg" -ifref=ip --output /etc/mrtg/mrtg.cfg --global "options[_]: growright,bits" <br>### Global Config Options<br><br># for UNIX<br># WorkDir: /home/http/mrtg<br><br># or for NT<br># WorkDir: c:\mrtgdata<br><br>### Global Defaults<br><br># to get bits instead of bytes and graphs growing to the right<br># Options[_]: growright, bits<br><br>EnableIPv6: no<br>workdir: /var/www/mrtg<br>options[_]: growright,bits<br><br>Interval: 5<br><br>######################################################################<br># System: CORE02.dardanet.net<br># Description: Cisco Internetwork Operating System Software<br># IOS (tm) s72033_rp Software (s72033_rp-PK9SV-M), Version 12.2(18)SXD7b, RELEASE SOFTWARE (fc1)<br># Technical Support: http://www.cisco.com/techsupport<br># Copyright (c) 1986-2006 by cisco Systems, Inc.<br># Compiled Fr<br># Contact:<br># Location:<br>######################################################################<br><br><br>Title[usage]: IP usage<br>PageTop[usage]: <H1>IP usage</H1><br>Options[usage]: nobanner,gauge,<br>Target[usage]: `/home/mrtg/mrtg/ip.sh`<br>MaxBytes[usage]: 255<br>YLegend[usage]: IP total/used<br>Unscaled[usage]: ymwd<br>LegendI[usage]:<br>LegendO[usage]:<br>Suppress[usage]: y<br>---------------------------------------------------------------<br>on my script I do some loging and I provide only one value as VAL1 variable :<br><br>---------------------------------------------------------------<br>
VAL1=$USED96<br>echo $VAL1<br>echo 0<br>echo 0<br>echo 0<br>---------------------------------------------------------------<br>
<br>Thanks Dino<br><br><br>                                            <br /><hr />Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2' target='_new'>See how.</a></body>
</html>