mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
more reformat and optimization
git-svn-id: http://www.observium.org/svn/observer/trunk@1837 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -16,7 +16,7 @@ if ($device['os'] == "gamatronicups")
|
||||
$warnlimit = NULL;
|
||||
$limit = NULL;
|
||||
|
||||
echo(discover_sensor($valid_sensor, 'current', $device, $current_oid, $index, $type, $descr, '1', '1', $lowlimit, NULL, NULL, NULL, $current));
|
||||
discover_sensor($valid_sensor, 'current', $device, $current_oid, $index, $type, $descr, '1', '1', $lowlimit, NULL, NULL, NULL, $current);
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= 3; $i++)
|
||||
@@ -31,7 +31,7 @@ if ($device['os'] == "gamatronicups")
|
||||
$warnlimit = NULL;
|
||||
$limit = NULL;
|
||||
|
||||
echo(discover_sensor($valid_sensor, 'current', $device, $current_oid, $index, $type, $descr, '1', '1', $lowlimit, NULL, NULL, NULL, $current));
|
||||
discover_sensor($valid_sensor, 'current', $device, $current_oid, $index, $type, $descr, '1', '1', $lowlimit, NULL, NULL, NULL, $current);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user