mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix two typos
This commit is contained in:
@@ -113,7 +113,7 @@ if ($config['enable_bgp']) {
|
||||
$af_data = snmpwalk_cache_oid($device, 'cbgpPeerAddrFamilyEntry', $cbgp, 'CISCO-BGP4-MIB', $config['mibdir']);
|
||||
}
|
||||
|
||||
d_echo('afi data :: ';
|
||||
d_echo('afi data :: ');
|
||||
d_echo($af_data);
|
||||
|
||||
foreach ($af_data as $k => $v) {
|
||||
|
||||
@@ -50,7 +50,7 @@ if ($device['os'] == 'mgeups') {
|
||||
$low_warn_limit = ($low_limit + $hysteresis);
|
||||
$high_warn_limit = ($high_limit - $hysteresis);
|
||||
|
||||
d_echo("low_limit : $low_limit\nlow_warn_limit : $low_warn_limit\nhigh_warn_limit : $high_warn_limit\nhigh_limit : $high_limit\n"):
|
||||
d_echo("low_limit : $low_limit\nlow_warn_limit : $low_warn_limit\nhigh_warn_limit : $high_warn_limit\nhigh_limit : $high_limit\n");
|
||||
|
||||
discover_sensor($valid['sensor'], 'temperature', $device, $oid, $index, $sensorType, $descr, '10', '1', $low_limit, $low_warn_limit, $high_warn_limit, $high_limit, ($current / 10));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user