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 #11953] Add check information to the debuglog when check result is discarded #4288

Closed
icinga-migration opened this issue Jun 16, 2016 · 3 comments · Fixed by #5247
Assignees
Labels
area/distributed Distributed monitoring (master, satellites, clients) area/log Logging related enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

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

Created by FredFoo on 2016-06-16 03:04:52 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-08-04 16:03:52 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

When logging a check result discard, please add the nature of the check to the message, i.e.

[2016-06-16 10:51:25 +0800] notice/ClusterEvents: Discarding check result ' LOAD OK' from 'micros-a1': Unauthorized access.

Currently when Icinga discards check results this is what you find two lines in the debuglog:

[2016-06-16 10:51:25 +0800] notice/ClusterEvents: Discarding 'next check changed' message from 'micros-a1': Unauthorized access.
[2016-06-16 10:51:25 +0800] notice/ClusterEvents: Discarding 'check result' message from 'micros-a1': Unauthorized access.

This makes it very hard to figure out what is actually going on. Currently I use wireshark to capture the packages at the interface, decrypt and retrieve the actual check result by hoping to make sense of the timestamps and finally figure out which check is being dropped.

@icinga-migration
Copy link
Author

Updated by FredFoo on 2016-07-05 03:00:37 +00:00

Actually, was thinking. Should this be a feature request?

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-08-04 16:03:52 +00:00

  • Tracker changed from Bug to Feature

@icinga-migration icinga-migration added enhancement New feature or request area/distributed Distributed monitoring (master, satellites, clients) labels Jan 17, 2017
@dnsmichi dnsmichi self-assigned this Feb 7, 2017
@dnsmichi dnsmichi added the area/log Logging related label Feb 8, 2017
@dnsmichi dnsmichi added this to the 2.7.0 milestone May 11, 2017
@dnsmichi
Copy link
Contributor

I'll add the checkable/notification full name to the log. Adding the check result output will break the debug log.

dnsmichi pushed a commit that referenced this issue May 11, 2017
Add target object in cluster error messages to debug log

fixes #4288
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/distributed Distributed monitoring (master, satellites, clients) area/log Logging related enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants