aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorPim van den Berg2010-03-01 21:09:22 +0100
committerPim van den Berg2010-03-01 21:09:22 +0100
commit6795cb1fc36e21065e9bba39056f03375032406b (patch)
treed890e425e5beba73927524ecb86f26fb848c39c2 /plugin
parentadd ntpd plugin (diff)
downloadapt-panopticon_cgp-6795cb1fc36e21065e9bba39056f03375032406b.zip
apt-panopticon_cgp-6795cb1fc36e21065e9bba39056f03375032406b.tar.gz
apt-panopticon_cgp-6795cb1fc36e21065e9bba39056f03375032406b.tar.bz2
apt-panopticon_cgp-6795cb1fc36e21065e9bba39056f03375032406b.tar.xz
automatically generate colors for graphs (irq plugin)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/irq.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/irq.php b/plugin/irq.php
index 10c6393..2565564 100644
--- a/plugin/irq.php
+++ b/plugin/irq.php
@@ -13,6 +13,7 @@ require_once 'inc/collectd.inc.php';
13$obj = new Type_GenericStacked($CONFIG); 13$obj = new Type_GenericStacked($CONFIG);
14$obj->width = $width; 14$obj->width = $width;
15$obj->heigth = $heigth; 15$obj->heigth = $heigth;
16$obj->generate_colors();
16 17
17$obj->rrd_title = 'Interrupts'; 18$obj->rrd_title = 'Interrupts';
18$obj->rrd_vertical = 'IRQs/s'; 19$obj->rrd_vertical = 'IRQs/s';