mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
PowerDNS application type. Thanks to Dennis de Houx.
git-svn-id: http://www.observium.org/svn/observer/trunk@2572 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
27
html/includes/graphs/application/powerdns_latency.inc.php
Normal file
27
html/includes/graphs/application/powerdns_latency.inc.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
$scale_min = 0;
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$powerdns_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-powerdns-".$app['app_id'].".rrd";
|
||||
|
||||
if (is_file($powerdns_rrd))
|
||||
{
|
||||
$rrd_filename = $powerdns_rrd;
|
||||
}
|
||||
|
||||
$ds = "latency";
|
||||
|
||||
$colour_area = "6699FF";
|
||||
$colour_line = "336699";
|
||||
|
||||
$colour_area_max = "FFEE99";
|
||||
|
||||
$graph_max = 100;
|
||||
|
||||
$unit_text = "Latency";
|
||||
|
||||
include("includes/graphs/generic_simplex.inc.php");
|
||||
|
||||
?>
|
Reference in New Issue
Block a user