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
class { 'prometheus::haproxy_exporter': version => '0.9.0', cnf_scrape_uri => "http://${::ipaddress}:9000/haproxy?stats;csv", }
Systemctl start haproxy_exporter -> Doesn't start correctly
systemctl start haproxy_exporter.service -> starts correctly
Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal haproxy_exporter[1801]: haproxy_exporter: error: unknown short flag '-a', try --help Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: haproxy_exporter.service: main process exited, code=exited, status=1/FAILURE Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: Unit haproxy_exporter.service entered failed state. Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: haproxy_exporter.service failed. Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: haproxy_exporter.service holdoff time over, scheduling restart. Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: start request repeated too quickly for haproxy_exporter.service Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: Failed to start Prometheus haproxy_exporter.
Problem on
puppet-prometheus/manifests/haproxy_exporter.pp
Line 107 in e34a005
The text was updated successfully, but these errors were encountered:
Hi @joaquin386, could you provide a PR for this? depending on the haproxy_exporter version the options need to be prefixed with - or --.
-
--
Sorry, something went wrong.
It is already done here: #179 Closing this issue.
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
class { 'prometheus::haproxy_exporter':
version => '0.9.0',
cnf_scrape_uri => "http://${::ipaddress}:9000/haproxy?stats;csv",
}
What are you seeing
Systemctl start haproxy_exporter -> Doesn't start correctly
What behaviour did you expect instead
systemctl start haproxy_exporter.service -> starts correctly
Output log
Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal haproxy_exporter[1801]: haproxy_exporter: error: unknown short flag '-a', try --help
Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: haproxy_exporter.service: main process exited, code=exited, status=1/FAILURE
Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: Unit haproxy_exporter.service entered failed state.
Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: haproxy_exporter.service failed.
Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: haproxy_exporter.service holdoff time over, scheduling restart.
Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: start request repeated too quickly for haproxy_exporter.service
Sep 23 11:23:30 ip-10-0-25-10.eu-west-1.compute.internal systemd[1]: Failed to start Prometheus haproxy_exporter.
Any additional information you'd like to impart
Problem on
puppet-prometheus/manifests/haproxy_exporter.pp
Line 107 in e34a005
It should be --haproxy instead of -haproxy
The text was updated successfully, but these errors were encountered: