]> granicus.if.org Git - icinga2/log
icinga2
11 years agocompat log: Fix output on notifications.
Michael Friedrich [Wed, 25 Sep 2013 17:46:32 +0000 (19:46 +0200)]
compat log: Fix output on notifications.

11 years agodb_ido: Remove obsolete code.
Michael Friedrich [Wed, 25 Sep 2013 16:24:22 +0000 (18:24 +0200)]
db_ido: Remove obsolete code.

11 years agodb_ido: Add statehistory.
Michael Friedrich [Wed, 25 Sep 2013 16:01:08 +0000 (18:01 +0200)]
db_ido: Add statehistory.

refs #4379

11 years agodb_ido: Refactor historical comments/downtimes.
Michael Friedrich [Wed, 25 Sep 2013 14:59:08 +0000 (16:59 +0200)]
db_ido: Refactor historical comments/downtimes.

fixes #4740

11 years agoconfig conversion: Rename dependencies.
Michael Friedrich [Wed, 25 Sep 2013 14:13:39 +0000 (16:13 +0200)]
config conversion: Rename dependencies.

refs #4741

11 years agoconfig conversion: Fix command exists checks by type.
Michael Friedrich [Wed, 25 Sep 2013 14:00:47 +0000 (16:00 +0200)]
config conversion: Fix command exists checks by type.

refs #4741

11 years agoconfig conversion: Move notification_interval|period from service to notification.
Michael Friedrich [Wed, 25 Sep 2013 13:55:56 +0000 (15:55 +0200)]
config conversion: Move notification_interval|period from service to notification.

refs #4741

11 years agoconfig conversion: Move notification filters from service into notification.
Michael Friedrich [Wed, 25 Sep 2013 13:22:20 +0000 (15:22 +0200)]
config conversion: Move notification filters from service into notification.

refs #4741

11 years agoconfig conversion: Rename hostcheck to check.
Michael Friedrich [Wed, 25 Sep 2013 12:25:05 +0000 (14:25 +0200)]
config conversion: Rename hostcheck to check.

refs #4741

11 years agoconfig conversion: Rename group attributes.
Michael Friedrich [Wed, 25 Sep 2013 12:20:50 +0000 (14:20 +0200)]
config conversion: Rename group attributes.

refs #4741

11 years agoconfig conversion: Fix object names in test config.
Michael Friedrich [Wed, 25 Sep 2013 12:20:27 +0000 (14:20 +0200)]
config conversion: Fix object names in test config.

11 years agoconfig conversion: Remove enable_{active,passive}_checks export.
Michael Friedrich [Wed, 25 Sep 2013 12:11:53 +0000 (14:11 +0200)]
config conversion: Remove enable_{active,passive}_checks export.

11 years agoFix grammar mistake in the INSTALL file.
Gunnar Beutner [Wed, 25 Sep 2013 13:47:39 +0000 (15:47 +0200)]
Fix grammar mistake in the INSTALL file.

11 years agoUpdate INSTALL file.
Gunnar Beutner [Wed, 25 Sep 2013 13:45:13 +0000 (15:45 +0200)]
Update INSTALL file.

11 years agoconfig: Remove the "abstract" keyword.
Gunnar Beutner [Wed, 25 Sep 2013 12:10:26 +0000 (14:10 +0200)]
config: Remove the "abstract" keyword.

11 years agoAdd converted documentation files.
Gunnar Beutner [Wed, 25 Sep 2013 11:51:48 +0000 (13:51 +0200)]
Add converted documentation files.

11 years agoFix wrong types.
Michael Friedrich [Wed, 25 Sep 2013 11:44:53 +0000 (13:44 +0200)]
Fix wrong types.

11 years agoFix .gitignore.
Michael Friedrich [Wed, 25 Sep 2013 11:09:50 +0000 (13:09 +0200)]
Fix .gitignore.

