We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are attempting to set up on in one of our data centres on windows server core, unfortunately when starting the service we get this error:
2018-05-10 14:55:03 GMT | ERROR | (datadog_agent.go:133 in LogMessage) | (sqlserver.py:154) | INitialization exception 'SQLServer' object has no attribute 'check_id' Traceback (most recent call last): File "C:\Program Files\Datadog\Datadog Agent\embedded\lib\site-packages\datadog_checks\sqlserver\sqlserver.py", line 132, in init with self.open_managed_db_connections(instance, None, db_name=self.DEFAULT_DATABASE): File "C:\Program Files\Datadog\Datadog Agent\embedded\lib\contextlib.py", line 17, in enter return self.gen.next() File "C:\Program Files\Datadog\Datadog Agent\embedded\lib\site-packages\datadog_checks\sqlserver\sqlserver.py", line 570, in open_managed_db_connections self.open_db_connections(instance, db_key, db_name) File "C:\Program Files\Datadog\Datadog Agent\embedded\lib\site-packages\datadog_checks\sqlserver\sqlserver.py", line 622, in open_db_connections tags=service_check_tags, message=message) File "C:\Program Files\Datadog\Datadog Agent\bin\agent\dist\checks_init_.py", line 199, in service_check aggregator.submit_service_check(self, self.check_id, name, status, tags, hostname, message) AttributeError: 'SQLServer' object has no attribute 'check_id'
Here is the contents of the YAML for sql server
init_config:
instances: - host: 127.0.0.1, 1433 connector: odbc username: datadog password: **** tags: - optional_tag
Can you see anything we’re obviously doing wrong? The datadog user can connect just fine to the host using sqlcmd.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We are attempting to set up on in one of our data centres on windows server core, unfortunately when starting the service we get this error:
2018-05-10 14:55:03 GMT | ERROR | (datadog_agent.go:133 in LogMessage) | (sqlserver.py:154) | INitialization exception 'SQLServer' object has no attribute 'check_id'
Traceback (most recent call last):
File "C:\Program Files\Datadog\Datadog Agent\embedded\lib\site-packages\datadog_checks\sqlserver\sqlserver.py", line 132, in init
with self.open_managed_db_connections(instance, None, db_name=self.DEFAULT_DATABASE):
File "C:\Program Files\Datadog\Datadog Agent\embedded\lib\contextlib.py", line 17, in enter
return self.gen.next()
File "C:\Program Files\Datadog\Datadog Agent\embedded\lib\site-packages\datadog_checks\sqlserver\sqlserver.py", line 570, in open_managed_db_connections
self.open_db_connections(instance, db_key, db_name)
File "C:\Program Files\Datadog\Datadog Agent\embedded\lib\site-packages\datadog_checks\sqlserver\sqlserver.py", line 622, in open_db_connections
tags=service_check_tags, message=message)
File "C:\Program Files\Datadog\Datadog Agent\bin\agent\dist\checks_init_.py", line 199, in service_check
aggregator.submit_service_check(self, self.check_id, name, status, tags, hostname, message)
AttributeError: 'SQLServer' object has no attribute 'check_id'
Here is the contents of the YAML for sql server
init_config:
instances:
- host: 127.0.0.1, 1433
connector: odbc
username: datadog
password: ****
tags:
- optional_tag
Can you see anything we’re obviously doing wrong?
The datadog user can connect just fine to the host using sqlcmd.
The text was updated successfully, but these errors were encountered: