Commit Graph

1288 Commits

Author SHA1 Message Date
Gunnar Beutner 0029bc30b7 Fix null pointer dereference in ConfigItem::Commit(). 2013-03-11 13:07:21 +01:00
Gunnar Beutner 4bb808e0fa ConfigType: Use ConfigItem::IsAbstract() to check if items are abstract. 2013-03-11 13:05:32 +01:00
Gunnar Beutner 6f51230a79 Don't instantiate abstract objects.
Fixes #3669
2013-03-11 12:04:10 +01:00
Gunnar Beutner f34778eb86 *NIX build fix. 2013-03-10 22:55:57 +01:00
Gunnar Beutner 7274d4680e Implement some more tables. 2013-03-10 22:20:13 +01:00
Gunnar Beutner ed912b0e23 Prepare support for table joins. 2013-03-10 18:50:22 +01:00
Gunnar Beutner 6c7af283c0 Add missing files in Makefile.am. 2013-03-10 17:57:49 +01:00
Gunnar Beutner fbf08257ad Implement the "Stats" header. 2013-03-10 17:54:46 +01:00
Gunnar Beutner fd6deeeee6 Implement "Negate" header. 2013-03-10 15:27:55 +01:00
Gunnar Beutner dc27ddaada Combine all top-level filters into a single filter (with operator "and"). 2013-03-10 15:23:41 +01:00
Gunnar Beutner 79579e9bb1 *NIX build fix. 2013-03-10 15:14:14 +01:00
Gunnar Beutner c728e85c8c Implement attribute filters. 2013-03-10 15:11:32 +01:00
Michael Friedrich c9178fb0f3 icinga2.conf.dist: change host check to single aliased check
fixes #3816
2013-03-10 14:00:49 +01:00
Michael Friedrich d528ed2bba fix pid file location in initscript too
fixes #3670
2013-03-10 13:55:28 +01:00
Gunnar Beutner ad77c873ba Implement filters for "and" and "or". 2013-03-10 12:24:03 +01:00
Gunnar Beutner 8bda3bc63c Added dummy tables: contactgroups and contacts. 2013-03-10 09:55:46 +01:00
Gunnar Beutner d7efa9e24c Implement basic livestatus GET queries. 2013-03-10 09:23:13 +01:00
Gunnar Beutner 98ba1424b5 Implement proper support for JSON arrays. 2013-03-10 09:08:59 +01:00
Gunnar Beutner a38263b3c8 Implement livestatus commands. 2013-03-10 05:10:51 +01:00
Gunnar Beutner 27505536f9 Add livestatus component. 2013-03-10 03:09:01 +01:00
Gunnar Beutner 375746d710 Fix deadlocks in the Socket/Stream classes. 2013-03-09 15:56:56 +01:00
Gunnar Beutner 5a861b0de0 Fix race condition in Process::WorkerThreadProc. 2013-03-09 15:41:07 +01:00
Gunnar Beutner bac7495f49 Check for invalid value type. 2013-03-09 12:57:26 +01:00
Gunnar Beutner 84fcf24fa3 Add missing return value. 2013-03-09 12:57:07 +01:00
Gunnar Beutner 56dc7c4e0a Add missing "*/". 2013-03-09 12:56:40 +01:00
Gunnar Beutner 9b44a5c35d Fixed incorrect macro name. 2013-03-09 12:53:04 +01:00
Gunnar Beutner 5d0fa0f6c9 Removed dummy timeperiod definition. 2013-03-09 00:01:04 +01:00
Gunnar Beutner d7a995e752 status.dat/objects.cache: check_interval/retry_interval should be in minutes. 2013-03-09 00:00:43 +01:00
Gunnar Beutner f771ede8f1 Fixed deadlock. 2013-03-09 00:00:10 +01:00
Gunnar Beutner cf4397873c Fix another deadlock. 2013-03-08 16:36:26 +01:00
Gunnar Beutner 4371649064 Fix deadlock when adding/removing acknowledgements. 2013-03-08 16:32:29 +01:00
Gunnar Beutner 16b0722cbc Added more templates. 2013-03-08 16:02:33 +01:00
Gunnar Beutner c7f9a78f4d Revert "Remove redundant check for valid task object."
This reverts commit 8337795ff7.
2013-03-08 14:56:23 +01:00
Gunnar Beutner 4668e458ce Update validator for services dictionary. 2013-03-08 14:44:03 +01:00
Gunnar Beutner fb82b73bc9 Fix: Set last state/state type before executing service checks. 2013-03-08 14:43:48 +01:00
Gunnar Beutner 8337795ff7 Remove redundant check for valid task object. 2013-03-08 14:43:28 +01:00
Gunnar Beutner 13436cb536 Catch exceptions in EventQueue::QueueThreadProc. 2013-03-08 14:43:07 +01:00
Gunnar Beutner 68ecd7853f Updated auto-discovery script and added some more service templates. 2013-03-08 14:42:48 +01:00
Gunnar Beutner 756d465ca9 Use TLS for last exception stack trace. 2013-03-08 14:42:41 +01:00
Gunnar Beutner cada2abeb3 Implement automated stacktraces for exceptions. 2013-03-07 19:44:39 +01:00
Gunnar Beutner e2416b5b54 Check return values of SymGetLineFromAddr64 and SymFromAddr. 2013-03-07 16:00:10 +01:00
Gunnar Beutner 4595e4ce5f Fixed retention timer interval 2013-03-07 15:19:26 +01:00
Gunnar Beutner e54604c0e3 *NIX build fix. 2013-03-07 15:16:01 +01:00
Gunnar Beutner fa3f01667f Implemented stacktrace support for Windows. 2013-03-07 15:00:26 +01:00
Gunnar Beutner 5a166f83d7 Move pidfile and command pipe to /var/run/icinga2 rather than /var/run
Fixes #3670
2013-03-07 12:23:43 +01:00
Gunnar Beutner 02be9010e7 Implemented LAST*STATE* macros. 2013-03-07 12:04:20 +01:00
Gunnar Beutner 68bd651195 Improve check latency. 2013-03-07 09:48:00 +01:00
Gunnar Beutner d2a27eb521 Fixed some more compiler warnings. 2013-03-07 09:47:51 +01:00
Gunnar Beutner 97dd87ab96 Fixed compiler warnings. 2013-03-07 08:14:55 +01:00
Gunnar Beutner 659fcf8fa3 Fix cppcheck warnings. 2013-03-06 15:41:13 +01:00