mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
20
html/includes/graphs/device/ucd_contexts.inc.php
Executable file
20
html/includes/graphs/device/ucd_contexts.inc.php
Executable 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");
|
||||||
|
|
||||||
|
?>
|
21
html/includes/graphs/device/ucd_interrupts.inc.php
Executable file
21
html/includes/graphs/device/ucd_interrupts.inc.php
Executable 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");
|
||||||
|
|
||||||
|
?>
|
12
html/includes/graphs/device/ucd_io.inc.php
Normal file
12
html/includes/graphs/device/ucd_io.inc.php
Normal 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");
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
12
html/includes/graphs/device/ucd_swap_io.inc.php
Normal file
12
html/includes/graphs/device/ucd_swap_io.inc.php
Normal 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");
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
Reference in New Issue
Block a user