[mrtg] Re: Manually editing the X Axis Scale

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Fri Mar 17 10:22:49 MET 2006


Emma,

The config file will work for newly polled values. Values that are polled in the past are not changed. To reset the graphs you can wait until all old values drop (which wil last for over a year for the yearly graph) of or throw away the *.log and *.old file for the specific graph.
Some comments about your configfile:
'Absolute' and 'Gauge' are two different kind of counters which should not be mixed in one line. In case of a percentage the option to use is 'Gauge'
Percentages of CPU usage do not top 100% so you can set the MaxBytes value to 100
Since you are polling a percentage there is no need to calculate the percentage again. To avoid this you can add 'nopercent' to the options line
You are graphing 2 identical values. It is possible to suppress one by adding 'noo' or 'noi' to the options line.

HTH,

Jan.


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Emma Corder
Sent: Friday, March 17, 2006 9:55 AM
To: kelsey hudson
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Manually editing the X Axis Scale


Hi Kelsey

Thanks for your help.  I don't think it worked but then again it is only 8.50am and one coffee isn't enough!!  Here is my cfg could you take a quick look and see if I am doing something wrong??

Target[externalfirewallcpu15]:.1.3.6.1.4.1.4355.6.3.79.0&.1.3.6.1.4.1.43
55.6.3.79.0:communitystring at 9.9.9.9:::::2c / 100
MaxBytes[externalfirewallcpu15]: 1000
Options[externalfirewallcpu15]: growright,absolute,gauge
Title[externalfirewallcpu15]: Hosted Firewall CPU Usage (based on 15 min
intervals)
YLegend[externalfirewallcpu15]: CPU Utilisation
ShortLegend[externalfirewallcpu15]: %
LegendI[externalfirewallcpu15]:  CPU:
PageTop[externalfirewallcpu15]: <H1> Hosted Firewall (CPU Usage based on 15 min intervals)</H1>
#Unscaled[externalfirewallcpu15]: ymwd
 <TABLE>
   <TR><TD>System:</TD>     <TD> Hosted Firewall CPU Usage (based on 15
min intervals)</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Emma Corder</TD></TR>
   <TR><TD>Description:</TD><TD><B>CPU Usage</B></TD></TR>
   <TR><TD>Ip:</TD>         <TD>9.9.9.9 (Watchguard V80)</TD></TR>
 </TABLE>

The graph still shows

Up to figure like 79 which should be 0.079 


Thanks for your really quick response!!

Em

Emma

-----Original Message-----
From: kelsey hudson [mailto:khudson at tsss.org]
Sent: 17 March 2006 08:30
To: Emma Corder; mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Manually editing the X Axis Scale



Emma Corder wrote:
> Hi
> 
>
> Does anyone know how to manually edit the x axis scale?   I am
> monitoring the CPU Usage on a Watchguard. The returned value from the
> MIB is measured in 0.01% so if the value returned is for example 234
> then the CPU utilisation is 2.34%.  On the graphs the figure will show
> as 234.  I would like to be able to change this so that the value is
> actually 2.34%.  
>
> 
>
> Any help would be gratefully appreciated.

In your Target[blah]: definition, you'll want to do a blanket divide by
one hundred:

Target[watchguard_cpu]:
1.2.3.4.5.6.7.8.9.0&1.2.3.4.5.6.7.8.9.0:public at watchguard:::::2 / 100

of course, replace the gibberish OID with whatever your OID is suppossed

to be. The / 100 at the end is the important part. :)

Hope this works out for you!

-Kelsey


- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This e-mail (and any attachments) is confidential and may be privileged. If you are not the intended recipient do not copy, use, or rely on them. We do not accept any legal responsibility for the contents of this communication due to the generally insecure nature of email. The views and opinions expressed within this email are those of the author and are not necessarily those of 'Piccadilly Ticketline' or any subsidiary. If you received this email in error, please notify us immediately. PiccadillyTicketline has taken every reasonable precaution to ensure that any attachment to this e-mail has been swept for viruses. However, Ticketline cannot accept liability for any damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any email or attachment.

- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


_________________________________________________________

Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen.
_________________________________________________________

The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt.
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.
_________________________________________________________

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list