11 years agodb_ido: Fix log string.
Michael Friedrich [Wed, 25 Sep 2013 11:08:15 +0000 (13:08 +0200)]
db_ido: Fix log string.

11 years agoImplement init script option: checkconfig.
Gunnar Beutner [Wed, 25 Sep 2013 10:42:53 +0000 (12:42 +0200)]
Implement init script option: checkconfig.

11 years agoFix unused parameter, missing initialization.
Michael Friedrich [Wed, 25 Sep 2013 09:31:35 +0000 (11:31 +0200)]
Fix unused parameter, missing initialization.

11 years agoRemove unused parameter.
Gunnar Beutner [Wed, 25 Sep 2013 09:21:20 +0000 (11:21 +0200)]
Remove unused parameter.

11 years agoRename CompatLog class.
Gunnar Beutner [Wed, 25 Sep 2013 08:55:50 +0000 (10:55 +0200)]
Rename CompatLog class.

11 years agoBuild fix.
Gunnar Beutner [Wed, 25 Sep 2013 08:41:59 +0000 (10:41 +0200)]
Build fix.

11 years agoRename IDO libraries.
Icinga [Wed, 25 Sep 2013 08:30:47 +0000 (10:30 +0200)]
Rename IDO libraries.

11 years agoRename command-line parameter: -v -> -C
Gunnar Beutner [Wed, 25 Sep 2013 07:48:45 +0000 (09:48 +0200)]
Rename command-line parameter: -v -> -C

11 years agoUpdate example config files.
Gunnar Beutner [Wed, 25 Sep 2013 07:46:47 +0000 (09:46 +0200)]
Update example config files.

11 years agoRefactor the demo library.
Gunnar Beutner [Wed, 25 Sep 2013 07:39:31 +0000 (09:39 +0200)]
Refactor the demo library.

11 years agoRefactor the cluster library.
Gunnar Beutner [Wed, 25 Sep 2013 07:36:55 +0000 (09:36 +0200)]
Refactor the cluster library.

11 years agoRefactor the livestatus library.
Gunnar Beutner [Wed, 25 Sep 2013 07:31:52 +0000 (09:31 +0200)]
Refactor the livestatus library.

11 years agoconfig: Remove unused validator.
Gunnar Beutner [Wed, 25 Sep 2013 07:24:44 +0000 (09:24 +0200)]
config: Remove unused validator.

11 years agoBuild fix.
Gunnar Beutner [Wed, 25 Sep 2013 07:24:34 +0000 (09:24 +0200)]
Build fix.

11 years agoconfig: Rename Notification::groups to Notification::user_groups.
Gunnar Beutner [Wed, 25 Sep 2013 07:23:12 +0000 (09:23 +0200)]
config: Rename Notification::groups to Notification::user_groups.

11 years agoconfig: Rename Service::servicegroups to Service::groups.
Gunnar Beutner [Wed, 25 Sep 2013 07:21:17 +0000 (09:21 +0200)]
config: Rename Service::servicegroups to Service::groups.

11 years agoconfig: Rename host_name to host.
Gunnar Beutner [Wed, 25 Sep 2013 07:19:25 +0000 (09:19 +0200)]
config: Rename host_name to host.

11 years agoconfig: Rename servicedependencies/hostdependencies.
Gunnar Beutner [Wed, 25 Sep 2013 07:16:53 +0000 (09:16 +0200)]
config: Rename servicedependencies/hostdependencies.

11 years agoconfig: Rename Host::hostgroups to Host::groups.
Gunnar Beutner [Wed, 25 Sep 2013 07:15:30 +0000 (09:15 +0200)]
config: Rename Host::hostgroups to Host::groups.

11 years agoconfig: Rename Host::hostcheck to Host::check.
Gunnar Beutner [Wed, 25 Sep 2013 07:12:15 +0000 (09:12 +0200)]
config: Rename Host::hostcheck to Host::check.

11 years agocluster: Don't allow wildcards in endpoint names.
Gunnar Beutner [Wed, 25 Sep 2013 06:52:57 +0000 (08:52 +0200)]
cluster: Don't allow wildcards in endpoint names.

11 years agoconfig: Update validators.
Gunnar Beutner [Wed, 25 Sep 2013 06:52:44 +0000 (08:52 +0200)]
config: Update validators.

11 years agoconfig: Don't clone host/service attributes.
Gunnar Beutner [Wed, 25 Sep 2013 06:51:55 +0000 (08:51 +0200)]
config: Don't clone host/service attributes.

11 years agoUpdate copyright information.
Gunnar Beutner [Wed, 25 Sep 2013 05:43:57 +0000 (07:43 +0200)]
Update copyright information.

11 years agoRefactor CompatComponent class.
Gunnar Beutner [Wed, 25 Sep 2013 05:31:46 +0000 (07:31 +0200)]
Refactor CompatComponent class.

11 years agoFix crash on missing notification_command.
Michael Friedrich [Tue, 24 Sep 2013 16:58:51 +0000 (18:58 +0200)]
Fix crash on missing notification_command.

11 years agoido: Add notifications.
Michael Friedrich [Tue, 24 Sep 2013 16:50:42 +0000 (18:50 +0200)]
ido: Add notifications.

refs #4379

11 years agonotifications: Add OnNotificationSentToAllUsers signal.
Michael Friedrich [Tue, 24 Sep 2013 16:49:25 +0000 (18:49 +0200)]
notifications: Add OnNotificationSentToAllUsers signal.

11 years agocompatutility: Refactor checkresult output, add notification type mapping.
Michael Friedrich [Tue, 24 Sep 2013 16:48:24 +0000 (18:48 +0200)]
compatutility: Refactor checkresult output, add notification type mapping.

11 years agoido: Add downtimehistory.
Michael Friedrich [Tue, 24 Sep 2013 11:27:02 +0000 (13:27 +0200)]
ido: Add downtimehistory.

refs #4379
fixes #4710

11 years agoido: Add commenthistory.
Michael Friedrich [Tue, 24 Sep 2013 10:45:29 +0000 (12:45 +0200)]
ido: Add commenthistory.

refs #4379

11 years agoido: Add acknowledgements.
Michael Friedrich [Tue, 24 Sep 2013 09:49:02 +0000 (11:49 +0200)]
ido: Add acknowledgements.

refs #4379

11 years agoconfig: Add missing "volatile" validator for the Service type.
Gunnar Beutner [Tue, 24 Sep 2013 11:33:16 +0000 (13:33 +0200)]
config: Add missing "volatile" validator for the Service type.

11 years agoconfig: Count errors and warnings.
Gunnar Beutner [Tue, 24 Sep 2013 11:30:23 +0000 (13:30 +0200)]
config: Count errors and warnings.

11 years agoUpdate type validators.
Gunnar Beutner [Tue, 24 Sep 2013 11:25:38 +0000 (13:25 +0200)]
Update type validators.

11 years agoImprove config validation.
Gunnar Beutner [Tue, 24 Sep 2013 11:13:14 +0000 (13:13 +0200)]
Improve config validation.

Fixes #4391

11 years agoMake sample configuration more readable.
Gunnar Beutner [Tue, 24 Sep 2013 09:24:22 +0000 (11:24 +0200)]
Make sample configuration more readable.

Fixes #4724

11 years agoFix status.dat indentation.
Gunnar Beutner [Tue, 24 Sep 2013 07:59:04 +0000 (09:59 +0200)]
Fix status.dat indentation.

11 years agoMove around CFLAGS/CXXFLAGS some more.
Gunnar Beutner [Sat, 21 Sep 2013 18:04:46 +0000 (20:04 +0200)]
Move around CFLAGS/CXXFLAGS some more.

11 years agoRe-order CFLAGS/CXXFLAGS in configure.ac.
Gunnar Beutner [Sat, 21 Sep 2013 17:39:46 +0000 (19:39 +0200)]
Re-order CFLAGS/CXXFLAGS in configure.ac.

