[rancid] [PATCH] junos.pm: filter negative temperatures in ShowChassisEnvironment

Anderson, Charles R cra at wpi.edu
Tue Feb 19 14:49:45 UTC 2019


One of our switches is in an outdoor cabinet.  It gets below 0 sometimes so we see output like this:

  # Temp  FPC 0 GEPHY1                   OK
  #       FPC 0 GEPHY2                   OK
  #       FPC 0 GEPHY3                   OK
- #       FPC 0 GEPHY4                   OK         -5 degrees C / 23 degrees F
+ #       FPC 0 GEPHY4                   OK
  #

The attached patch fixes ShowChassisEnvironment so it matches the - sign.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rancid-3.9-junos-negative-temperature.patch
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20190219/e91da4db/attachment.ksh>


More information about the Rancid-discuss mailing list