Commit Graph

2038 Commits

Author SHA1 Message Date
Gunnar Beutner 9c84213a1b Build fix. 2013-09-25 09:24:34 +02:00
Gunnar Beutner 881c47893a config: Rename Notification::groups to Notification::user_groups. 2013-09-25 09:23:12 +02:00
Gunnar Beutner b10db3bd7f config: Rename Service::servicegroups to Service::groups. 2013-09-25 09:21:17 +02:00
Gunnar Beutner 03c047f4a7 config: Rename host_name to host. 2013-09-25 09:19:25 +02:00
Gunnar Beutner 414d8c80bc config: Rename servicedependencies/hostdependencies. 2013-09-25 09:16:53 +02:00
Gunnar Beutner 0b265c18af config: Rename Host::hostgroups to Host::groups. 2013-09-25 09:15:30 +02:00
Gunnar Beutner e766b4534f config: Rename Host::hostcheck to Host::check. 2013-09-25 09:12:15 +02:00
Gunnar Beutner 28a6db4e81 cluster: Don't allow wildcards in endpoint names. 2013-09-25 08:52:57 +02:00
Gunnar Beutner 83ca372fa8 config: Update validators. 2013-09-25 08:52:44 +02:00
Gunnar Beutner a401d871eb config: Don't clone host/service attributes. 2013-09-25 08:51:55 +02:00
Gunnar Beutner bf1a800e39 Update copyright information. 2013-09-25 07:45:56 +02:00
Gunnar Beutner d40fc8d3ff Refactor CompatComponent class. 2013-09-25 07:45:55 +02:00
Michael Friedrich 91e0566de0 Fix crash on missing notification_command. 2013-09-24 18:58:51 +02:00
Michael Friedrich 4082dccf1c ido: Add notifications.
refs #4379
2013-09-24 18:50:42 +02:00
Michael Friedrich d4295cb3a4 notifications: Add OnNotificationSentToAllUsers signal. 2013-09-24 18:49:25 +02:00
Michael Friedrich 83a06b4378 compatutility: Refactor checkresult output, add notification type mapping. 2013-09-24 18:48:24 +02:00
Michael Friedrich 02a829333e ido: Add downtimehistory.
refs #4379
fixes #4710
2013-09-24 13:38:09 +02:00
Michael Friedrich 060d667d2e ido: Add commenthistory.
refs #4379
2013-09-24 13:38:09 +02:00
Michael Friedrich ace2c742c1 ido: Add acknowledgements.
refs #4379
2013-09-24 13:38:09 +02:00
Gunnar Beutner 2ca6ec42e2 config: Add missing "volatile" validator for the Service type. 2013-09-24 13:33:16 +02:00
Gunnar Beutner d1c194632b config: Count errors and warnings. 2013-09-24 13:30:23 +02:00
Gunnar Beutner 826a56ba20 Update type validators. 2013-09-24 13:25:38 +02:00
Gunnar Beutner a7e25beb06 Improve config validation.
Fixes #4391
2013-09-24 13:13:14 +02:00
Gunnar Beutner 8568b4b701 Make sample configuration more readable.
Fixes #4724
2013-09-24 11:24:22 +02:00
Gunnar Beutner d88d2a258a Fix status.dat indentation. 2013-09-24 09:59:04 +02:00
Gunnar Beutner ce6529ba25 Move around CFLAGS/CXXFLAGS some more. 2013-09-21 20:04:46 +02:00
Gunnar Beutner 1a2cb95871 Re-order CFLAGS/CXXFLAGS in configure.ac. 2013-09-21 19:39:46 +02:00
Gunnar Beutner 0098cf6b8b OS X build fix. 2013-09-21 19:36:03 +02:00
Gunnar Beutner 137c726920 base: Limit work queue size. 2013-09-21 17:53:14 +02:00
Gunnar Beutner 3c3101336a Comment out some of the less useful debug messages. 2013-09-21 09:00:40 +02:00
Gunnar Beutner 132695a460 base: Limit buffer size for BufferedStream objects. 2013-09-20 09:45:05 +02:00
Gunnar Beutner c519deb257 Change log level for some messages. 2013-09-19 15:14:32 +02:00
Gunnar Beutner 6a1ce0d9b9 cluster: Fix log replay. 2013-09-19 15:08:34 +02:00
Gunnar Beutner 74a4432bad Fix: DynamicObject::HasPrivileges should always return true if privs == 0. 2013-09-19 14:47:17 +02:00
Gunnar Beutner a122baf9ba cluster: Make debug messages more useful. 2013-09-19 14:26:57 +02:00
Gunnar Beutner 77a945157f Fix timeperiod update bug. 2013-09-19 00:01:18 +02:00
Gunnar Beutner a10a4013c7 Change log timestamp format. 2013-09-19 00:06:14 +02:00
Gunnar Beutner 2487d7069c Fix workqueue dispatch. 2013-09-18 17:38:40 +02:00
Michael Friedrich ad3a8f19ed Config Conversion: Update --help.
fixes #4715
2013-09-18 16:22:28 +02:00
Michael Friedrich 96e18e625f Config Conversion: Refactor hostcheck service as new object, add stats.
now the service template objects get the custom tmpl too.

refs #4715
2013-09-18 16:18:16 +02:00
Michael Friedrich 6a3c1ec7aa Config Conversion: Allow to define external global templates referenced by all objects.
tests:

$ ./icinga2_convert_v1_v2.pl -c /etc/icinga/icinga.cfg -o conf/
--hosttmpl="hostbumstitmpl"
--servicetmpl="servicebumstitmpl"
--usertmpl="userbumstitmpl"
--timeperiodtmpl="timeperiodbumstitmpl"
--notificationtmpl="notificationbumstitmpl"
--checkcommandtmpl="checkcommandbumstitmpl"
--eventcommandtmpl="eventcommandbumstitmpl"
--notificationcommandtmpl="notificationcommandbumstitmpl"

refs #4697
2013-09-18 11:42:16 +02:00
Gunnar Beutner 3946c388c5 Fix lock contention in ThreadPool::Post. 2013-09-18 11:22:52 +02:00
Gunnar Beutner f176d8f28b Fix uninitialized variable. 2013-09-18 10:43:23 +02:00
Gunnar Beutner afbfdb2579 Remove unnecessary check. 2013-09-18 10:30:20 +02:00
Gunnar Beutner e045ece3de Change log level for some messages. 2013-09-18 10:30:11 +02:00
Gunnar Beutner c12b4b2e0b Remove unused variables. 2013-09-18 10:08:28 +02:00
Gunnar Beutner 282acd94ec Fix parameter type for Service::RemoveDowntime. 2013-09-18 10:06:31 +02:00
Gunnar Beutner db2f7d5bf3 Use short name for threadpool worker threads. 2013-09-18 09:32:16 +02:00
Gunnar Beutner 411f23f9e7 cluster: Refactor method names. 2013-09-18 09:16:29 +02:00
Gunnar Beutner e7da4057f9 Implement support for work queues. 2013-09-18 09:09:16 +02:00