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
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12621
Created by JamesForman on 2016-09-02 04:02:56 +00:00
Assignee: gbeutner Status: Resolved (closed on 2016-09-02 06:55:05 +00:00) Target Version: 2.6.0 Last Update: 2016-09-02 06:55:05 +00:00 (in Redmine)
Icinga Version: 2.5.3 Backport?: Not yet backported Include in Changelog: 1
We have been experimenting with the API and have found that if an invalid filter is specified there can be a large amount of unhelpful log spam.
The filter that was specified in this case was: "event.check_result.exit_status=CheckResult", where "type" is invalid.
The error message output was multiple copies of the below message (I've attached a few seconds of the log).
[2016-08-31 13:39:35 +1200] warning/JsonRpcConnection: Error while processing message for identity 'serverX' Error: Error while evaluating expression: Tried to access undefined script variable 'type' Location: in : 1:35-1:38
It would be ideal if the error could:
icinga2 - The Icinga 2 network monitoring daemon (version: r2.5.3-1) System information: Platform: Ubuntu Platform version: 16.04.1 LTS (Xenial Xerus) Kernel: Linux Kernel version: 4.4.0-31-generic Architecture: x86_64
Attachments
Changesets
2016-09-02 06:51:51 +00:00 by gbeutner 58cdce8
Improve error handling for event filters fixes #12621
The text was updated successfully, but these errors were encountered:
Updated by gbeutner on 2016-09-02 06:04:55 +00:00
Sorry, something went wrong.
Updated by gbeutner on 2016-09-02 06:55:05 +00:00
Applied in changeset 58cdce8.
No branches or pull requests
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12621
Created by JamesForman on 2016-09-02 04:02:56 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2016-09-02 06:55:05 +00:00)
Target Version: 2.6.0
Last Update: 2016-09-02 06:55:05 +00:00 (in Redmine)
We have been experimenting with the API and have found that if an invalid filter is specified there can be a large amount of unhelpful log spam.
The filter that was specified in this case was: "event.check_result.exit_status=CheckResult", where "type" is invalid.
The error message output was multiple copies of the below message (I've attached a few seconds of the log).
It would be ideal if the error could:
Attachments
Changesets
2016-09-02 06:51:51 +00:00 by gbeutner 58cdce8
The text was updated successfully, but these errors were encountered: