[mrtg] mrtg Digest, Vol 17, Issue 26

Bharati Rane Bharati.Rane at wnsgs.com
Fri May 30 13:00:00 CEST 2008


 


Regards,

Bharati Rane

________________________________________________________________________
________________________________________________________________________
__________________________________________________

LAN Team 

WNS Global Services Pvt. Ltd. | Gate 4, Godrej & Boyce Complex | LBS
Marg | Vikroli (West) | Mumbai - 400 079 | Tel: +91 22 4095 2369 |
Mobile: +91 9821 386827

Winning doesn't always mean being first,winning means you're doing
better than you're done before........Bonnie Blair

-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of
mrtg-request at lists.oetiker.ch
Sent: Thursday, May 29, 2008 9:33 AM
To: mrtg at lists.oetiker.ch
Subject: mrtg Digest, Vol 17, Issue 26

Send mrtg mailing list submissions to
	mrtg at lists.oetiker.ch

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
or, via email, send a message with subject or body 'help' to
	mrtg-request at lists.oetiker.ch

You can reach the person managing the list at
	mrtg-owner at lists.oetiker.ch

When replying, please edit your Subject line so it is more specific than
"Re: Contents of mrtg digest..."


Today's Topics:

   1. Re: Configuring MRTG/rrdtool with <1 minute intervals
      (Jonathan Williams)
   2. Re: Configuring MRTG/rrdtool with <1 minute intervals
      (Christopher Noyes)
   3. Re: Configuring MRTG/rrdtool with <1 minute intervals
      (Steve Shipway)
   4. Re: Configuring MRTG/rrdtool with <1 minute intervals
      (Steve Shipway)
   5. Re: Configuring MRTG/rrdtool with <1 minute intervals
      (Steve Shipway)


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

Message: 1
Date: Wed, 28 May 2008 10:54:43 -0400
From: Jonathan Williams <jonathanW at gridpointsystems.com>
Subject: Re: [mrtg] Configuring MRTG/rrdtool with <1 minute intervals
To: Daniel J McDonald <dan.mcdonald at austinenergy.com>
Cc: mrtg at lists.oetiker.ch
Message-ID: <1211986483.16379.26.camel at snark.gps.local>
Content-Type: text/plain

On Wed, 2008-05-28 at 06:25 -0500, Daniel J McDonald wrote:

> 2.15.0.  From the changelog:
>       * mrtg running with rrdtool can now do sub-minute resolution if
>         the interval is specified like that: 0:30 ... note that you
can
>         not change the resolution of an existing rrd file. So this
will
>         only have the desired effect on new rrds. Also note that the
>         graphing frontend may need changes too to be able to deal with
>         the new interval type. Internally interval is now a float!
> 

2.14.5-2 <== there's my problem! I'll be picking up the latest stable
release presently.

J.Williams



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

Message: 2
Date: Wed, 28 May 2008 11:36:22 -0400
From: Christopher Noyes <cnoyes at csc.com>
Subject: Re: [mrtg] Configuring MRTG/rrdtool with <1 minute intervals
To: Steve Shipway <s.shipway at auckland.ac.nz>
Cc: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>,
	mrtg-bounces at lists.oetiker.ch
Message-ID:
	
<OFD8BF3B5A.A015B76C-ON85257457.0055A77C-85257457.0055BAD2 at csc.com>
Content-Type: text/plain; charset="us-ascii"

Hello,

  Are there any plans for Routers2cgi to support <1 min. polling?

Thanks.

-CN


Computer Sciences Corporation
Registered Office: 3170 Fairview Park Drive, Falls Church, Virginia
22042, USA Registered in Nevada, USA No: C-489-59

------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind CSC
to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of
e-mail for such purpose.
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------------




Steve Shipway <s.shipway at auckland.ac.nz> Sent by:
mrtg-bounces at lists.oetiker.ch
05/27/2008 07:53 PM

To
Jonathan Williams <jonathanW at gridpointsystems.com>,
"mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch> cc

Subject
Re: [mrtg] Configuring MRTG/rrdtool with <1 minute intervals





> > I am currently attempting to configure MRTG/rrdtool to poll some 
> > SNMP statistics at a rate under 1 minute.
>
> This is not possible using MRTG.  Check the MRTG documentation. 
> Although RRDTool can support intervals as low as 1 second, MRTG
cannot.

