Commit Graph

190 Commits

Author SHA1 Message Date
Michael Friedrich 31d54b2760 Livestatus: Add application variables to status table.
Refs #5855
2014-04-04 17:45:59 +02:00
Michael Friedrich 5030bab4f3 Livestatus: Add command custom variables.
Refs #5855
2014-04-04 17:32:23 +02:00
Gunnar Beutner 23e9630682 Implement host checks.
Refs #5919
2014-04-04 15:57:54 +02:00
Michael Friedrich 5c58eb368c Merge 'macros' and 'custom' attributes into 'vars', part 1.
Refs #5855
2014-04-03 11:35:25 +02:00
Michael Friedrich a05c31cda2 CompatUtility: Fix host 2d_coords.
Fixes #5917
2014-04-02 14:43:40 +02:00
Gunnar Beutner 54063f0b9f Rename __name and __type properties.
Refs #5870
2014-03-28 14:17:55 +01:00
Michael Friedrich 23c47dd430 Make host 'check' attribute available in legacy interfaces.
Fixes #5764
2014-03-21 17:57:24 +01:00
Michael Friedrich 662e6dd547 Livestatus: Add check_source to services table.
Refs #5636
Refs #5812
2014-03-20 19:15:19 +01:00
Michael Friedrich 098dbe7506 Livestatus: Add endpoints table.
Refs #5636
Refs #5811
2014-03-20 18:53:08 +01:00
Michael Friedrich bf9c89f625 DB IDO/Livestatus: Fix global enabled status values.
Fixes #5808
2014-03-20 11:33:59 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich 1279d27720 Fix enable_perfdata attribute in compat features.
Fixes #5693
2014-03-12 15:21:56 +01:00
Michael Friedrich 09d6b6fefa Health Check: Sanitize perfdata.
Refs #5664
2014-03-10 18:01:26 +01:00
Gunnar Beutner e8759a12a5 Fix: Don't try to execute empty Livestatus queries.
Fixes #5484
2014-03-10 09:44:53 +01:00
Michael Friedrich f890a7ae8c Refactor status/perfdata stats registry.
Fixes #5622
2014-02-20 15:25:58 +01:00
Michael Friedrich 84be5e3413 Implement StatsFunction Registry for features.
Refs #5622
2014-02-17 17:53:41 +01:00
Michael Friedrich babfc128ba Livestatus: Set host checks / freshness to 1 for compatibility reasons.
Fixes #5629
2014-02-10 14:02:17 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Michael Friedrich be78579dea Livestatus: Call addRowFn directly in UpdateLogEntries().
Refs #5351
Refs #5369
2013-12-18 17:32:18 +01:00
Michael Friedrich 333ba6ee7e Livestatus: Move log entry parsing into FetchRows().
Refs #5351
2013-12-18 16:28:33 +01:00
Michael Friedrich 9a2153d4e0 Livestatus: Use HistoryTable for log/statehist tables.
Refs #5351
2013-12-18 16:06:39 +01:00
Michael Friedrich 9f82274fce Fix some more compiler warnings.
Refs #5348
2013-12-17 18:34:05 +01:00
Michael Friedrich 88fa67c108 Livestatus: Refactor historical tables.
Refs #5351
Refs #5348
2013-12-17 18:34:05 +01:00
Johannes Meyer 772f319926 Fix that triggered_by field is not of type int in a livestatus response
fixes #5356
2013-12-17 15:15:39 +01:00
Johannes Meyer 3aa21fb340 Fix aggregation of the type and is_service livestatus comment columns
refs #5332
2013-12-16 15:36:38 +01:00
Johannes Meyer 4a6fddadb8 Fix deadlock when querying comments or downtimes through livestatus
fixes #5332
2013-12-16 14:14:01 +01:00
Johannes Meyer 0d99f98354 Fix that the "ColumnHeaders" option has no effect for json output
Fixes another bug that the "Columns" option did not disable
ColumnHeaders at all.

refs #5317
2013-12-13 10:24:18 +01:00
Michael Friedrich 66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Michael Friedrich 1119c2f17b Fix crash while reading livestatus query.
Refs #5316
2013-12-12 12:07:47 +01:00
Johannes Meyer ed4def7ee8 Fix livestatus keepalive handling
fixes #5314
2013-12-12 10:21:33 +01:00
Michael Friedrich 83e20ba02e Livestatus: Fix check_command_expanded column.
Fixes #5296
2013-12-11 10:18:23 +01:00
Gunnar Beutner 0978e46d5a Implement file type flags for Utility::Glob.
Fixes #5123
2013-11-22 09:03:52 +01:00
Gunnar Beutner 91338a7e49 Remove redundant checks.
Fixes #5071
2013-11-21 12:23:55 +01:00
Gunnar Beutner 39dcf20a89 Implement support for stack traces for STL exceptions.
Fixes #5114
2013-11-20 21:55:14 +01:00
Michael Friedrich e6128a0a96 Livestatus: Fix invalid livestatus query crashes Icinga 2.
Fixes #5076
2013-11-15 10:56:14 +01:00
Michael Friedrich f3f113efd6 Livestatus: Fix program start time in status table. 2013-11-11 15:19:47 +01:00
Michael Friedrich d1419a3067 Fix CompatUtility::{ConvertTimestamp,GetCheckResultOutput} should return std::pair.
Fixes #5045
2013-11-11 15:06:23 +01:00
Michael Friedrich bf94967ac4 Livestatus: Fix additional stats columns causing problems.
Fixes #5052
2013-11-11 13:58:25 +01:00
Gunnar Beutner e4b5fe74ff Fix LivestatusListener config object.
Fixes #5053
2013-11-11 11:57:25 +01:00
Gunnar Beutner e2292ce5f7 Refactor the Service::Is{Comment,Downtime}* methods.
Refs #5039
2013-11-09 22:20:49 +01:00
Gunnar Beutner ec1a7bbfcb Implement class for service downtimes.
Refs #5039
2013-11-09 22:08:26 +01:00
Gunnar Beutner cb526ddccc Implement class for service comments.
Refs #5039
2013-11-09 21:19:52 +01:00
Gunnar Beutner 112f26dc19 Replace check result dictionaries with a class.
Refs #5039
2013-11-09 15:26:01 +01:00
Gunnar Beutner e546cd854d Clean up the DynamicType class.
Refs #5036
2013-11-08 16:07:21 +01:00
Gunnar Beutner a84536bea3 Implement serializer support for arbitrary classes.
Fixes #5024
2013-11-08 14:08:59 +01:00
Michael Friedrich 46548d8e56 Fix columns not fetched when using stats output.
Fixes #5015
2013-11-07 17:53:55 +01:00
Michael Friedrich 7d28e95dba Livestatus: Add servive_checks(_rate) columns to status table.
Refs #4655
Refs #2762
2013-11-07 17:29:45 +01:00
Michael Friedrich 5caec8c570 Livestatus: Add compat_log_path config option for historical tables.
Fixes #5017
2013-11-07 14:16:10 +01:00
Gunnar Beutner 6acc017707 Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
Fixes #5012
2013-11-07 08:28:33 +01:00
Michael Friedrich 686446584c Livestatus: Fix crash when socket exception is thrown during query reponse.
Fixes #4619
2013-11-06 18:54:01 +01:00