Skip to content

Commit

Permalink
Collect sensors from all Mibs
Browse files Browse the repository at this point in the history
Previously the code would stop after finding sensors from one of the
Mibs gotten from self.mibfactory().
Now it goes through all the mibs and stores sensors from all of them

This makes it possible to get JuniperDomMib sensors and JuniperMib temperature data
but does it break other stuff?
  • Loading branch information
stveit committed Mar 25, 2022
1 parent f3526fb commit c4dab9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/nav/ipdevpoll/plugins/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def handle(self):
"Found %d sensors from %s", len(all_sensors), type(mib).__name__
)
self._store_sensors(all_sensors)
break

@defer.inlineCallbacks
def mibfactory(self):
Expand Down

0 comments on commit c4dab9f

Please sign in to comment.