From a2b2eea24fcc3a5e45b699890f7c57a8c7b99a34 Mon Sep 17 00:00:00 2001 From: maniacikarus Date: Sun, 16 Mar 2008 21:35:31 +0000 Subject: [PATCH] Fixed back link for processes graphs Added collectd config to core10 git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1275 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- config/rootfiles/core/10/files | 1 + html/cgi-bin/graphs.cgi | 1 + 2 files changed, 2 insertions(+) diff --git a/config/rootfiles/core/10/files b/config/rootfiles/core/10/files index b0d7b593c..f236d4039 100644 --- a/config/rootfiles/core/10/files +++ b/config/rootfiles/core/10/files @@ -1,3 +1,4 @@ +etc/collectd.conf etc/init.d/collectd usr/local/bin/wirelessctrl srv/web/ipfire/cgi-bin/optionsfw.cgi diff --git a/html/cgi-bin/graphs.cgi b/html/cgi-bin/graphs.cgi index 3c1961e59..1ecc9c62c 100644 --- a/html/cgi-bin/graphs.cgi +++ b/html/cgi-bin/graphs.cgi @@ -118,6 +118,7 @@ if ($cgigraphs[1] =~ /(green|blue|orange|red|ipsec|lq|cpu|memory|swap|disk|load| print "
"; if ( $cgigraphs[1] eq "cpu" || $cgigraphs[1] eq "load" ) { print ""; } elsif ( $cgigraphs[1] eq "memory" || $cgigraphs[1] eq "swap" ) { print ""; } +elsif ( $cgigraphs[1] eq "processes" ) { print ""; } elsif ( $cgigraphs[1] =~ /disk/ ) { print ""; } elsif ( $cgigraphs[1] =~ /red/ || $cgigraphs[1] =~ /ipsec/ ) { print ""; } elsif ( $cgigraphs[1] =~ /green/ || $cgigraphs[1] =~ /blue/ || $cgigraphs[1] =~ /orange/ ) { print ""; }