>From Tobi's email, it seems that MRTG can now accept decimal intervals 
>(I
wonder when this was added? I'm behind the times).  However it still
holds that the routers2 frontend will not show graphs for smaller
periods than 6 hours, IE, 1min-per-pixel, so you'll need to have some
other way of displaying them.  I think 14all and default mrtg-rrd will
also only show Daily graphs (IE, 5min interval) and not smaller (but I
may be behind the times on these, too?)

Steve

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.oetiker.ch/pipermail/mrtg/attachments/20080528/b58b1993/att
achment-0001.html 

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

Message: 3
Date: Thu, 29 May 2008 09:45:22 +1200
From: Steve Shipway <s.shipway at auckland.ac.nz>
Subject: Re: [mrtg] Configuring MRTG/rrdtool with <1 minute intervals
To: Christopher Noyes <cnoyes at csc.com>
Cc: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Message-ID:
	
<6B587E8C999646469B54486AF21958460181F156D2 at UXCHANGE7-1.UoA.auckland.ac.
nz>
	
Content-Type: text/plain; charset="us-ascii"

Not at present as it's a pretty rare configuration.  The vast majority
of users have 5-min, and some use 1-min. The existing 6-hour graphs give
down to 1-minute resolution, and of course will still work even if you
have 10second polling in the RRD file - you just will not be able to see
the full resolution available.

Adding a higher resolution graph - for example, a 1-hour graph - is not
so hard.  The problem is all the supporting code for the multiple
languages, dynamic menus, testing to see if the RRD actually supports
this, additional checks for sanity and validity, and the other graphs
you'd probably require, such as a zoomin for each individual hour of the
day.  This is a lot of extra work to code in, and it would probably be
more efficient to go the whole hog and support a general time window
with sanity checking - even more work, and requiring a major change to
the structure of the program.

If you're just coding for a specific case, things are easier, but
routers2 needs to be completely flexible to work under all
configurations.

Anyway - add a request on the forum at http://www.steveshipway.org/forum

Steve

________________________________
From: Christopher Noyes [mailto:cnoyes at csc.com]
  Are there any plans for Routers2cgi to support <1 min. polling?


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.oetiker.ch/pipermail/mrtg/attachments/20080529/d7698dc9/att
achment-0001.html 

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

Message: 4
Date: Thu, 29 May 2008 10:01:03 +1200
From: Steve Shipway <s.shipway at auckland.ac.nz>
Subject: Re: [mrtg] Configuring MRTG/rrdtool with <1 minute intervals
To: Daniel J McDonald <dan.mcdonald at austinenergy.com>,
	"mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Message-ID:
	
<6B587E8C999646469B54486AF21958460181F156D8 at UXCHANGE7-1.UoA.auckland.ac.
nz>
	
Content-Type: text/plain; charset="us-ascii"

> No, you're not behind the times on them.  Neither of those projects 
> has seen an update since 2003.  mrtg-rrd is particularly broken - it 
> uses its own parser rather than relying on the one in MRTG_lib.pm, so 
> it can't keep up with new features in later versions of mrtg without 
> serious hacking.

To be completely honest, Routers2 also uses its own parser.  The reason
for this is that it predates the introduction of the MRTG_lib.pm module,
and as a result has slightly different parsing rules which I cannot
change.  The largest difference is that Routers2 allows multiple use of
some directives (eg: routers.cgi*Graph[] and routers.cgi*Extension[])
which is incompatible with the MRTG_lib parser syntax.

Adding support for new MRTG directives (and Tobi keeps adding new
features so fast) is always a difficult problem.  There are also changes
to support in new versions of RRDTool and new features that I'd like to
take advantage of.  There are also a few cases where I added a new
feature to Routers2 using my syntax, and a bit later Tobi added it to
MRTG, but with his syntax, so I have to support both.

> We're all counting on you, Steve!  Thanks for being an active 
> maintainer.

A bit less active recently, I'm afraid, due to 'real' work pressure and
having a (second) new baby in the family.  It's been going on for more
than 8 years now though, which is pretty good for an Open Source project
(MRTG has managed 13 years, I believe)

I should be able to make v2.18 support the new number format easily
enough, however adding smaller graphs than the existing 6-hour is going
to have to wait.

If anyone is planning on attending LISA08, I will be there, possibly
running an MRTG/RRD/Routers2 tutorial and BoF session.

Steve



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

Message: 5
Date: Thu, 29 May 2008 16:03:18 +1200
From: Steve Shipway <s.shipway at auckland.ac.nz>
Subject: Re: [mrtg] Configuring MRTG/rrdtool with <1 minute intervals
To: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Message-ID:
	
<6B587E8C999646469B54486AF21958460181F15705 at UXCHANGE7-1.UoA.auckland.ac.
nz>
	
Content-Type: text/plain; charset="us-ascii"

> 2.15.0.  From the changelog:
>       * mrtg running with rrdtool can now do sub-minute resolution if
>         the interval is specified like that: 0:30

Routers2.18beta6 now supports this new format of specifying Interval.
No graph smaller than 6hours, though.

Actually, it appears that routers2 will work with this format of
interval definition already - it will just ignore the seconds part.
Since the Interval is only used to see if it should enable the 6Hour
graphs, this is fine.

Steve



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

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


End of mrtg Digest, Vol 17, Issue 26
************************************


Disclaimer:
-----------------------------------------------------------------
This email and any files transmitted with it may be confidential and intended solely 
for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender.
The recipient should check this email and any attachments for the presence of viruses 
and the company accepts no liability for any damage caused by the same. 
Please note that any views or opinions presented in this email are those of the author 
and do not necessarily represent those of WNS Group. 
-----------------------------------------------------------------



More information about the mrtg mailing list