Skip to content

Instantly share code, notes, and snippets.

@gjnoonan
Created January 5, 2016 14:55
Show Gist options
  • Save gjnoonan/0471762878c89e80fa3d to your computer and use it in GitHub Desktop.
Save gjnoonan/0471762878c89e80fa3d to your computer and use it in GitHub Desktop.
Varnish datadog exception
varnish
-------
- instance #0 [ERROR]: 'no element found: line 1, column 0'
Traceback (most recent call last):
File "/opt/datadog-agent/agent/checks/__init__.py", line 745, in run
self.check(copy.deepcopy(instance))
File "/opt/datadog-agent/agent/checks.d/varnish.py", line 93, in check
self._parse_varnishstat(output, use_xml, tags)
File "/opt/datadog-agent/agent/checks.d/varnish.py", line 178, in _parse_varnishstat
p.Parse(output, True)
ExpatError: no element found: line 1, column 0
- Collected 0 metrics, 0 events & 1 service check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment