Skip to content

Commit

Permalink
Merge pull request #1010 from NagiosEnterprises/bb_fixplugintimeout
Browse files Browse the repository at this point in the history
Fixing Errors from Plugins Timing Out
  • Loading branch information
ne-bbahn committed Nov 8, 2023
2 parents 9eb44ec + ed1d789 commit a785d52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agent/listener/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ def walk(self, *args, **kwargs):
values, unit = self.method(*args, **kwargs)
except TypeError:
values, unit = self.method()
except AttributeError:
logging.error("Error running check for %s... likely timed out..." % self.name)
values, unit = None, None

self.set_unit(unit, kwargs)
values = self.get_adjusted_scale(values, kwargs)
Expand Down

0 comments on commit a785d52

Please sign in to comment.