mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -5,8 +5,8 @@ include("includes/graphs/common.inc.php");
|
||||
$scale_min = 0;
|
||||
$colours = "mixed";
|
||||
$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(
|
||||
'msg_rejected' => array('descr' => 'Rejected'),
|
||||
'msg_relay' => array('descr' => 'Relayed'),
|
||||
|
||||
@@ -6,7 +6,7 @@ $ds_in = "msg_recv";
|
||||
$ds_out = "msg_sent";
|
||||
|
||||
$graph_titel .= "::messages";
|
||||
$unit_text = "Messages";
|
||||
$unit_text = "Messages/sec";
|
||||
|
||||
$colour_line_in = "008800FF";
|
||||
$colour_line_out = "000088FF";
|
||||
@@ -15,7 +15,7 @@ $colour_area_out = "CECEFF66";
|
||||
$colour_area_in_max = "CC88CC";
|
||||
$colour_area_out_max = "FFEFAA";
|
||||
|
||||
$mailscanner_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-mailscanner-" . $app['app_id'] . ".rrd";
|
||||
$mailscanner_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-mailscannerV2-" . $app['app_id'] . ".rrd";
|
||||
|
||||
if (is_file($mailscanner_rrd))
|
||||
{
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user