projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd34a5b
)
contrib/collection3: Add the `index' to the parameters.
author
Florian Forster
<octo@noris.net>
Fri, 13 Mar 2009 14:30:54 +0000
(15:30 +0100)
committer
Florian Forster
<octo@noris.net>
Fri, 13 Mar 2009 14:30:54 +0000
(15:30 +0100)
contrib/collection3/bin/graph.cgi
patch
|
blob
|
history
diff --git
a/contrib/collection3/bin/graph.cgi
b/contrib/collection3/bin/graph.cgi
index
7fe2087
..
c246bda
100755
(executable)
--- a/
contrib/collection3/bin/graph.cgi
+++ b/
contrib/collection3/bin/graph.cgi
@@
-20,6
+20,7
@@
our $Debug = param ('debug');
our $Begin = param ('begin');
our $End = param ('end');
our $GraphWidth = param ('width');
+our $Index = param ('index') || 0;
our $OutputFormat = 'PNG';
our $ContentType = 'image/png';
@@
-167,7
+168,7
@@
if ($Debug)
print "\$expires = $expires;\n";
}
-my $args = $obj->getRRDArgs (0);
+my $args = $obj->getRRDArgs (0
+ $Index
);
if ($Debug)
{