Skip to content

Commit

Permalink
Merge f07378c into 5179f5b
Browse files Browse the repository at this point in the history
  • Loading branch information
road-cycling committed Feb 17, 2020
2 parents 5179f5b + f07378c commit 489bb8a
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -190,10 +190,10 @@ def _build_map_by_bulk_walk(self, oid_name):
try:
if self._config[u"oids"][oid_name][u"method"] == u"bulk_walk":
stats = self._snmp_connection.bulk_walk(oid=self._config[u"oids"][oid_name][u"oid"],
non_repeaters=self._get_snmp_polling_var(
u"non_repeaters", 0),
max_repetitions=self._get_snmp_polling_var(
u"max_repetitions", _MAX_REPETITIONS))
non_repeaters=int(self._get_snmp_polling_var(
u"non_repeaters", 0)),
max_repetitions=int(self._get_snmp_polling_var(
u"max_repetitions", _MAX_REPETITIONS)))
except Exception as e:
self._polling_status.handle_exception(u"device", e)
self._handle_exceptions_for_oid(oid_name, e)
Expand Down

0 comments on commit 489bb8a

Please sign in to comment.