[mrtg] Re: MRTG and timeticks

KELLY David (NQ) david.kelly at ergon.com.au
Thu Jan 10 22:29:23 MET 2002


This was posted to the list about a week ago.
  Including to save some search time.

Dave Kelly

-----Original Message-----
From: Paul C. Williamson [mailto:pwilliamson at mandtbank.com]
Sent: Friday, January 11, 2002 1:36 AM
To: mrtg at list.ee.ethz.ch; lindsay.hunt at power.alstom.com
Subject: [mrtg] Re: MRTG and timeticks



If you know a bit of perl or shell scripting, you could do one 
of a few things...

Do you want to graph in hours minutes, or seconds?

Based on what you want, you could try your hand with an external script, 
just doing some simple math to convert it to a time that you want and 
MRTG understands.

Then, just output it twice...

Paul
>>> <lindsay.hunt at power.alstom.com> 01/10/02 09:40AM >>>

Hello,

I am monitoring some APC UPSs and can graph the output load and battery
charge remaining.  I now want to monitor the estimated minutes remaining.
The mib reports this time remaining in the following format (timeticks):

     0:15:00

MRTG is expecting a number and doesn't know how to handle this data.  Has
anyone developed a method of dealing with data in this format?

Lindsay Hunt
Network Engineer
Alstom Power
phone 804-763-7239
mobile 804-334-1682
fax 804-763-7107

CONFIDENTIALITY : This e-mail and any attachments are confidential and may
be privileged. If you are not a named recipient, please notify the sender
immediately and do not disclose the contents to another person, use it for
any purpose or store or copy the information in any medium.


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



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


This e-mail (including any attachments) may contain confidential or
privileged information and is intended for the sole use of the person(s) to
whom it is addressed. If you are not the intended recipient, or the person
responsible for delivering this message to the intended recipient, please
notify the sender or helpdesk at ergon.com.au immediately, and delete all
copies. Any unauthorised review, use, alteration, disclosure or distribution
of this e-mail by an unintended recipient is prohibited. Ergon Energy
accepts no responsibility for the content of any e-mail sent by an employee
which is of a personal nature.
  



-- Binary/unsupported file stripped by Listar --
-- Err : No filename to use for decode, file stripped.
-- Type: message/rfc822
-- Desc: [mrtg] Perl script to convert Time (HH:MM:SS) to minutes


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



More information about the mrtg mailing list