mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3185 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -28,11 +28,11 @@ rrdtool_update($nginx_rrd, "N:$req:$active:$reading:$writing:$waiting");
|
||||
|
||||
/// Unset the variables we set here
|
||||
|
||||
unset($nginx);
|
||||
unset($nginx_rrd);
|
||||
unset($active);
|
||||
unset($reading);
|
||||
unset($writing);
|
||||
unset($nginx);
|
||||
unset($nginx_rrd);
|
||||
unset($active);
|
||||
unset($reading);
|
||||
unset($writing);
|
||||
unset($req);
|
||||
|
||||
?>
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
$poll_device['sysLocation'] = str_replace("\"","", $poll_device['sysLocation']);
|
||||
|
||||
/// Rewrite sysLocation if there is a mapping array (database too?)
|
||||
if(!empty($poll_device['sysLocation']) && is_array($config['location_map']))
|
||||
if (!empty($poll_device['sysLocation']) && is_array($config['location_map']))
|
||||
{
|
||||
$poll_device['sysLocation'] = rewrite_location($poll_device['sysLocation']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user