2011-10-02 22:34:22 +00:00
|
|
|
<?php
|
|
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$nototal = 1;
|
2011-10-02 22:34:22 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$ds_in = 'msg_recv';
|
|
|
|
|
$ds_out = 'msg_sent';
|
2011-10-02 22:34:22 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$graph_titel .= '::messages';
|
|
|
|
|
$unit_text = 'Messages/sec';
|
2011-10-02 22:34:22 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$colour_line_in = '008800FF';
|
|
|
|
|
$colour_line_out = '000088FF';
|
|
|
|
|
$colour_area_in = 'CEFFCE66';
|
|
|
|
|
$colour_area_out = 'CECEFF66';
|
|
|
|
|
$colour_area_in_max = 'CC88CC';
|
|
|
|
|
$colour_area_out_max = 'FFEFAA';
|
2011-10-02 22:34:22 +00:00
|
|
|
|
2022-07-22 16:01:55 -05:00
|
|
|
$mailscanner_rrd = Rrd::name($device['hostname'], ['app', 'mailscannerV2', $app->app_id]);
|
2011-10-02 22:34:22 +00:00
|
|
|
|
2021-03-28 17:25:30 -05:00
|
|
|
if (Rrd::checkRrdExists($mailscanner_rrd)) {
|
2015-07-10 13:36:21 +02:00
|
|
|
$rrd_filename = $mailscanner_rrd;
|
2011-10-02 22:34:22 +00:00
|
|
|
}
|
|
|
|
|
|
2019-04-11 23:26:42 -05:00
|
|
|
require 'includes/html/graphs/generic_duplex.inc.php';
|