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 #4433] livestatus: add log table #668

Closed
icinga-migration opened this issue Jul 22, 2013 · 8 comments
Closed

[dev.icinga.com #4433] livestatus: add log table #668

icinga-migration opened this issue Jul 22, 2013 · 8 comments
Labels
area/livestatus Legacy interface enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

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

Created by mfriedrich on 2013-07-22 08:16:29 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2013-11-06 16:39:33 +00:00)
Target Version: 0.0.4
Last Update: 2014-09-16 09:14:35 +00:00 (in Redmine)


should be directly fetched from a tbd history backend (and not a seperate solution).

Attachments

Changesets

2013-10-30 09:20:36 +00:00 by (unknown) 989a317

Livestatus: Add log table (WIP).

refs #4433

2013-10-30 14:00:03 +00:00 by (unknown) 22078b1

Livestatus: Add log table.

refs #4433

2013-10-30 17:51:33 +00:00 by (unknown) b190326

Livestatus: Add log table.

refs #4433

2013-10-31 11:05:14 +00:00 by (unknown) 73fdb7c

Livestatus: Add log table.

refs #4433

2013-10-31 12:39:16 +00:00 by (unknown) 75b6941

Livestatus: Add log table.

refs #4433

2013-10-31 13:17:11 +00:00 by (unknown) 04e79a9

Merge branch 'feature/livestatus-log-table-4433' into next

fixes #4433

2013-10-31 15:25:13 +00:00 by (unknown) 2af130b

Update documentation for livestatus log table.

refs #4433

2013-11-05 12:41:30 +00:00 by (unknown) 1d3e09a

Fix filter parsing for values containing white spaces.

refs #4433

2013-11-05 16:14:29 +00:00 by (unknown) 5718cbe

Fix filter parsing for values containing white spaces.

Refs #4433

2013-11-06 17:45:22 +00:00 by (unknown) 90cf04f

Additional fixes for log table including test queries.

Refs #4433

Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-09-23 10:26:16 +00:00

  • Project changed from Icinga 2 to 34
  • Target Version changed from 138 to 0.0.4

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-10-22 09:03:36 +00:00

  • Target Version deleted 0.0.4

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-10-22 10:01:13 +00:00

  • Target Version set to 0.0.4

@icinga-migration
Copy link
Author

Updated by Anonymous on 2013-10-31 15:13:22 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset i2:04e79a9a0a685bc1a4669ea065a0c28d70108b13.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-11-05 10:27:04 +00:00

  • Status changed from Resolved to Assigned
  • Done % changed from 100 to 90

some views in thruk do not work properly.

history

GET log
Columns: class time type state host_name service_description plugin_output message options state_type contact_name
Filter: time >= 1383606000
Filter: time <= 1383692400
Filter: type = SERVICE ALERT
And: 1
Filter: type = HOST ALERT
And: 1
Filter: type = SERVICE FLAPPING ALERT
Filter: type = HOST FLAPPING ALERT
Filter: type = SERVICE DOWNTIME ALERT
Filter: type = HOST DOWNTIME ALERT
Filter: message ~ starting\.\.\.
Filter: message ~ shutting\ down\.\.\.
Or: 8
And: 3
OutputFormat: json
ResponseHeader: fixed16

trends

GET log
Columns: time type message
Filter: time >= 1382696656
Filter: time <= 1383647056
And: 2
Filter: host_name = localhost
Filter: type = HOST ALERT
Filter: state_type = HARD
Filter: type = INITIAL HOST STATE
Filter: state_type = HARD
Filter: type = CURRENT HOST STATE
Filter: state_type = HARD
Filter: type = HOST DOWNTIME ALERT
Or: 7
And: 2
Filter: host_name = localhost
Filter: type = SERVICE ALERT
Filter: state_type = HARD
Filter: type = INITIAL SERVICE STATE
Filter: state_type = HARD
Filter: type = CURRENT SERVICE STATE
Filter: state_type = HARD
Filter: type = SERVICE DOWNTIME ALERT
Or: 7
And: 2
Filter: class = 2
Or: 3
OutputFormat: json
ResponseHeader: fixed16

availability

GET log
Columns: time type message
Filter: time >= 1382696701
Filter: time <= 1383647101
And: 2
Filter: type = HOST ALERT
Filter: state_type = HARD
Filter: type = INITIAL HOST STATE
Filter: state_type = HARD
Filter: type = CURRENT HOST STATE
Filter: state_type = HARD
Filter: type = HOST DOWNTIME ALERT
Or: 7
Filter: class = 2
Or: 2
OutputFormat: json
ResponseHeader: fixed16

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-11-06 16:39:33 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 90 to 100

bug is more general, will be fixed in #5016

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-11-06 18:22:30 +00:00

  • File added icinga2_livestatus_log_table_thruk_01.png
  • File added icinga2_livestatus_log_table_thruk_02_notifications.png
  • File added icinga2_livestatus_log_table_thruk_03_history.png
  • File added icinga2_livestatus_log_table_thruk_04_alert_summary.png
  • File added icinga2_livestatus_log_table_thruk_05_service_availability.png

some screenshots from thruk

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-09-16 09:14:35 +00:00

  • Project changed from 34 to Icinga 2
  • Category set to Livestatus

@icinga-migration icinga-migration added enhancement New feature or request area/livestatus Legacy interface labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 0.0.4 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/livestatus Legacy interface enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant