Skip to content

Commit

Permalink
Imported v0.3 from 2002-01-04 from https://www.fi.muni.cz/~kas/mrtg-rrd/
Browse files Browse the repository at this point in the history
  • Loading branch information
morgant committed Dec 10, 2015
1 parent b2733ad commit de3adcf
Show file tree
Hide file tree
Showing 5 changed files with 317 additions and 108 deletions.
24 changes: 24 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
$Id: ChangeLog,v 1.2 2002/01/04 17:13:26 kas Exp $

Fri Jan 4 18:00:39 CET 2002

Directory mode almost fully implemented.
Bumped the version number to 0.3


Wed Jan 2 17:57:31 CET 2002

The Directory[] directive is now visible in the URL.


Tue Dec 18 14:06:29 CET 2001

Implemented the following mrtg.cfg directives:
Unscaled, WithPeak, XZoom, YZoom
Fixed the wrong behaviour of XScale, YScale.
Added $version as the separate variable.
Fixed the global options so that the graph still starts at y_min=0, even
if there is no time when the variable is near 0.
Fixed the [^], [_], and [$] behaviour for multiple configuration files
(the value should not remain defined from the previous cfg. file).

5 changes: 2 additions & 3 deletions FAQ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$Id: FAQ,v 1.3 2001/12/17 17:30:36 kas Exp $
$Id: FAQ,v 1.4 2002/01/04 17:18:17 kas Exp $

Q: What is this?
A: The mrtg-rrd.cgi scripts is a replacement for the 14all.cgi script
Expand Down Expand Up @@ -52,8 +52,7 @@ A: No, but it understands a very large subset of MRTG directives. See the
Q: Why to develop another 14all.cgi?
A: This script tries to produce its output as much similar to the original
MRTG output as possible. It also implements (I believe) much bigger
subset of MRTG configuration directives than 14all.cgi. On the other
hand, it doesn't do the directory index files (yet).
subset of MRTG configuration directives than 14all.cgi.

Q: Where can I find the newest version?
A: Look at http://www.fi.muni.cz/~kas/mrtg-rrd/ - this is the project home
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# $Id: Makefile,v 1.1 2001/12/17 15:38:07 kas Exp $
# $Id: Makefile,v 1.3 2002/01/04 17:16:05 kas Exp $

FILES = COPYING FAQ TODO Makefile mrtg-rrd.cgi
FILES = COPYING FAQ TODO Makefile mrtg-rrd.cgi ChangeLog

TARGETS = mrtg-rrd.fcgi

VERSION = 0.1
VERSION = 0.3

all: $(TARGETS)

Expand Down
21 changes: 13 additions & 8 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$Id: TODO,v 1.1 2001/12/17 15:06:37 kas Exp $
$Id: TODO,v 1.3 2002/01/04 17:13:27 kas Exp $

Unimplemented mrtg.cfg directives
=================================
Expand All @@ -9,17 +9,12 @@ NoMib2: (and displaying system uptime) I don't want to query routers from
Language: TODO
Libadd: (handled separately) Don't want to mess with more BEGIN{} statements.
RouterUptime: I don't want to query the routers from the CGI.
Unscaled: don't know how to tell this to rrdgraph
WithPeak: don't know how to tell this to rrdgraph
Extension: (has no meaning)
Directory: (partly implemented - reads the directive, but it is not visible in URL)
XZoom: don't know how to tell this to rrdgraph
YZoom: don't know how to tell this to rrdgraph
YTics: don't know how to tell this to rrdgraph
YTicsFactor: don't know how to tell this to rrdgraph
Step: don't know what this should do
Option:
growright: it is the default (don't know how to make growleft grapsh)
growright: it is the default (don't know how to make growleft graphs)
noi: TODO
noo: TODO
SetEnv: Makes sense only for Target[]. Not implemented.
Expand All @@ -31,10 +26,20 @@ Other TODO/missing items

Option for setting the image format (PNG/GIF).

Directory/all graphs listing.
More customizable directory listing.

Exact time of the previous VRULE (for month and year graphs).

The MRTG-like legend on the X axis of the daily graph (every 2nd hour
instead of every 6th our and ":00" appended).


Known bugs
==========

* It should complain if the RRD::graph() fails.
* Directory mode does not honour the "Suppress[]: d" and refers to the daily
graph unconditionally.
* Directory mode does not generate the "WIDHT=" and "HEIGHT=" parameters
to the <IMG> tag.

Loading

0 comments on commit de3adcf

Please sign in to comment.