change gauge to counter. this requires new injection script.

git-svn-id: http://www.observium.org/svn/observer/trunk@2637 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-10-02 23:40:27 +00:00
parent 38a6ea38bd
commit 95bc8e3eef
5 changed files with 15 additions and 15 deletions
@@ -4,8 +4,8 @@ include("includes/graphs/common.inc.php");
$scale_min = 0;
$nototal = (($width < 550) ? 1 : 0);
$unit_text = "Messages";
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-mailscanner-" . $app['app_id'] . ".rrd";
$unit_text = "Messages/sec";
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-mailscannerV2-" . $app['app_id'] . ".rrd";
$array = array(
'spam' => array('descr' => 'Spam', 'colour' => 'FF8800'),
'virus' => array('descr' => 'Virus', 'colour' => 'FF0000')