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

[dev.icinga.com #13189] icinga2 can not reload when there exists an http_uri with "$" #4784

Closed
icinga-migration opened this issue Nov 15, 2016 · 2 comments
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/13189

Created by rsajan on 2016-11-15 01:21:32 +00:00

Assignee: rsajan
Status: Closed (closed on 2016-12-07 21:24:06 +00:00)
Target Version: (none)
Last Update: 2016-12-07 21:24:06 +00:00 (in Redmine)

Icinga Version: v2.5.4
Backport?: Not yet backported
Include in Changelog: 1

If you assign an http_uri a string containing a "$", icinga2 will not be able to reload successfully, producing something like this:

$ sudo systemctl reload icinga2
Job for icinga2.service failed because the control process exited with error code. See "systemctl status icinga2.service" and "journalctl -xe" for details.

As far as I can tell, the "$" is a valid character for URIs:

https://www.ietf.org/rfc/rfc1738.txt

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-11-15 06:49:41 +00:00

  • Status changed from New to Feedback
  • Assigned to set to rsajan

$s have to be escaped in macro strings. That is, $$ turns into a single $. Can you post your config validation output here to confirm that this is the problem (icinga2 daemon -C)?

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-12-07 21:24:06 +00:00

  • Status changed from Feedback to Closed

That's definitely a configuration issue, the daemon config validation will fail and tell you. Closing this one.

@icinga-migration icinga-migration added bug Something isn't working area/configuration DSL, parser, compiler, error handling labels Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant