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

Must exclude from certificate monitoring if SIA's Certificate File or Ca Cert File Path is Empty #134

Open
y-myajima opened this issue Aug 28, 2024 · 0 comments

Comments

@y-myajima
Copy link
Contributor

When starting the metrics server, if either idCfg.CertFile or idCfg.CaCertFile is an empty string, a warning log will be issued due to the specifications of x509-certificate-exporter.

time="2024-08-27T21:40:07+09:00" level=warning msg="failed to parse \"\": stat : invalid argument"

The error is caused by the fs.Stat() function used in x509-certificate-exporter(Relevant section).
If idCfg.CertFile or idCfg.CaCertFile is an empty string, they need to be excluded from certificate monitoring(Relevant section).

@mlajkim mlajkim changed the title Warning Log Issued on Metrics Server Startup if SIA Certificate File Path is Empty Must exclude from certificate monitoring if SIA's Certificate File or Ca Cert File Path is Empty Aug 28, 2024
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