more UCD graphing for unix (swap i/o, i/o, interrupts and context switches)

git-svn-id: http://www.observium.org/svn/observer/trunk@1584 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-31 18:34:08 +00:00
parent 1b45ccff9a
commit c01db79bfd
4 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
include("includes/graphs/common.inc.php");
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssRawContexts.rrd";
$rra = "value";
$colour_area = "9999cc";
$colour_line = "0000cc";
$colour_area_max = "9999cc";
$graph_max = 1;
$unit_text = "Switches/s";
include("includes/graphs/generic_simplex.inc.php");
?>

View File

@@ -0,0 +1,21 @@
<?php
include("includes/graphs/common.inc.php");
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssRawInterrupts.rrd";
$rra = "value";
$colour_area = "CC9999";
$colour_line = "CC0000";
$colour_area_max = "cc9999";
$graph_max = 1;
$graph_min = 0;
$unit_text = "Interrupts/s";
include("includes/graphs/generic_simplex.inc.php");
?>

View File

@@ -0,0 +1,12 @@
<?php
$rrd_filename_in = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssIORawReceived.rrd";
$rrd_filename_out = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssIORawSent.rrd";
$rra_in = "value";
$rra_out = "value";
include("includes/graphs/generic_bits.inc.php");
?>

View File

@@ -0,0 +1,12 @@
<?php
$rrd_filename_in = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssRawSwapIn.rrd";
$rrd_filename_out = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssRawSwapOut.rrd";
$rra_in = "value";
$rra_out = "value";
include("includes/graphs/generic_bits.inc.php");
?>