Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich
35ce166bd2
Fix that recovery notifications are sent if notified for !Problem type before
...
fixes #13205
2016-11-17 10:35:16 +01:00
Gunnar Beutner
efbdce803f
Fix incorrect attribute name on the validator for the Notification class
...
fixes #12633
2016-09-04 17:50:44 +02:00
Gunnar Beutner
288413f046
Replace BOOST_FOREACH with range-based for loops
...
fixes #12538
2016-08-25 06:46:17 +02:00
Michael Friedrich
d909c0945c
Add an explicit flag for disabling reminder notifications
...
refs #12402
2016-08-15 18:32:51 +02:00
Gunnar Beutner
99f944ac28
Remove extraneous space in a log message
...
refs #12304
2016-08-12 16:38:05 +02:00
Michael Friedrich
e28f30a727
Enhance log messages for {,reminder} notifications
...
refs #12402
2016-08-12 14:49:29 +02:00
Michael Friedrich
f5d5eaf344
Add log message if notifications are forced (i.e. filters are not checked)
...
fixes #12404
2016-08-11 16:23:58 +02:00
Michael Friedrich
43a177fb16
Fix that notifications with empty times.{begin,end} are not sent
...
fixes #10363
2016-08-04 17:27:35 +02:00
Gunnar Beutner
905380b436
Fix duplicate notifications on HA failover
...
fixes #12267
2016-08-04 10:12:55 +02:00
Michael Friedrich
83f07c7ee2
Add the notification type into the log message
...
fixes #12304
2016-08-03 17:32:55 +02:00
Michael Friedrich
5498dc5e4f
Fix that the first notification interval is incorrect
...
fixes #12257
2016-08-02 18:41:01 +02:00
Conrad Clement
3f0b6ec003
Optimize two ObjectLocks into one in Notification::BeginExecuteNotification method
...
object is locked twice to update values of
NotificationNumber, LastNotification and LastProblemNotification.
LastNotificaiton is updated inside each ObjectLock
merge two ObjectLocks into one and remove duplicate update
fixes #12188
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-02 18:36:29 +02:00
Michael Friedrich
14fdb794e2
Allow strings in state and type filters (config, API)
...
fixes #11445
2016-06-23 14:52:45 +02:00
Gunnar Beutner
8a714d66f1
Ensure that sent notifications are synced between Icinga instances
...
fixes #11562
2016-06-15 11:27:01 +02:00
Philipp Dallig
54e1c8a9d5
Implement exclude and include ability for TimePeriod objects
...
This feature allows to exclude and include specific time period
objects and their time ranges from an existing time period object.
This comes in handy when e.g. excluding holidays.
fixes #7355
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-05-21 20:33:09 +02:00
Michael Friedrich
83e0bcddce
IDO: Ensure that the notification insert id is passed to contactnotification inserts
...
We cannot add the notification insert id directly
to the following contactnotifications queries. Instead
we need to pass a DbValue reference which gets set after
the notification insert id is calculated.
The contactnotifications insert queries are fired as query
group calling CanExecuteQuery() and FieldToEscapedString().
If the notification id does not exist yet, the queries are
moved to the end of the queue.
Once the contactnotifications queries are fired the DbValue
reference is destroyed.
This patch also removes the old notification insert id cache
which was broken in many ways.
fixes #11387
2016-03-29 15:12:24 +02:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Gunnar Beutner
e3c75faabc
Implement support for recursive object locks
...
fixes #10596
2015-11-11 10:21:30 +01:00
Gunnar Beutner
0013d26425
Build fix for Windows
...
refs #9777
2015-10-29 08:14:55 +01:00
Gunnar Beutner
050c520b2a
Convert Comment/Downtime to config objects
...
fixes #9777
2015-10-28 17:56:29 +01:00
Gunnar Beutner
f45f6ccd82
Implement support for tracking dependencies between config objects
...
refs #9096
2015-08-25 13:54:05 +02:00
Gunnar Beutner
071d2f18fb
Rename DynamicObject/DynamicType to ConfigObject/ConfigType
...
fixes #9914
2015-08-15 20:40:41 +02:00
Gunnar Beutner
e2290d5012
Implement support for unregistering objects
...
refs #9101
2015-08-15 20:07:11 +02:00
Michael Friedrich
d7970f5bb1
Implement modified attributes v2
...
refs #9081
refs #9093
2015-08-15 20:07:10 +02:00
Michael Friedrich
4f767ab06a
Change log level to 'notice' for 'Attempting to send notifications' messages
...
fixes #9021
2015-04-12 15:11:38 +02:00
Gunnar Beutner
72a7b08480
Move implementation code from thpp files into separate files
...
fixes #8890
2015-03-28 11:08:12 +01:00
Gunnar Beutner
ec7224e3ed
Generate C++ code for type validators
...
fixes #7709
fixes #8867
2015-03-27 07:59:27 +01:00
Michael Friedrich
88f16abb3c
Use Utility::NaturalJoin for notification filter formatting
...
refs #8685
2015-03-19 14:08:06 +01:00
Michael Friedrich
3c945914ff
Show notification state/type filter names in notice/debug log
...
fixes #8685
2015-03-12 17:11:24 +01:00
Gunnar Beutner
e456cfd99c
Relax the validator for Notification::users/Notification::user_groups a bit
...
fixes #8067
2015-02-08 11:03:10 +01:00
Michael Friedrich
db9c55835f
Require at least one user for notification objects (user or as member of user_groups)
...
fixes #8067
2015-02-07 23:04:01 +01:00
Michael Friedrich
78bfd0204c
Update copyright year
2015-01-22 12:00:23 +01:00
Gunnar Beutner
363f23b1d8
Rename ScriptFunction to Function
...
fixes #8258
2015-01-21 08:48:38 +01:00
Michael Friedrich
6ae9685cee
Fix sending notifications for volatile checks on OK->OK changes
...
volatile checks make state changes behave like HARD state changes.
Though OK -> OK transitions must not be notified.
Increased log information for notifications too.
fixes #8063
2015-01-08 16:20:44 +01:00
Gunnar Beutner
06052c0539
Fix validation for service names in Notification, Dependency and ScheduledDowntime objects
...
fixes #8122
2014-12-19 11:44:31 +01:00
Gunnar Beutner
9f18211ada
Remove obsolete code
...
refs #7709
2014-12-18 15:57:30 +01:00
Gunnar Beutner
873e294158
Refactor the WorkQueue class to make error reporting easier
...
refs #7709
2014-12-18 15:11:57 +01:00
Gunnar Beutner
1cb0231c05
Refactor how variable scopes work
...
refs #8074
2014-12-14 11:33:45 +01:00
Gunnar Beutner
307db672c1
Fix initialization bug for the Notification class
...
refs #7780
2014-11-22 16:43:39 +01:00
Gunnar Beutner
2d53e000c8
Refactor the config validator so that it doesn't require serialized objects
...
refs #7701
2014-11-20 13:28:21 +01:00
Michael Friedrich
f73d69691b
Make sure that notified users are stored in state file
...
refs #7579
2014-11-14 18:11:58 +01:00
Gunnar Beutner
7321e45abc
Implement support for executing remote commands
...
fixes #7559
2014-11-13 14:54:55 +01:00
Michael Friedrich
885e7704a2
Only notify users on recovery who have been notified on not-OK before
...
Also ensure that type NotificationRecovery always
passes the state filter (missing `OK` is totally fine).
Also fix that notification delays set the correct
next notification time to the begin time window.
fixes #7579
fixes #7623
fixes #6547
2014-11-09 19:47:24 +01:00
Gunnar Beutner
478f03b49a
Replace boost::shared_ptr with boost::intrusive_ptr
...
refs #7622
2014-11-09 16:54:41 +01:00
Gunnar Beutner
e1c95d4fa0
Improve config compiler's memory usage
2014-11-08 13:21:51 +01:00
Gunnar Beutner
2d5e9514a5
Refactor logging code
2014-10-19 17:52:17 +02:00
Gunnar Beutner
b18f57a745
Remove logger_fwd.hpp
2014-10-19 14:50:39 +02:00
Gunnar Beutner
eaea65a366
Make props argument for NameComposer::MakeName constant
2014-08-29 16:46:46 +02:00
Gunnar Beutner
a5936d8eab
Don't send notifications for users who have enable_notifications = false
...
fixes #6671
2014-07-09 08:56:16 +02:00