11 years agoOS X build fix.
Gunnar Beutner [Sat, 21 Sep 2013 17:36:03 +0000 (19:36 +0200)]
OS X build fix.

11 years agobase: Limit work queue size.
Gunnar Beutner [Sat, 21 Sep 2013 15:53:14 +0000 (17:53 +0200)]
base: Limit work queue size.

11 years agoComment out some of the less useful debug messages.
Gunnar Beutner [Sat, 21 Sep 2013 07:00:40 +0000 (09:00 +0200)]
Comment out some of the less useful debug messages.

11 years agobase: Limit buffer size for BufferedStream objects.
Gunnar Beutner [Fri, 20 Sep 2013 07:45:05 +0000 (09:45 +0200)]
base: Limit buffer size for BufferedStream objects.

11 years agoChange log level for some messages.
Gunnar Beutner [Thu, 19 Sep 2013 13:14:32 +0000 (15:14 +0200)]
Change log level for some messages.

11 years agocluster: Fix log replay.
Gunnar Beutner [Thu, 19 Sep 2013 13:08:34 +0000 (15:08 +0200)]
cluster: Fix log replay.

11 years agoFix: DynamicObject::HasPrivileges should always return true if privs == 0.
Gunnar Beutner [Thu, 19 Sep 2013 12:47:17 +0000 (14:47 +0200)]
Fix: DynamicObject::HasPrivileges should always return true if privs == 0.

11 years agocluster: Make debug messages more useful.
Gunnar Beutner [Thu, 19 Sep 2013 12:26:57 +0000 (14:26 +0200)]
cluster: Make debug messages more useful.

11 years agoFix timeperiod update bug.
Gunnar Beutner [Wed, 18 Sep 2013 22:01:18 +0000 (00:01 +0200)]
Fix timeperiod update bug.

11 years agoChange log timestamp format.
Gunnar Beutner [Wed, 18 Sep 2013 22:05:56 +0000 (00:05 +0200)]
Change log timestamp format.

11 years agoFix workqueue dispatch.
Gunnar Beutner [Wed, 18 Sep 2013 15:38:26 +0000 (17:38 +0200)]
Fix workqueue dispatch.

11 years agoConfig Conversion: Update --help.
Michael Friedrich [Wed, 18 Sep 2013 14:22:28 +0000 (16:22 +0200)]
Config Conversion: Update --help.

fixes #4715

11 years agoConfig Conversion: Refactor hostcheck service as new object, add stats.
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

11 years agoConfig Conversion: Allow to define external global templates referenced by all objects.
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

11 years agoFix lock contention in ThreadPool::Post.
Gunnar Beutner [Wed, 18 Sep 2013 09:22:52 +0000 (11:22 +0200)]
Fix lock contention in ThreadPool::Post.

11 years agoFix uninitialized variable.
Gunnar Beutner [Wed, 18 Sep 2013 08:43:23 +0000 (10:43 +0200)]
Fix uninitialized variable.

11 years agoRemove unnecessary check.
Gunnar Beutner [Wed, 18 Sep 2013 08:30:20 +0000 (10:30 +0200)]
Remove unnecessary check.

11 years agoChange log level for some messages.
Gunnar Beutner [Wed, 18 Sep 2013 08:30:11 +0000 (10:30 +0200)]
Change log level for some messages.

11 years agoRemove unused variables.
Gunnar Beutner [Wed, 18 Sep 2013 08:08:28 +0000 (10:08 +0200)]
Remove unused variables.

11 years agoFix parameter type for Service::RemoveDowntime.
Gunnar Beutner [Wed, 18 Sep 2013 08:06:31 +0000 (10:06 +0200)]
Fix parameter type for Service::RemoveDowntime.

11 years agoUse short name for threadpool worker threads.
Gunnar Beutner [Wed, 18 Sep 2013 07:32:16 +0000 (09:32 +0200)]
Use short name for threadpool worker threads.

11 years agocluster: Refactor method names.
Gunnar Beutner [Wed, 18 Sep 2013 07:16:29 +0000 (09:16 +0200)]
cluster: Refactor method names.

11 years agoImplement support for work queues.
Gunnar Beutner [Wed, 18 Sep 2013 07:09:16 +0000 (09:09 +0200)]
Implement support for work queues.

11 years agoFix memory leaks in the config parser.
Gunnar Beutner [Wed, 18 Sep 2013 05:46:07 +0000 (07:46 +0200)]
Fix memory leaks in the config parser.

11 years agoFix memory leak in NetString::ReadStringFromStream.
Gunnar Beutner [Wed, 18 Sep 2013 05:32:40 +0000 (07:32 +0200)]
Fix memory leak in NetString::ReadStringFromStream.

11 years agoAdd missing DowntimesExpireTimer.
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

11 years agoCompatLog: Fix downtimes.
Michael Friedrich [Tue, 17 Sep 2013 17:40:23 +0000 (19:40 +0200)]
CompatLog: Fix downtimes.

fixes #4652

11 years agoAdd RemoveDowntime() cancelled parameter, check for expired/triggered downtimes.
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

11 years agoRemove obsolete comment.
Michael Friedrich [Tue, 17 Sep 2013 14:55:29 +0000 (16:55 +0200)]
Remove obsolete comment.

11 years agoido: Fix missing TriggerDowntime() queries.
Michael Friedrich [Tue, 17 Sep 2013 14:51:55 +0000 (16:51 +0200)]
ido: Fix missing TriggerDowntime() queries.

fixes #4651

11 years agocluster: Fix default privileges.
Gunnar Beutner [Tue, 17 Sep 2013 13:56:54 +0000 (15:56 +0200)]
cluster: Fix default privileges.

11 years agoido: Fix downtimes/comments removal.
Michael Friedrich [Tue, 17 Sep 2013 13:30:21 +0000 (15:30 +0200)]
ido: Fix downtimes/comments removal.

fixes #4651

11 years agocluster: Log ignored messages.
Gunnar Beutner [Tue, 17 Sep 2013 12:58:52 +0000 (14:58 +0200)]
cluster: Log ignored messages.

11 years agoUpdate log level for a debug message.
Gunnar Beutner [Tue, 17 Sep 2013 12:39:43 +0000 (14:39 +0200)]
Update log level for a debug message.

11 years agoRemove debug code
Gunnar Beutner [Tue, 17 Sep 2013 12:38:27 +0000 (14:38 +0200)]
Remove debug code

11 years agocluster: Fix deadlock.
Gunnar Beutner [Tue, 17 Sep 2013 12:32:37 +0000 (14:32 +0200)]
cluster: Fix deadlock.

11 years agoEnable cluster debugging.
Gunnar Beutner [Tue, 17 Sep 2013 12:21:45 +0000 (14:21 +0200)]
Enable cluster debugging.

11 years agocluster: Implement domain ACL checks.
Gunnar Beutner [Tue, 17 Sep 2013 11:24:08 +0000 (13:24 +0200)]
cluster: Implement domain ACL checks.

11 years agocluster: Implement domain support.
Gunnar Beutner [Tue, 17 Sep 2013 11:18:26 +0000 (13:18 +0200)]
cluster: Implement domain support.

11 years agoConfig Conversion: Detect hosts w/o services and properly add hostcheck.
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.

11 years agoConfig Conversion: Add proper check_command detection in templates.
Michael Friedrich [Mon, 16 Sep 2013 12:05:41 +0000 (14:05 +0200)]
Config Conversion: Add proper check_command detection in templates.

11 years agocluster: Remove old logs before reconnecting.
Gunnar Beutner [Mon, 16 Sep 2013 12:01:24 +0000 (14:01 +0200)]
cluster: Remove old logs before reconnecting.