]> granicus.if.org Git - icinga2/log
icinga2
10 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.

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

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

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

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

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

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

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

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

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

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

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

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

10 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

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

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

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

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

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

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

10 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.

10 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.

10 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.

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

10 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.

10 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.

10 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.

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

10 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.

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

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

10 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.

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

refs #4379

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

10 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.

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

refs #4379
fixes #4710

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

refs #4379

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

refs #4379

10 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.

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

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

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

Fixes #4391

10 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

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

10 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.

10 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.

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

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

10 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.

10 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.

10 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.

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

10 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.

10 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.

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

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

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

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

fixes #4715

10 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

10 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

10 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.

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

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

10 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.

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

10 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.

10 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.

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

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

10 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.

10 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.

10 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

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

fixes #4652

10 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

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

10 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

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

10 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

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

10 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.

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

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

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

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

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

10 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.

10 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.

10 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.

10 years agoChange log level for a debug message.
Gunnar Beutner [Mon, 16 Sep 2013 10:27:25 +0000 (12:27 +0200)]
Change log level for a debug message.

10 years agoFix: Cluster log files were not properly removed when an instance has no peers.
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.

10 years agoAdd debug message.
Gunnar Beutner [Mon, 16 Sep 2013 09:06:21 +0000 (11:06 +0200)]
Add debug message.

10 years agocluster: Re-open logfile after log replay.
Gunnar Beutner [Mon, 16 Sep 2013 08:06:09 +0000 (10:06 +0200)]
cluster: Re-open logfile after log replay.

10 years agocluster: Yet another fix.
Gunnar Beutner [Mon, 16 Sep 2013 08:00:06 +0000 (10:00 +0200)]
cluster: Yet another fix.

10 years agocluster: Another log replay fix.
Gunnar Beutner [Mon, 16 Sep 2013 07:57:30 +0000 (09:57 +0200)]
cluster: Another log replay fix.

10 years agocluster: Don't replay log messages twice.
Gunnar Beutner [Mon, 16 Sep 2013 07:49:28 +0000 (09:49 +0200)]
cluster: Don't replay log messages twice.

10 years agocluster: Make log replays non-blocking.
Gunnar Beutner [Mon, 16 Sep 2013 07:30:31 +0000 (09:30 +0200)]
cluster: Make log replays non-blocking.

10 years agoFix logging performance problem.
Gunnar Beutner [Mon, 16 Sep 2013 06:59:28 +0000 (08:59 +0200)]
Fix logging performance problem.

10 years agoSet group before user.
Gunnar Beutner [Sun, 15 Sep 2013 08:32:55 +0000 (10:32 +0200)]
Set group before user.

10 years agoImplement setgid/setuid support.
Gunnar Beutner [Sun, 15 Sep 2013 08:28:54 +0000 (10:28 +0200)]
Implement setgid/setuid support.

Fixes #3841

11 years agoconfig: Fix arguments for hostchecks.
Gunnar Beutner [Fri, 13 Sep 2013 11:48:41 +0000 (13:48 +0200)]
config: Fix arguments for hostchecks.