Skip to content
New issue

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

msg="error parsing file \"/sybase.yaml\": open /sybase.yaml: no such file or directory" source="dbms_exporter.go:474" #16

Open
dongdong159 opened this issue May 10, 2022 · 1 comment

Comments

@dongdong159
Copy link

I use docker-compose to run this image, but the error is as followed:
time="2022-05-10T07:07:42Z" level=fatal msg="error parsing file "/sybase.yaml": open /sybase.yaml: no such file or directory" source="dbms_exporter.go:474"

docker-compose:
sybase_exporter:
image: ncabatoff/dbms_exporter
ports:
- 5001:5001
environment:
- DATA_SOURCE_NAME="compatibility_mode=sybase;user=sa;pwd=password;server=192.168.10.143:5000" -driver freetds -queryfile sybase.yaml
command:
-queryfile /sybase.yaml
-driver freetds

Hoping your answers sincerely. Thanks.

@dongdong159
Copy link
Author

I have worked out the last question, but the new issue is :
"Error opening connection to freetds database: dbopen error\nMsg 20002, Level 9\nAdaptive Server connection failed
Please give me some suggestion, thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant