]>
granicus.if.org Git - icinga2/log
Gunnar Beutner [Wed, 25 Sep 2013 06:52:44 +0000 (08:52 +0200)]
config: Update validators.
Gunnar Beutner [Wed, 25 Sep 2013 06:51:55 +0000 (08:51 +0200)]
config: Don't clone host/service attributes.
Gunnar Beutner [Wed, 25 Sep 2013 05:43:57 +0000 (07:43 +0200)]
Update copyright information.
Gunnar Beutner [Wed, 25 Sep 2013 05:31:46 +0000 (07:31 +0200)]
Refactor CompatComponent class.
Michael Friedrich [Tue, 24 Sep 2013 16:58:51 +0000 (18:58 +0200)]
Fix crash on missing notification_command.
Michael Friedrich [Tue, 24 Sep 2013 16:50:42 +0000 (18:50 +0200)]
ido: Add notifications.
refs #4379
Michael Friedrich [Tue, 24 Sep 2013 16:49:25 +0000 (18:49 +0200)]
notifications: Add OnNotificationSentToAllUsers signal.
Michael Friedrich [Tue, 24 Sep 2013 16:48:24 +0000 (18:48 +0200)]
compatutility: Refactor checkresult output, add notification type mapping.
Michael Friedrich [Tue, 24 Sep 2013 11:27:02 +0000 (13:27 +0200)]
ido: Add downtimehistory.
refs #4379
fixes #4710
Michael Friedrich [Tue, 24 Sep 2013 10:45:29 +0000 (12:45 +0200)]
ido: Add commenthistory.
refs #4379
Michael Friedrich [Tue, 24 Sep 2013 09:49:02 +0000 (11:49 +0200)]
ido: Add acknowledgements.
refs #4379
Gunnar Beutner [Tue, 24 Sep 2013 11:33:16 +0000 (13:33 +0200)]
config: Add missing "volatile" validator for the Service type.
Gunnar Beutner [Tue, 24 Sep 2013 11:30:23 +0000 (13:30 +0200)]
config: Count errors and warnings.
Gunnar Beutner [Tue, 24 Sep 2013 11:25:38 +0000 (13:25 +0200)]
Update type validators.
Gunnar Beutner [Tue, 24 Sep 2013 11:13:14 +0000 (13:13 +0200)]
Improve config validation.
Fixes #4391
Gunnar Beutner [Tue, 24 Sep 2013 09:24:22 +0000 (11:24 +0200)]
Make sample configuration more readable.
Fixes #4724
Gunnar Beutner [Tue, 24 Sep 2013 07:59:04 +0000 (09:59 +0200)]
Fix status.dat indentation.
Gunnar Beutner [Sat, 21 Sep 2013 18:04:46 +0000 (20:04 +0200)]
Move around CFLAGS/CXXFLAGS some more.
Gunnar Beutner [Sat, 21 Sep 2013 17:39:46 +0000 (19:39 +0200)]
Re-order CFLAGS/CXXFLAGS in configure.ac.
Gunnar Beutner [Sat, 21 Sep 2013 17:36:03 +0000 (19:36 +0200)]
OS X build fix.
Gunnar Beutner [Sat, 21 Sep 2013 15:53:14 +0000 (17:53 +0200)]
base: Limit work queue size.
Gunnar Beutner [Sat, 21 Sep 2013 07:00:40 +0000 (09:00 +0200)]
Comment out some of the less useful debug messages.
Gunnar Beutner [Fri, 20 Sep 2013 07:45:05 +0000 (09:45 +0200)]
base: Limit buffer size for BufferedStream objects.
Gunnar Beutner [Thu, 19 Sep 2013 13:14:32 +0000 (15:14 +0200)]
Change log level for some messages.
Gunnar Beutner [Thu, 19 Sep 2013 13:08:34 +0000 (15:08 +0200)]
cluster: Fix log replay.
Gunnar Beutner [Thu, 19 Sep 2013 12:47:17 +0000 (14:47 +0200)]
Fix: DynamicObject::HasPrivileges should always return true if privs == 0.
Gunnar Beutner [Thu, 19 Sep 2013 12:26:57 +0000 (14:26 +0200)]
cluster: Make debug messages more useful.
Gunnar Beutner [Wed, 18 Sep 2013 22:01:18 +0000 (00:01 +0200)]
Fix timeperiod update bug.
Gunnar Beutner [Wed, 18 Sep 2013 22:05:56 +0000 (00:05 +0200)]
Change log timestamp format.
Gunnar Beutner [Wed, 18 Sep 2013 15:38:26 +0000 (17:38 +0200)]
Fix workqueue dispatch.
Michael Friedrich [Wed, 18 Sep 2013 14:22:28 +0000 (16:22 +0200)]
Config Conversion: Update --help.
fixes #4715
Michael Friedrich [Wed, 18 Sep 2013 14:18:16 +0000 (16:18 +0200)]
Config Conversion: Refactor hostcheck service as new object, add stats.
now the service template objects get the custom tmpl too.
refs #4715
Michael Friedrich [Wed, 18 Sep 2013 09:39:38 +0000 (11:39 +0200)]
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
Gunnar Beutner [Wed, 18 Sep 2013 09:22:52 +0000 (11:22 +0200)]
Fix lock contention in ThreadPool::Post.
Gunnar Beutner [Wed, 18 Sep 2013 08:43:23 +0000 (10:43 +0200)]
Fix uninitialized variable.
Gunnar Beutner [Wed, 18 Sep 2013 08:30:20 +0000 (10:30 +0200)]
Remove unnecessary check.
Gunnar Beutner [Wed, 18 Sep 2013 08:30:11 +0000 (10:30 +0200)]
Change log level for some messages.
Gunnar Beutner [Wed, 18 Sep 2013 08:08:28 +0000 (10:08 +0200)]
Remove unused variables.
Gunnar Beutner [Wed, 18 Sep 2013 08:06:31 +0000 (10:06 +0200)]
Fix parameter type for Service::RemoveDowntime.
Gunnar Beutner [Wed, 18 Sep 2013 07:32:16 +0000 (09:32 +0200)]
Use short name for threadpool worker threads.
Gunnar Beutner [Wed, 18 Sep 2013 07:16:29 +0000 (09:16 +0200)]
cluster: Refactor method names.
Gunnar Beutner [Wed, 18 Sep 2013 07:09:16 +0000 (09:09 +0200)]
Implement support for work queues.
Gunnar Beutner [Wed, 18 Sep 2013 05:46:07 +0000 (07:46 +0200)]
Fix memory leaks in the config parser.
Gunnar Beutner [Wed, 18 Sep 2013 05:32:40 +0000 (07:32 +0200)]
Fix memory leak in NetString::ReadStringFromStream.
Michael Friedrich [Tue, 17 Sep 2013 18:11:29 +0000 (20:11 +0200)]
Add missing DowntimesExpireTimer.
now the expired downtimes will get deleted every 60 seconds.
fixes #4711
Michael Friedrich [Tue, 17 Sep 2013 17:40:23 +0000 (19:40 +0200)]
CompatLog: Fix downtimes.
fixes #4652
Michael Friedrich [Tue, 17 Sep 2013 17:37:10 +0000 (19:37 +0200)]
Add RemoveDowntime() cancelled parameter, check for expired/triggered downtimes.
refs #4652
refs #4710
Michael Friedrich [Tue, 17 Sep 2013 14:55:29 +0000 (16:55 +0200)]
Remove obsolete comment.
Michael Friedrich [Tue, 17 Sep 2013 14:51:55 +0000 (16:51 +0200)]
ido: Fix missing TriggerDowntime() queries.
fixes #4651
Gunnar Beutner [Tue, 17 Sep 2013 13:56:54 +0000 (15:56 +0200)]
cluster: Fix default privileges.
Michael Friedrich [Tue, 17 Sep 2013 13:30:21 +0000 (15:30 +0200)]
ido: Fix downtimes/comments removal.
fixes #4651
Gunnar Beutner [Tue, 17 Sep 2013 12:58:52 +0000 (14:58 +0200)]
cluster: Log ignored messages.
Gunnar Beutner [Tue, 17 Sep 2013 12:39:43 +0000 (14:39 +0200)]
Update log level for a debug message.
Gunnar Beutner [Tue, 17 Sep 2013 12:38:27 +0000 (14:38 +0200)]
Remove debug code
Gunnar Beutner [Tue, 17 Sep 2013 12:32:37 +0000 (14:32 +0200)]
cluster: Fix deadlock.
Gunnar Beutner [Tue, 17 Sep 2013 12:21:45 +0000 (14:21 +0200)]
Enable cluster debugging.
Gunnar Beutner [Tue, 17 Sep 2013 11:24:08 +0000 (13:24 +0200)]
cluster: Implement domain ACL checks.
Gunnar Beutner [Tue, 17 Sep 2013 11:18:26 +0000 (13:18 +0200)]
cluster: Implement domain support.
Michael Friedrich [Mon, 16 Sep 2013 12:57:12 +0000 (14:57 +0200)]
Config Conversion: Detect hosts w/o services and properly add hostcheck.
it's ugly but it works. requires code refactoring.
Michael Friedrich [Mon, 16 Sep 2013 12:05:41 +0000 (14:05 +0200)]
Config Conversion: Add proper check_command detection in templates.
Gunnar Beutner [Mon, 16 Sep 2013 12:01:24 +0000 (14:01 +0200)]
cluster: Remove old logs before reconnecting.
Gunnar Beutner [Mon, 16 Sep 2013 10:27:25 +0000 (12:27 +0200)]
Change log level for a debug message.
Gunnar Beutner [Mon, 16 Sep 2013 09:08:13 +0000 (11:08 +0200)]
Fix: Cluster log files were not properly removed when an instance has no peers.
Gunnar Beutner [Mon, 16 Sep 2013 09:06:21 +0000 (11:06 +0200)]
Add debug message.
Gunnar Beutner [Mon, 16 Sep 2013 08:06:09 +0000 (10:06 +0200)]
cluster: Re-open logfile after log replay.
Gunnar Beutner [Mon, 16 Sep 2013 08:00:06 +0000 (10:00 +0200)]
cluster: Yet another fix.
Gunnar Beutner [Mon, 16 Sep 2013 07:57:30 +0000 (09:57 +0200)]
cluster: Another log replay fix.
Gunnar Beutner [Mon, 16 Sep 2013 07:49:28 +0000 (09:49 +0200)]
cluster: Don't replay log messages twice.
Gunnar Beutner [Mon, 16 Sep 2013 07:30:31 +0000 (09:30 +0200)]
cluster: Make log replays non-blocking.
Gunnar Beutner [Mon, 16 Sep 2013 06:59:28 +0000 (08:59 +0200)]
Fix logging performance problem.
Gunnar Beutner [Sun, 15 Sep 2013 08:32:55 +0000 (10:32 +0200)]
Set group before user.
Gunnar Beutner [Sun, 15 Sep 2013 08:28:54 +0000 (10:28 +0200)]
Implement setgid/setuid support.
Fixes #3841
Gunnar Beutner [Fri, 13 Sep 2013 11:48:41 +0000 (13:48 +0200)]
config: Fix arguments for hostchecks.
Gunnar Beutner [Fri, 13 Sep 2013 11:32:42 +0000 (13:32 +0200)]
config: Fix attribute lookup functions.
Gunnar Beutner [Fri, 13 Sep 2013 11:05:55 +0000 (13:05 +0200)]
config: Temporarily set hostname for services.
Gunnar Beutner [Fri, 13 Sep 2013 10:36:49 +0000 (12:36 +0200)]
config: Fix looking up host custom attributes.
Gunnar Beutner [Fri, 13 Sep 2013 10:32:38 +0000 (12:32 +0200)]
config: Fix resolving macros in command arguments.
Gunnar Beutner [Fri, 13 Sep 2013 07:58:16 +0000 (09:58 +0200)]
cluster: Make the feature checks more robust.
Michael Friedrich [Fri, 13 Sep 2013 07:56:25 +0000 (09:56 +0200)]
Config Conversion: Fix global macros requiring escape_str() call.
fixes #4703
Gunnar Beutner [Fri, 13 Sep 2013 07:51:13 +0000 (09:51 +0200)]
config: Fix += { }.
Gunnar Beutner [Fri, 13 Sep 2013 07:45:24 +0000 (09:45 +0200)]
Fix custom macros.
Gunnar Beutner [Fri, 13 Sep 2013 07:28:32 +0000 (09:28 +0200)]
Convert custom attributes to macros.
Gunnar Beutner [Fri, 13 Sep 2013 05:49:12 +0000 (07:49 +0200)]
cluster: Another fix for authority checks.
Michael Friedrich [Thu, 12 Sep 2013 18:24:13 +0000 (20:24 +0200)]
Config Conversion: Object macros start with name.
refs #4700
Michael Friedrich [Thu, 12 Sep 2013 18:07:41 +0000 (20:07 +0200)]
Config Conversion: Treat command arg macros directly as object macros
- if detected, they will be replaced with their real name on the command
line (instead of $ARGn$)
- if macro is resolvable, its value will be added to the macro
dictionary
- if macro is not resolvable, it will be skipped and left for the core
to resolve the macro on runtime.
caveat: getting host/service attributes requires lookups from the object
into the template tree, as well as host macros on services a search on
the host object itsself.
note: macro resolver is rudimentary implemented. there's space for more
detailed if-macro-name-is-then-return-attribute-abc. main problem are
the missing underscores in macro names, but not in attributes (what the
...?).
fixes #4700
Michael Friedrich [Thu, 12 Sep 2013 16:42:01 +0000 (18:42 +0200)]
Config Conversion: Update sample icinga2 config.
refs #4701
Michael Friedrich [Thu, 12 Sep 2013 16:40:16 +0000 (18:40 +0200)]
Config Conversion: Fix import removing inline comments after ';' and '#'.
fixes #4499
Michael Friedrich [Thu, 12 Sep 2013 16:15:37 +0000 (18:15 +0200)]
Config Conversion: Make ADMIN/USER macros global again (in resource.conf)
refs #4701
Michael Friedrich [Thu, 12 Sep 2013 16:10:40 +0000 (18:10 +0200)]
Config Conversion: s/user_macros/global_macros/g
Michael Friedrich [Thu, 12 Sep 2013 16:08:07 +0000 (18:08 +0200)]
Config Conversion: introduce resource.conf with global macros
refs #4701
Gunnar Beutner [Thu, 12 Sep 2013 16:08:06 +0000 (18:08 +0200)]
cluster: Fix cleaning up old log files.
Gunnar Beutner [Thu, 12 Sep 2013 15:39:29 +0000 (17:39 +0200)]
Ignore check results if we have a local result that's newer.
Gunnar Beutner [Thu, 12 Sep 2013 14:36:18 +0000 (16:36 +0200)]
checker: Fix incorrect wait time when first service is non-authoritative.
Gunnar Beutner [Thu, 12 Sep 2013 13:47:45 +0000 (15:47 +0200)]
Make sure the next check timestamp can't be in the past.
Gunnar Beutner [Thu, 12 Sep 2013 13:38:01 +0000 (15:38 +0200)]
cluster: More delegation bugfixes.
Gunnar Beutner [Thu, 12 Sep 2013 13:31:07 +0000 (15:31 +0200)]
checker: Fix waiting for non-authoritative checks.
Gunnar Beutner [Thu, 12 Sep 2013 13:22:21 +0000 (15:22 +0200)]
Fix crash in ClusterComponent::CheckAuthorityHandler.
Gunnar Beutner [Thu, 12 Sep 2013 13:20:01 +0000 (15:20 +0200)]
checker: Make sure non-authoritative cluster instances don't reschedule checks.
Gunnar Beutner [Thu, 12 Sep 2013 13:12:19 +0000 (15:12 +0200)]
Fix delegation bug.
Gunnar Beutner [Thu, 12 Sep 2013 13:07:37 +0000 (15:07 +0200)]
Add missing lock.