mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@2581 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -10,8 +10,9 @@ $graphs = array('powerdns_latency' => 'Latency',
|
|||||||
'powerdns_queries' => 'Total UDP/TCP Queries and Answers',
|
'powerdns_queries' => 'Total UDP/TCP Queries and Answers',
|
||||||
'powerdns_queries_udp' => 'Detail UDP IPv4/IPv6 Queries and Answers');
|
'powerdns_queries_udp' => 'Detail UDP IPv4/IPv6 Queries and Answers');
|
||||||
|
|
||||||
foreach ($graphs as $key => $text) {
|
foreach ($graphs as $key => $text)
|
||||||
$graph_type = $key;
|
{
|
||||||
|
$graph_type = $key;
|
||||||
$graph_array['height'] = "100";
|
$graph_array['height'] = "100";
|
||||||
$graph_array['width'] = "215";
|
$graph_array['width'] = "215";
|
||||||
$graph_array['to'] = $now;
|
$graph_array['to'] = $now;
|
||||||
|
@@ -22,7 +22,6 @@ if ($_POST['device'])
|
|||||||
{
|
{
|
||||||
if (substr($key,0,4) == 'app_')
|
if (substr($key,0,4) == 'app_')
|
||||||
{
|
{
|
||||||
echo($key);
|
|
||||||
$param[] = substr($key,4);
|
$param[] = substr($key,4);
|
||||||
$enabled[] = substr($key,4);
|
$enabled[] = substr($key,4);
|
||||||
$replace[] = "?";
|
$replace[] = "?";
|
||||||
|
Reference in New Issue
Block a user