Skip to content

Instantly share code, notes, and snippets.

@arctouch-shadowroldan
Created September 21, 2012 16:47
Show Gist options
  • Save arctouch-shadowroldan/3762575 to your computer and use it in GitHub Desktop.
Save arctouch-shadowroldan/3762575 to your computer and use it in GitHub Desktop.
collector fatal state
2012-09-21 16:42:44,314 INFO spawned: 'collector' with pid 15246
2012-09-21 16:42:44,780 INFO success: dogstatsd entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2012-09-21 16:42:44,780 INFO success: forwarder entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2012-09-21 16:42:44,820 INFO exited: collector (exit status 1; not expected)
2012-09-21 16:42:46,826 INFO spawned: 'collector' with pid 15255
2012-09-21 16:42:47,117 INFO exited: collector (exit status 1; not expected)
2012-09-21 16:42:50,124 INFO spawned: 'collector' with pid 15266
2012-09-21 16:42:50,401 INFO exited: collector (exit status 1; not expected)
2012-09-21 16:42:51,403 INFO gave up: collector entered FATAL state, too many start retries too quickly
@arctouch-shadowroldan
Copy link
Author

Traceback (most recent call last):
File "/usr/bin/dd-agent", line 195, in
daemon.run()
File "/usr/bin/dd-agent", line 72, in run
c = checks(agentConfig, emitters)
File "/usr/share/datadog/agent/checks/common.py", line 93, in init
self._dogstream = Dogstreams.init(self.checksLogger, self.agentConfig)
File "/usr/share/datadog/agent/checks/datadog.py", line 66, in init
perfdata_parsers = NagiosPerfData.init(logger, config)
File "/usr/share/datadog/agent/checks/datadog.py", line 336, in init
nagios_config = cls.parse_nagios_config(nagios_perf_config)
File "/usr/share/datadog/agent/checks/datadog.py", line 387, in parse_nagios_config
f.close()
UnboundLocalError: local variable 'f' referenced before assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment