mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@2585 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -9,7 +9,7 @@ $rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-powerdns-
|
||||
|
||||
$array = array('corruptPackets' => array('descr' => 'Corrupt', 'colour' => 'FF8800FF'),
|
||||
'servfailPackets' => array('descr' => 'Failed', 'colour' => 'FF0000FF'),
|
||||
'q_timedout' => array('descr' => 'Timedout', 'colour' => 'FFFF00FF'),
|
||||
'q_timedout' => array('descr' => 'Timed out', 'colour' => 'FFFF00FF'),
|
||||
);
|
||||
|
||||
|
||||
|
@@ -2,13 +2,13 @@
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$descrlen = "18";
|
||||
$descrlen = "12";
|
||||
$unitlen = "10";
|
||||
if($nototal) { $descrlen += "2"; $unitlen += "2";}
|
||||
if ($nototal) { $descrlen += "2"; $unitlen += "2";}
|
||||
$unit_text = str_pad(truncate($unit_text,$unitlen),$unitlen);
|
||||
|
||||
$rrd_options .= " COMMENT:'$unit_text Cur Max'";
|
||||
if (!$nototal) { $rrd_options .= " COMMENT:'Total '"; }
|
||||
$rrd_options .= " COMMENT:'$unit_text Cur Max '";
|
||||
if (!$nototal) { $rrd_options .= " COMMENT:' Total '"; }
|
||||
$rrd_options .= " COMMENT:'\\n'";
|
||||
|
||||
$colour_iter=0;
|
||||
|
@@ -3,7 +3,7 @@
|
||||
global $config;
|
||||
|
||||
$graphs = array('powerdns_latency' => 'Latency',
|
||||
'powerdns_fail' => 'Corrupt - Failed - Timedout',
|
||||
'powerdns_fail' => 'Corrupt - Failed - Timed out',
|
||||
'powerdns_packetcache' => 'Packet Cache',
|
||||
'powerdns_querycache' => 'Query Cache',
|
||||
'powerdns_recursing' => 'Recursing Queries and Answers',
|
||||
|
Reference in New Issue
Block a user