Commit Graph

790 Commits

Author SHA1 Message Date
Michael Friedrich bc3411fe8d GraphiteWriter: Refactor perfdata parsing. 2013-10-18 16:27:57 +02:00
Gunnar Beutner 0c2bd2cb09 Refactor check scheduler some more. 2013-10-18 14:10:31 +02:00
Gunnar Beutner b517943012 Refactor check scheduler. 2013-10-18 13:46:22 +02:00
Gunnar Beutner dc566bf145 Revert Endpoint::SetClient() change. 2013-10-18 12:02:35 +02:00
Gunnar Beutner 4ef5682354 Set thread name for Endpoint threads. 2013-10-18 10:41:09 +02:00
Gunnar Beutner 89d313008d Fix: GraphiteWriter: reconnect on broken socket.
Fixes #4883
2013-10-18 09:11:21 +02:00
Gunnar Beutner 20e7536b0d Change log severity for a debug message. 2013-10-17 16:03:44 +02:00
Gunnar Beutner 9c817f2a49 Remove debug message. 2013-10-17 14:41:45 +02:00
Gunnar Beutner fa845775a2 Fix crashes when restarting Icinga. 2013-10-17 10:56:42 +02:00
Gunnar Beutner e3bf2960fa cluster: Add debug message. 2013-10-17 09:28:49 +02:00
Gunnar Beutner 204f04f295 Fix Service::GetEnablePerfdata(). 2013-10-16 18:36:14 +02:00
Michael Friedrich 8686305848 Fix enable_perfdata. 2013-10-16 17:18:21 +02:00
Gunnar Beutner ac9981fbcd Implement event_handler_enabled modified attribute. 2013-10-16 15:20:14 +02:00
Gunnar Beutner aed9b578f1 livestatus: Implement support for modified_attributes. 2013-10-16 14:30:13 +02:00
Gunnar Beutner 177e1a9000 Implement modified attributes for enable_active_checks and enable_passive_checks. 2013-10-16 11:46:54 +02:00
Gunnar Beutner 33cc106a14 Implement GetEnablePerfdata/GetEnableEventHandlers. 2013-10-16 10:47:02 +02:00
Gunnar Beutner 4d44d541f3 Re-implement ClusterListener::key_path. 2013-10-15 21:28:58 +02:00
Gunnar Beutner e7f1e3b2ef Add missing #include. 2013-10-15 20:37:58 +02:00
Gunnar Beutner f8c057d63a Windows build fix. 2013-10-15 20:29:09 +02:00
Michael Friedrich efbbeeaa3f GraphiteWriter: Bugfixes.
refs #4883
refs #3986
2013-10-15 20:10:03 +02:00
Michael Friedrich 4135578903 Add GraphiteWriter.
fixes #3986
2013-10-15 14:56:02 +02:00
Gunnar Beutner 1bce8cec97 Fix: ZlibStream doesn't work even if libssl supports zlib.
Fixes #4848
2013-10-15 12:59:49 +02:00
Gunnar Beutner def9b309a5 Add missing quotes. 2013-10-14 14:11:27 +02:00
Gunnar Beutner 8894a77a19 ido: Escape application version. 2013-10-14 09:46:44 +02:00
Michael Friedrich 4cdec1d8ca spec: Add schema to -ido-mysql doc.
fixes #4854
2013-10-11 15:05:20 +02:00
Gunnar Beutner b204061d9f Fix crash in ClusterListener::ReplayLog(). 2013-10-11 08:20:15 +02:00
Gunnar Beutner 8409b55018 More Win64 build fixes. 2013-10-10 23:46:45 +02:00
Gunnar Beutner db90a785db Win64 build fix. 2013-10-10 23:30:05 +02:00
Gunnar Beutner 1b0977a512 Windows build fix. 2013-10-10 23:07:33 +02:00
Gunnar Beutner fe5c925a63 Windows build fix. 2013-10-09 15:03:24 +02:00
Michael Friedrich 46bcaf336c Build fix. 2013-10-09 12:35:11 +02:00
Michael Friedrich 40f827df58 ido_mysql, livestatus: Use Application::GetVersion(). 2013-10-09 11:24:37 +02:00
Gunnar Beutner 3f922e5eac Implement Application::GetVersion().
Fixes #4801
2013-10-09 08:46:31 +02:00
Gunnar Beutner d36e2ebd1a Build fix for CentOS 5.9.
Fixes #4819
2013-10-08 15:43:36 +02:00
Gunnar Beutner 369d88b3c4 Implement global attributes. 2013-10-08 11:57:35 +02:00
Michael Friedrich a24c233ecb Restore missing accessor.
refs #4756
2013-10-03 19:52:56 +02:00
Michael Friedrich f55d48cfb3 Fix compiler warnings (wip)
refs #4756
2013-10-03 18:58:48 +02:00
Michael Friedrich 7031421162 compat: Add {host,service}_groups attributes. 2013-10-03 17:59:17 +02:00
Michael Friedrich ae12f9923d compat: Add more service config attributes. 2013-10-03 17:30:58 +02:00
Michael Friedrich 157d06bc34 livestatus: Fix OneAccessor. 2013-10-03 03:48:12 +02:00
Michael Friedrich 732f07a83f db_ido: Add object_id for logentries.
see https://dev.icinga.org/issues/4754 for the extension.
2013-10-03 03:41:47 +02:00
Michael Friedrich bfa8cf789b compat: Add more host attributes, refactor contacts getter. 2013-10-02 21:09:13 +02:00
Michael Friedrich 09cc7632e7 compatutility: Use User(Group) Ptr, not name.
refs #4735
2013-10-01 16:44:33 +02:00
Michael Friedrich b2f13c37e4 compatutility: Add contact(group) getters.
refs #4735
2013-10-01 15:39:00 +02:00
Michael Friedrich e63b752457 IdoMysqlConnection: Add conninfo entry, set session to utc.
fíxes #4783
fíxes #4790
2013-10-01 14:01:59 +02:00
Michael Friedrich 7a6139a219 db_ido: Fix debug log level. 2013-10-01 13:36:36 +02:00
Michael Friedrich 5d15e3b644 IdoMysqlConnection: Store last notifications insert id.
refs #4768
2013-10-01 12:45:09 +02:00
Michael Friedrich 7dae41ee98 CompatLogger: Add external commands.
refs #4362
2013-09-30 20:34:55 +02:00
Gunnar Beutner f90d88aad5 Implement validator for LivestatusListener::socket_type.
Fixes #4751
2013-09-30 10:07:49 +02:00
Gunnar Beutner 2a051cdea4 Rename directory for Icinga socket files. 2013-09-30 09:42:27 +02:00
Michael Friedrich a326ddbb9f Revamp livestatus startup logging a bit. 2013-09-28 12:54:26 +02:00
Gunnar Beutner cd4d3e6e8e Replace umask() with chmod() because it's not thread-safe. 2013-09-28 08:10:32 +02:00
Michael Friedrich 87fa063528 LivestatusListener: Set unix socket permissions to 0660.
refs #4444
2013-09-27 19:39:46 +02:00
Michael Friedrich e8a019d297 ExternalCommandListener: Reset umask to preserve group write permissions.
refs #4444
2013-09-27 19:39:23 +02:00
Michael Friedrich e8bd81bddc db_ido: Add idoutils 1.x schema, check required 1.10.0 version.
fixes #4766
2013-09-27 15:56:22 +02:00
Michael Friedrich e07183d481 Add check authority to service.
fixes #4762
2013-09-26 21:53:43 +02:00
Michael Friedrich f1c0ce3b23 db_ido: Add cleanup for history tables.
refs #4567
2013-09-26 17:23:53 +02:00
Gunnar Beutner 16b46e6069 Endpoint::host and Endpoint::service should be required attributes.
Fixes #4752
2013-09-26 10:45:40 +02:00
Gunnar Beutner f12ef09f00 Fix log message. 2013-09-26 10:35:42 +02:00
Gunnar Beutner ee14e6dda7 cluster: Add log message to config handler. 2013-09-26 09:39:09 +02:00
Michael Friedrich 2d49e3f8e1 compat log: Fix output on notifications. 2013-09-25 19:46:32 +02:00
Michael Friedrich d594d0d67e Fix wrong types. 2013-09-25 13:44:53 +02:00
Michael Friedrich ce7bc00ce5 Fix .gitignore. 2013-09-25 13:09:50 +02:00
Gunnar Beutner 463cc53dca Rename CompatLog class. 2013-09-25 10:55:50 +02:00
Gunnar Beutner 7f97895965 Build fix. 2013-09-25 10:43:07 +02:00
Icinga 9783e23719 Rename IDO libraries. 2013-09-25 10:32:06 +02:00
Gunnar Beutner b3ff87b9dd Refactor the demo library. 2013-09-25 09:39:31 +02:00
Gunnar Beutner c3746e7c73 Refactor the cluster library. 2013-09-25 09:36:55 +02:00
Gunnar Beutner 21999fe51e Refactor the livestatus library. 2013-09-25 09:33:59 +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 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 d4295cb3a4 notifications: Add OnNotificationSentToAllUsers signal. 2013-09-24 18:49:25 +02:00
Gunnar Beutner a7e25beb06 Improve config validation.
Fixes #4391
2013-09-24 13:13:14 +02:00
Gunnar Beutner d88d2a258a Fix status.dat indentation. 2013-09-24 09:59:04 +02:00
Gunnar Beutner 3c3101336a Comment out some of the less useful debug messages. 2013-09-21 09:00:40 +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 a122baf9ba cluster: Make debug messages more useful. 2013-09-19 14:26:57 +02:00
Gunnar Beutner f176d8f28b Fix uninitialized variable. 2013-09-18 10:43:23 +02:00
Gunnar Beutner c12b4b2e0b Remove unused variables. 2013-09-18 10:08:28 +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
Michael Friedrich 9a21af719d CompatLog: Fix downtimes.
fixes #4652
2013-09-17 19:40:23 +02:00
Michael Friedrich bcc370b82c Add RemoveDowntime() cancelled parameter, check for expired/triggered downtimes.
refs #4652
refs #4710
2013-09-17 19:37:10 +02:00
Gunnar Beutner 64cc137709 cluster: Fix default privileges. 2013-09-17 15:57:11 +02:00
Gunnar Beutner 48ec2dfd08 cluster: Log ignored messages. 2013-09-17 14:58:52 +02:00
Gunnar Beutner 74579fba59 Update log level for a debug message. 2013-09-17 14:39:43 +02:00
Gunnar Beutner 2c17affa4a Remove debug code 2013-09-17 14:38:27 +02:00
Gunnar Beutner 20ac2825e9 cluster: Fix deadlock. 2013-09-17 14:32:37 +02:00
Gunnar Beutner fa52d0ab58 Enable cluster debugging. 2013-09-17 14:21:45 +02:00
Gunnar Beutner 3ed7219fb2 cluster: Implement domain ACL checks. 2013-09-17 13:24:08 +02:00
Gunnar Beutner 31a55987e5 cluster: Implement domain support. 2013-09-17 13:18:40 +02:00
Gunnar Beutner 2739d5e0cd cluster: Remove old logs before reconnecting. 2013-09-16 14:01:24 +02:00
Gunnar Beutner 0188c426fe Change log level for a debug message. 2013-09-16 12:27:25 +02:00
Gunnar Beutner e391fc0858 Fix: Cluster log files were not properly removed when an instance has no peers. 2013-09-16 11:08:13 +02:00
Gunnar Beutner 5495b0279e Add debug message. 2013-09-16 11:06:21 +02:00
Gunnar Beutner e383a3cc3e cluster: Re-open logfile after log replay. 2013-09-16 10:06:09 +02:00