netscaler tcp stats poller and three graph definitions

git-svn-id: http://www.observium.org/svn/observer/trunk@2819 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-01-17 13:37:52 +00:00
parent 0cf67da88e
commit 82e878fd48
6 changed files with 143 additions and 3 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ $colour_line_in = "330033";
$colour_area_out = "FFDD88";
$colour_line_out = "FF6600";
$colour_area_in_max = "cc88cc";
$colour_area_out_max = "FFefaa";
$colour_area_in_max = "CC88CC";
$colour_area_out_max = "FFEFAA";
$graph_max = 1;
$unit_text = "Packets";
@@ -0,0 +1,11 @@
<?php
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netscaler-stats-tcp.rrd";
$ds_in = "TotRxBytes";
$ds_out = "TotTxBytes";
include("includes/graphs/generic_bits.inc.php");
?>
@@ -0,0 +1,25 @@
<?php
include("includes/graphs/common.inc.php");
$device = device_by_id_cache($id);
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netscaler-stats-tcp.rrd";
$stats = array('CurServerConn', 'CurClientConn');
$i=0;
foreach ($stats as $stat)
{
$i++;
$rrd_list[$i]['filename'] = $rrd_filename;
$rrd_list[$i]['ds'] = $stat;
}
$colours='mixed';
$nototal = 1;
$simple_rrd = 1;
include("includes/graphs/generic_multi_line.inc.php");
?>
@@ -0,0 +1,21 @@
<?php
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netscaler-stats-tcp.rrd";
$ds_in = "TotRxBytes";
$ds_out = "TotTxBytes";
$colour_area_in = "AA66AA";
$colour_line_in = "330033";
$colour_area_out = "FFDD88";
$colour_line_out = "FF6600";
$colour_area_in_max = "cc88cc";
$colour_area_out_max = "FFefaa";
$graph_max = 1;
$unit_text = "Packets";
include("includes/graphs/generic_duplex.inc.php");
?>