diff options
author | Stef Walter <stef@memberwebs.com> | 2006-01-28 22:26:30 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-01-28 22:26:30 +0000 |
commit | ba26f62175378cd209f55302a8ae1ea35a6dbc33 (patch) | |
tree | 44e3ea2f8a787235005ee93f81773fafb2df90d7 /tools/rrdui-create.py | |
parent | 9d3abe840fb450f621e3fe2f50c23a0c8de405a1 (diff) |
Cleanup old tools, allow cgi to be configured from httpd.conf
Diffstat (limited to 'tools/rrdui-create.py')
-rw-r--r-- | tools/rrdui-create.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/rrdui-create.py b/tools/rrdui-create.py deleted file mode 100644 index 3b46021..0000000 --- a/tools/rrdui-create.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/python - -import os, sys -import rrdtool - -from rrdui import * - -def createItems(graphs): - - for item in graphs: - if os.path.exists(item.filedata): - continue - - args = [item.filedata, "-b-1y", "-s10"] - - # The creation info - (fields, rras) = item.getCreateInfo() - - # Flesh it out properly, and add it - args.extend(["RRA:%s" % r for r in rras]) - args.extend(["DS:%s:%s" % (f, fields[f]) for f in fields.keys()]) - - # And create it - rrdtool.create(*args) - -# Basics -graphs = loadGraphs() -createItems(graphs) |