Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Agent bombs out if it's unable to determine hostname #475

Closed
conorbranagan opened this issue Apr 26, 2013 · 2 comments
Closed

Agent bombs out if it's unable to determine hostname #475

conorbranagan opened this issue Apr 26, 2013 · 2 comments
Assignees

Comments

@conorbranagan
Copy link
Contributor

  • Nothing shows up in the logs
  • You only can tell this is the issue if you run it manually.
  • The hostname was set to 'localhost.localdomain'

Here's the full stacktrace (sorry for bad formatting)

Traceback (most recent call last): File "/usr/bin/dd-agent", line 271, in ? sys.exit(main()) File "/usr/bin/dd-agent", line 227, in main agent.run(config=agentConfig) File "/usr/bin/dd-agent", line 96, in run self.collector = Collector(agentConfig, emitters, systemStats) File "/usr/share/datadog/agent/checks/collector.py", line 99, in __init__ self._event_checks = [ File "/usr/share/datadog/agent/util.py", line 195, in get_hostname raise Exception('Unable to reliably determine host name') Exception: Unable to reliably determine host name
@ghost ghost assigned remh Apr 26, 2013
@pfrederiksen
Copy link

It should probably fail more gracefully suggesting you change your hostname.

@remh
Copy link

remh commented May 3, 2013

Fixed by f6964ed

@remh remh closed this as completed May 3, 2013
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants