ℹ️ Your data is safe here... unless you make the SNIP gods angry. And let's just say they have a really bad sense of humor.

From Aqua Ostrich, 2 Years ago, written in Plain Text.
This paste is a reply to Untitled from librenms
- view diff
Embed
  1. diff --git a/includes/polling/ports.inc.php b/includes/polling/ports.inc.php
  2. index b0c1c22..0771e60 100644
  3. --- a/includes/polling/ports.inc.php
  4. +++ b/includes/polling/ports.inc.php
  5. @@ -213,7 +213,7 @@ if ($device['os'] === 'f5' && (version_compare($device['version'], '11.2.0', '>=
  6.              $port_stats = snmpwalk_cache_oid($device, 'ifXEntry', $port_stats, 'IF-MIB');
  7.          }
  8.          $hc_test = array_slice($port_stats, 0, 1);
  9. -        if (!isset($hc_test[0]['ifHCInOctets']) && !is_numeric($hc_test[0]['ifHCInOctets'])) {
  10. +        if (!isset($hc_test[0]['ifHighSpeed']) && !is_numeric($hc_test[0]['ifHighSpeed'])) {
  11.              $port_stats = snmpwalk_cache_oid($device, 'ifEntry', $port_stats, 'IF-MIB', null, '-OQUst');
  12.          } else {
  13.              foreach ($ifmib_oids as $oid) {
captcha