Gunnar Beutner
39dcf20a89
Implement support for stack traces for STL exceptions.
...
Fixes #5114
2013-11-20 21:55:14 +01:00
Michael Friedrich
d1419a3067
Fix CompatUtility::{ConvertTimestamp,GetCheckResultOutput} should return std::pair.
...
Fixes #5045
2013-11-11 15:06:23 +01:00
Gunnar Beutner
4f1cb83f31
Fix Convert::ToString.
...
Fixes #5054
2013-11-11 13:04:18 +01:00
Gunnar Beutner
e2292ce5f7
Refactor the Service::Is{Comment,Downtime}* methods.
...
Refs #5039
2013-11-09 22:20:49 +01:00
Gunnar Beutner
ec1a7bbfcb
Implement class for service downtimes.
...
Refs #5039
2013-11-09 22:08:26 +01:00
Gunnar Beutner
cb526ddccc
Implement class for service comments.
...
Refs #5039
2013-11-09 21:19:52 +01:00
Gunnar Beutner
112f26dc19
Replace check result dictionaries with a class.
...
Refs #5039
2013-11-09 15:26:01 +01:00
Gunnar Beutner
e546cd854d
Clean up the DynamicType class.
...
Refs #5036
2013-11-08 16:07:21 +01:00
Gunnar Beutner
a84536bea3
Implement serializer support for arbitrary classes.
...
Fixes #5024
2013-11-08 14:08:59 +01:00
Gunnar Beutner
6acc017707
Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
...
Fixes #5012
2013-11-07 08:28:33 +01:00
Michael Friedrich
20a2fd2388
Add event commands to CompatLogger.
...
Fixes #4362
2013-11-05 18:33:57 +01:00
Gunnar Beutner
b1ddc71925
Merge ReflectionObject methods into the Object class.
...
Refs #4996
2013-11-05 08:56:30 +01:00
Gunnar Beutner
871f6febc7
Move methods to a separate library.
...
Refs #4959
2013-11-04 15:29:18 +01:00
Gunnar Beutner
f2307c4242
Add cmake build files.
...
Refs #4962
2013-11-03 13:45:26 +01:00
Gunnar Beutner
2c143fbdf8
Remove unused files.
...
Refs #4962
2013-11-03 11:12:47 +01:00
Michael Friedrich
d21d79a36c
CompatUtility: Use functionality in compat/ido/livestatus.
...
refs #4735
2013-10-31 16:08:55 +01:00
Michael Friedrich
75b69411b9
Livestatus: Add log table.
...
refs #4433
2013-10-31 13:39:16 +01:00
Gunnar Beutner
dc21088680
Fix make dist.
...
Refs #4976
2013-10-30 12:18:08 +01:00
Gunnar Beutner
9f1c4539dc
Remove libltdl dependency.
...
Refs #4964
2013-10-30 12:00:55 +01:00
Gunnar Beutner
db4b3b78d6
Implement class compiler.
...
Refs #4963
2013-10-28 14:27:36 +01:00
Gunnar Beutner
ac9981fbcd
Implement event_handler_enabled modified attribute.
2013-10-16 15:20:14 +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
fe5c925a63
Windows build fix.
2013-10-09 15:03:24 +02:00
Gunnar Beutner
3f922e5eac
Implement Application::GetVersion().
...
Fixes #4801
2013-10-09 08:46:31 +02:00
Gunnar Beutner
369d88b3c4
Implement global attributes.
2013-10-08 11:57:35 +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
bfa8cf789b
compat: Add more host attributes, refactor contacts getter.
2013-10-02 21:09:13 +02:00
Michael Friedrich
7dae41ee98
CompatLogger: Add external commands.
...
refs #4362
2013-09-30 20:34:55 +02:00
Gunnar Beutner
2a051cdea4
Rename directory for Icinga socket files.
2013-09-30 09:42:27 +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
e8a019d297
ExternalCommandListener: Reset umask to preserve group write permissions.
...
refs #4444
2013-09-27 19:39:23 +02:00
Michael Friedrich
e07183d481
Add check authority to service.
...
fixes #4762
2013-09-26 21:53:43 +02:00
Michael Friedrich
2d49e3f8e1
compat log: Fix output on notifications.
2013-09-25 19:46:32 +02:00
Gunnar Beutner
463cc53dca
Rename CompatLog class.
2013-09-25 10:55:50 +02:00
Gunnar Beutner
e766b4534f
config: Rename Host::hostcheck to Host::check.
2013-09-25 09:12:15 +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
c12b4b2e0b
Remove unused variables.
2013-09-18 10:08:28 +02:00
Michael Friedrich
9a21af719d
CompatLog: Fix downtimes.
...
fixes #4652
2013-09-17 19:40:23 +02:00
Gunnar Beutner
a695d8cdd6
cluster: Fix some bugs.
2013-09-09 10:06:49 +02:00
Gunnar Beutner
86e2f3dd81
Windows build fix.
2013-09-01 06:01:27 +02:00
Gunnar Beutner
7f52e04a01
Implement OS-specific support for thread names.
2013-08-30 10:19:32 +02:00
Gunnar Beutner
8729a809b3
compat: Fix attribute name for hosts.
2013-08-29 19:48:54 +02:00
Gunnar Beutner
e93808a468
Fix "make dist".
...
Fixes #4489
2013-08-29 08:38:09 +02:00
Gunnar Beutner
2e2012c913
Clean up Makefiles.
2013-08-29 08:21:07 +02:00
Gunnar Beutner
788104980c
Implement cluster events for downtimes.
2013-08-28 16:08:22 +02:00
Gunnar Beutner
f49bb3d150
Refactor JSON-RPC library and implement check-result messages.
2013-08-27 12:21:41 +02:00
Gunnar Beutner
e9e55cd8c0
Remove the replication feature and clean up the code.
2013-08-26 14:56:38 +02:00
Michael Friedrich
074f7cd389
Compat: fix servicedependency (parent service description)
2013-08-05 17:01:40 +02:00
Gunnar Beutner
73beb278cf
compat: Fix timestamps.
2013-07-25 09:45:40 +02:00
Gunnar Beutner
42cf9ea8d6
Move some of the compat functionality to the CompatUtility class.
2013-07-23 09:12:38 +02:00
Michael Friedrich
f42f4fbdb2
compat: add last_time_* for status.dat
2013-07-18 18:28:43 +02:00
Michael Friedrich
b4dd18481b
compat: add current_notification_number
2013-07-18 17:23:48 +02:00
Michael Friedrich
917f7d363b
compat: add next_notification to status.dat
2013-07-16 16:51:02 +02:00
Gunnar Beutner
ed28ae1b3f
compat: Make sure host is not null.
2013-07-16 10:18:03 +02:00
Michael Friedrich
36e9e9adbd
custom attr: move into DynamicObject using GetCustom()
2013-07-12 15:13:05 +02:00
Gunnar Beutner
4961523e91
Add DECLARE_PTR_TYPEDEFS macro for Ptr/WeakPtr typedefs.
2013-07-09 08:43:52 +02:00
Gunnar Beutner
8e880a3f39
Fix include directory for ltdl.h.
2013-07-02 16:56:01 +02:00
Michael Friedrich
43793a1884
compatlog: fix boost algorithm include
2013-07-02 13:38:06 +02:00
Gunnar Beutner
1179d37fa0
compat: Refactor check_command/event_handler code.
2013-07-02 10:24:27 +02:00
Gunnar Beutner
bf58700c10
compat: Make sure commands have unique names.
2013-07-02 09:35:03 +02:00
Gunnar Beutner
049fbcb3cb
compat: Escape new-lines in commands.
2013-07-02 09:16:06 +02:00
Gunnar Beutner
eb95e9a718
Make sure the CGIs don't croak on our objects.cache file.
2013-07-02 08:52:47 +02:00
Gunnar Beutner
03e019580a
Implement dumping commands and timeperiods.
2013-07-02 08:44:03 +02:00
Michael Friedrich
207b91224b
compat: dump commands to objects.cache
...
service->notifications may create duplicates.
2013-07-01 20:12:03 +02:00
Michael Friedrich
91e36eb90d
compat: add more missing attributes
2013-07-01 19:04:08 +02:00
Michael Friedrich
9334c1e346
notifications: refactor NotificationSent message
...
like flapping and downtimes behave now.
refs #4361
2013-07-01 17:56:21 +02:00
Michael Friedrich
ce9c390ed9
flapping: fix division by 0, add compat status, extcmds
...
and some debug output.
refs #4360
refs #2711
2013-07-01 17:25:30 +02:00
Michael Friedrich
bd6e5d11ac
compatlog: use flapping threshold/current
...
fixes #4360
2013-07-01 14:49:04 +02:00
Michael Friedrich
4de7908b94
compatlog: add flapping messages
...
refs #4360
2013-07-01 14:44:56 +02:00
Gunnar Beutner
e2714525c9
Remove the built-in attributes notes_url and action_url.
2013-07-01 13:55:25 +02:00
Gunnar Beutner
4766e801a2
objects.cache: Add support for the "notes" attribute.
2013-07-01 13:51:00 +02:00
Gunnar Beutner
23c87f6eaf
Implement support for custom variables.
...
Fixes #4344
2013-07-01 13:46:50 +02:00
Michael Friedrich
b906b51d3b
refactor downtime message handling (wip)
2013-07-01 11:28:49 +02:00
Michael Friedrich
cd48a4946a
compatlog: fix checkcommand name
...
refs #4361
2013-07-01 10:03:00 +02:00
Michael Friedrich
3af0559b4a
Compat: log notifications (wip)
...
- we need a way to figure out which last commend id (or, author and
text) where set when type is CUSTOM or ACKNOWLEDGEMENT
- GetCheckCommandName was required too
- not sure if notifications.cpp is the correct location
refs #4361
refs #3985
refs #2750
2013-06-28 21:31:38 +02:00
Michael Friedrich
147cd81328
add downtime message (started,stopped,cancelled) and compat logger
...
refs #3985
refs #2750
2013-06-28 13:40:01 +02:00
Michael Friedrich
7c0a71bc29
Compat: split cr output into (long_)output, log only output
...
status.dat requires output, and long_output seperated for proper
representation by guis and addons (they cannot be changed for
compatibility reasons, we must change).
logging an ALERT requires only the output (first line of the check
result output).
fixes #3882
fixes #4348
2013-06-26 18:23:59 +02:00
Michael Friedrich
c9fb309200
tools: move mkembedconfig into subdir
...
preparation for moving the conversion script into tools/
refs #4337
2013-06-24 16:05:18 +02:00
Gunnar Beutner
fe35791b1b
status.dat: Escape new-lines in multi-line plugin output
...
Fixes #3671
2013-06-24 11:35:56 +02:00
Gunnar Beutner
ea0052f208
Fix: Compat Log: abort on OwnLock()
...
Fixes #4332
2013-06-24 08:56:49 +02:00
Gunnar Beutner
6f158ff793
Implement external commands for flapping detection.
2013-06-21 10:28:21 +02:00
Gunnar Beutner
70e96aa2f0
Refactor ScriptFunctions.
2013-03-25 19:47:02 +00:00
Gunnar Beutner
fd3e92ea0c
Refactor AsyncTasks.
2013-03-25 17:36:15 +00:00
Gunnar Beutner
1f570ea9f7
Implement Icinga1.x-style compat log file rotation
...
Fixes #3874
2013-03-20 11:11:46 +01:00
Gunnar Beutner
8b53735cc9
Move the notification_interval option to the Notification class.
...
Fixes #3821
2013-03-20 10:08:27 +01:00
Gunnar Beutner
80c3a70107
Implement the CheckResultReader type.
2013-03-19 16:20:46 +01:00
Gunnar Beutner
a21cf21d52
Implement the CompatLog type.
2013-03-19 13:04:30 +01:00
Gunnar Beutner
734f76af96
Windows build fix.
2013-03-18 22:40:40 +01:00
Gunnar Beutner
2a8bc3ca0f
Refactor #includes (Part 5).
2013-03-18 17:39:40 +01:00
Gunnar Beutner
c3975af6ec
Refactor #includes (Part 4).
2013-03-18 11:02:18 +01:00
Gunnar Beutner
9d076c3c03
Refactor #includes (Part 3).
2013-03-17 20:19:29 +01:00
Gunnar Beutner
0bb0711d72
Refactor #includes (Part 2).
2013-03-16 21:18:53 +01:00
Gunnar Beutner
3073200b53
Cleaned up #includes (Part 1).
2013-03-15 18:21:29 +01:00
Gunnar Beutner
27e1d311de
Fix dependencies for mkembedconfig.
2013-03-15 13:35:39 +01:00