]>
granicus.if.org Git - icinga2/log
Gunnar Beutner [Tue, 12 Jul 2016 09:44:36 +0000 (11:44 +0200)]
Fix deadlock in DbObject::SendVars{Config,Status}Update
fixes #12127
fixes #12085
Michael Friedrich [Thu, 7 Jul 2016 16:48:09 +0000 (18:48 +0200)]
DB IDO: Change alias column to varchar(255) in MySQL
fixes #10061
Michael Friedrich [Thu, 7 Jul 2016 13:44:31 +0000 (15:44 +0200)]
DB IDO: Log a deprecation warning for categories
refs #12024
Michael Friedrich [Thu, 7 Jul 2016 10:27:56 +0000 (12:27 +0200)]
Require DB IDO v1.14.1 for 2.5.0
fixes #11967
Michael Friedrich [Wed, 6 Jul 2016 15:11:21 +0000 (17:11 +0200)]
Windows: Remove requirement for KB2999226 (VS2015)
refs #11739
Michael Friedrich [Wed, 6 Jul 2016 10:15:25 +0000 (12:15 +0200)]
Add missing index on statehistory table for DB IDO cleanup
fixes #12107
Michael Friedrich [Wed, 6 Jul 2016 09:52:20 +0000 (11:52 +0200)]
DB IDO: Do not populate logentries table by default
Not required by Icinga Web 2 and therefore obsolete as default.
fixes #12106
Michael Friedrich [Tue, 5 Jul 2016 13:43:48 +0000 (15:43 +0200)]
ConfigCompiler should not log included files by default
fixes #11419
Michael Friedrich [Tue, 5 Jul 2016 13:40:49 +0000 (15:40 +0200)]
Fix: include_recursive should gracefully handle inaccessible files
fixes #12098
Michael Friedrich [Tue, 5 Jul 2016 13:25:02 +0000 (15:25 +0200)]
Ensure to clear the SSL error queue before calling SSL_{read,write,do_handshake}
fixes #12100
Gunnar Beutner [Tue, 5 Jul 2016 11:49:49 +0000 (13:49 +0200)]
Build fix for Visual Studio 2013
fixes #12099
Michael Friedrich [Tue, 5 Jul 2016 11:22:14 +0000 (13:22 +0200)]
Docs: Add a note on API POST requests not triggering apply/group assign rules
fixes #12077
Michael Friedrich [Tue, 5 Jul 2016 11:17:18 +0000 (13:17 +0200)]
Fix Downtime validation function signature
refs #11483
Michael Friedrich [Tue, 5 Jul 2016 11:16:14 +0000 (13:16 +0200)]
Fix setsockopt() error on Windows
refs #12003
Michael Friedrich [Tue, 28 Jun 2016 15:48:08 +0000 (17:48 +0200)]
Docs: Fix 'Setting up plugins' section
Seems the markdown parser is pretty much
not liking those notes. Removed it on the snapshot
tree, works again.
fixes #12067
Simon Murray [Mon, 27 Jun 2016 09:38:07 +0000 (10:38 +0100)]
Fix InfluxDB Writer Key Escaping
The escaping wasn't being performed on measuerments, keys or tag values. The
escape function was returning the input and not the modified ouput, so this
has been fixed
refs #12047
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Jan Wagner [Mon, 27 Jun 2016 08:05:20 +0000 (10:05 +0200)]
Fix typo in Manubulon CheckCommand documentation
fixes #12046
Gunnar Beutner [Mon, 27 Jun 2016 06:28:22 +0000 (08:28 +0200)]
Build fix for OpenSSL 1.1.0
fixes #12044
Michael Friedrich [Sat, 25 Jun 2016 15:32:12 +0000 (17:32 +0200)]
API: Add missing downtime_depth attribute
fixes #12041
Michael Friedrich [Fri, 24 Jun 2016 12:17:24 +0000 (14:17 +0200)]
Allow strings in Dependency states filter
refs #11445
Michael Friedrich [Fri, 24 Jun 2016 09:27:49 +0000 (11:27 +0200)]
Docs: Add a note about cluster-zone log lag thresholds.
refs #11772
Michael Friedrich [Fri, 24 Jun 2016 08:17:45 +0000 (10:17 +0200)]
Add lag thresholds to cluster-zone check
fixes #11772
Michael Friedrich [Wed, 22 Jun 2016 14:11:15 +0000 (16:11 +0200)]
Change DB IDO 'categories' attribute to Array notation
Example:
categories = [ "DbCatProgramStatus", "DbCatState" ]
The old method with constants and OR is still supported but deprecated.
refs #11445
fixes #12024
Michael Friedrich [Tue, 21 Jun 2016 12:46:01 +0000 (14:46 +0200)]
Allow strings in state and type filters (config, API)
fixes #11445
Michael Friedrich [Thu, 23 Jun 2016 11:27:00 +0000 (13:27 +0200)]
Fix: Migration docs still show unsupported CHANGE_*MODATTR external commands
fixes #12029
Michael Friedrich [Thu, 23 Jun 2016 11:04:23 +0000 (13:04 +0200)]
Add acknowledgement type to Graphite, InfluxDB, OpenTSDB metadata
fixes #12018
Michael Friedrich [Thu, 23 Jun 2016 08:29:11 +0000 (10:29 +0200)]
Docs: Fix URL formatting in Icinga 2 client chapter
refs #12027
Gunnar Beutner [Wed, 22 Jun 2016 15:01:36 +0000 (17:01 +0200)]
Fix crash when using include_recursive in an object definition
fixes #12022
Gunnar Beutner [Wed, 22 Jun 2016 12:12:51 +0000 (14:12 +0200)]
Fix spelling mistake in the ITL
refs #12006
Michael Friedrich [Wed, 22 Jun 2016 10:55:56 +0000 (12:55 +0200)]
DB IDO: Add missing indexes for icinga_endpoints* and icinga_zones* tables
fixes #10066
Gunnar Beutner [Wed, 22 Jun 2016 10:34:11 +0000 (12:34 +0200)]
Fix: ConfigWriter::EmitScope incorrectly quotes dictionary keys
fixes #12016
Michael Friedrich [Wed, 22 Jun 2016 10:13:49 +0000 (12:13 +0200)]
DB IDO: Fix overflow in current_notification_number column (MySQL)
fixes #11962
Michael Friedrich [Wed, 22 Jun 2016 07:55:51 +0000 (09:55 +0200)]
Docs: Add a note about creating Zone/Endpoint objects with the API
fixes #12008
Simon Murray [Tue, 21 Jun 2016 14:46:53 +0000 (15:46 +0100)]
Fix hanging API connections
There was a problem identified where an upstream API connection was found hanging waiting
for a TLS handshake to complete. Seeingly the TCP connection was ESTABLISHED locally but
not cleanly terminated remotely. The Socket events layer never triggered the TLS handshake
oddly. This however enables TCP keep alive packets to detect broken connections, raising
EPOLLERR and breaking the deadlock condition so that the agent will attempt to reconnect
at a later time.
fixes #12003
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Lennart Betz [Tue, 21 Jun 2016 19:54:41 +0000 (21:54 +0200)]
Add check commands kdc and rbl
fixes #12006
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Gunnar Beutner [Tue, 21 Jun 2016 09:29:12 +0000 (11:29 +0200)]
Make sure timestamps are formatted as integers in macro strings
refs #11483
Gunnar Beutner [Tue, 21 Jun 2016 06:23:31 +0000 (08:23 +0200)]
Fix compatibility issue with the $icinga.timet$ macro
fixes #11483
Lennart Betz [Mon, 20 Jun 2016 15:35:43 +0000 (17:35 +0200)]
ITL: Fix check commands nscp-local-disk and nscp-local-counter
fixes #9264
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Mon, 20 Jun 2016 15:38:01 +0000 (17:38 +0200)]
DB IDO: Ensure that delete queries for comments/downtimes are matching the index
fixes #11993
Michael Friedrich [Mon, 20 Jun 2016 14:23:57 +0000 (16:23 +0200)]
DB IDO: Add missing object_id index for icinga_{scheduleddowntime,comments} tables
fixes #10070
refs #11947
Michael Friedrich [Mon, 20 Jun 2016 14:16:33 +0000 (16:16 +0200)]
DB IDO: Fix missing schema version update in {mysql,pgsql}.sql
refs #10069
refs #11967
Michael Friedrich [Mon, 20 Jun 2016 13:36:20 +0000 (15:36 +0200)]
Docs: Fix wrong URL for API examples
fixes #11991
Lennart Betz [Fri, 17 Jun 2016 11:51:09 +0000 (13:51 +0200)]
Add check command for plugin check_apache_status
fixes #11970
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Lennart Betz [Mon, 21 Sep 2015 08:30:45 +0000 (10:30 +0200)]
ITL: Add more parameters for nscp-local check commands
nscp-local-cpu, -memory, -disk, -service and -counter
fixes #9264
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Fri, 17 Jun 2016 12:16:17 +0000 (14:16 +0200)]
Update documentation for vim/nano syntax highlighting
fixes #8401
Markus Frosch [Thu, 4 Feb 2016 12:13:23 +0000 (13:13 +0100)]
Update vim and nano syntax docs for Debian/Ubuntu
refs #8401
Dirk Goetz [Tue, 28 Apr 2015 17:14:05 +0000 (19:14 +0200)]
RPM: Add packages for syntax highlighting
refs #8401
Michael Friedrich [Fri, 17 Jun 2016 10:43:05 +0000 (12:43 +0200)]
DB IDO: Enhance ido check with schema info
fixes #11968
Michael Friedrich [Fri, 17 Jun 2016 09:23:30 +0000 (11:23 +0200)]
DB IDO: Update schema version to 1.14.1
The least supported version is still 1.14.0
with the current changes.
refs #10069
refs #11967
Lee Clemens [Tue, 2 Feb 2016 00:26:55 +0000 (19:26 -0500)]
DB IDO: Make check_source a varchar(255) column
fixes #10069
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Thu, 16 Jun 2016 15:39:59 +0000 (17:39 +0200)]
Remove duplicate last_check runtime macro
Already available as {host,service}.last_check attribute.
refs #11483
Gunnar Beutner [Thu, 16 Jun 2016 13:32:29 +0000 (15:32 +0200)]
Fix unit tests for Convert::ToString
refs #11483
Gunnar Beutner [Thu, 16 Jun 2016 13:14:35 +0000 (15:14 +0200)]
Fix incorrect formatting for some macro values
fixes #11483
Gunnar Beutner [Thu, 16 Jun 2016 12:21:29 +0000 (14:21 +0200)]
Add missing OnConfigLoaded calls in Ido{My,Pg}sqlConnection
fixes #11951
Gunnar Beutner [Thu, 16 Jun 2016 06:38:01 +0000 (08:38 +0200)]
Implement support for getting a list of global variables from the API
fixes #11955
Gunnar Beutner [Thu, 16 Jun 2016 06:28:57 +0000 (08:28 +0200)]
Improve filter support for /v1/templates
refs #11941
Jan Wagner [Sun, 12 Jun 2016 11:45:56 +0000 (13:45 +0200)]
ITL: Add option for ifName to Manubulon CheckCommand 'snmp_interface'
Recent Net-SNMP's snmpd daemon has changed behavior returning detailed
information about the network interfaces in the IF-MIB::ifDescr MIB.
There is a patch out there that is working around the issue (see also
https://bugs.debian.org/812837) by providing the behaviour via '-N'.
This path provides a way to make use of this workaround.
fixes #11931
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Wed, 11 May 2016 08:28:44 +0000 (10:28 +0200)]
API: Fix that /v1 returns html if json is requested
fixes #10570
Michael Friedrich [Mon, 13 Jun 2016 08:12:38 +0000 (10:12 +0200)]
Flapping{Start,End} notifications must not depend on state changes
fixes #11899
Michael Friedrich [Wed, 15 Jun 2016 09:28:20 +0000 (11:28 +0200)]
DB IDO: Fix comment/downtime entry_time reset
fixes #11182
Gunnar Beutner [Wed, 15 Jun 2016 09:27:01 +0000 (11:27 +0200)]
Ensure that sent notifications are synced between Icinga instances
fixes #11562
Gunnar Beutner [Wed, 15 Jun 2016 09:26:35 +0000 (11:26 +0200)]
Fix crash in ApiListener::PersistMessage
fixes #11946
Gunnar Beutner [Wed, 15 Jun 2016 05:37:03 +0000 (07:37 +0200)]
Implement support for retrieving a list of templates from the API
fixes #11941
Michael Friedrich [Mon, 13 Jun 2016 08:09:18 +0000 (10:09 +0200)]
DB IDO: Ensure that SOFT state changes with the same state are logged
fixes #11933
Gunnar Beutner [Tue, 14 Jun 2016 06:19:13 +0000 (08:19 +0200)]
Add name attribute for the WorkQueue class
fixes #10816
Gunnar Beutner [Tue, 14 Jun 2016 05:57:52 +0000 (07:57 +0200)]
Change which instance is responsible for initiating notifications in a HA setup
refs #9242
Gunnar Beutner [Mon, 13 Jun 2016 09:13:25 +0000 (11:13 +0200)]
Fix cluster permissions for SendNotifications messages
refs #9242
Gunnar Beutner [Mon, 13 Jun 2016 08:48:59 +0000 (10:48 +0200)]
Don't forward SendNotifications messages to non-local zones
refs #9242
Markus Frosch [Tue, 31 May 2016 15:03:49 +0000 (17:03 +0200)]
Make change to OK always a hard state
refs #11654
Gunnar Beutner [Mon, 13 Jun 2016 06:52:03 +0000 (08:52 +0200)]
Fix default behavior when none of the specified objects pass the user's permission filter
fixes #11926
Markus Frosch [Tue, 31 May 2016 15:09:22 +0000 (17:09 +0200)]
Allow debugging of Utility::GetTime
So we can run unit tests that expect a certain behavior based on time.
When Icinga 2 is compiled with I2_DEBUG one can use Utility::SetTime to
override the current system time, and lock it to this value.
fixes #11875
Simon Murray [Wed, 8 Jun 2016 10:09:21 +0000 (11:09 +0100)]
Add service metadata to InfluxDB Writer
Adds a new configuration variable in keeping with the graphite writer
which defaults to false to save network bandwidth. All metrics currently
supported by graphite are now available to InfluxDB. I added in some
formatting functions, to handle integers and booleans as we know and
control their types, and the supporting regexes in the sanity checker.
Updating to InfluxDB 0.13.X started giving 400 errors due to the missing
Host header in HTTP/1.1 requests. HttpRequest has been updated to auto-
magically add the host and port to these requests if not explicitly
stated by the client code.
The exception code has been cleaned up to break out of the function
early if such a condition is raised, this avoids unnecessarily executing
code which will ultimately fail.
fixes #11912
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Simon Murray [Tue, 7 Jun 2016 12:35:16 +0000 (13:35 +0100)]
Update InfluxDB line formatting
Fixes a couple issues to do with line formatting of influx DB data points. All
keys and values need commas and white space escaping. Values are also checked
for type. If a numeric or scientific value is detected this is output as an
Influx floating point/scientific number. Booleans are detected and output in
a canonical format. All other values are strings, which have double quotes
escaped and the entire string is wrapped in double quotes. The handling of
thresholds has changed before this becomes officially released. These values
if available are passed to the accumulation function in a dictionary, said
dictionary builds a single data point with multiple fields, rather than the
existing 5 data points, thus saving bandwidth costs.
fixes #11904
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Gunnar Beutner [Tue, 7 Jun 2016 10:44:12 +0000 (12:44 +0200)]
Fix custom notifications in a HA zone
fixes #9242
Gunnar Beutner [Tue, 7 Jun 2016 06:26:45 +0000 (08:26 +0200)]
Update AUTHORS
refs #11905
Jens Schanz [Mon, 6 Jun 2016 14:28:21 +0000 (16:28 +0200)]
Update documentation for the log_duration attribute
fixes #11905
Michael Friedrich [Mon, 6 Jun 2016 12:04:00 +0000 (14:04 +0200)]
Update AUTHORS
refs #11903
Evgeni Golov [Fri, 3 Jun 2016 20:04:49 +0000 (22:04 +0200)]
Docs: Fix formatting of client reload cli command
fixes #11903
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Claudio Kuenzler [Tue, 31 May 2016 06:24:28 +0000 (08:24 +0200)]
ITL: Add CIM port parameter for esxi_hardware CheckCommand
fixes #11869
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Fri, 3 Jun 2016 12:16:52 +0000 (14:16 +0200)]
Ensure that obsolete comment/downtime objects are deleted after activating objects
Config validation shouldn't be able to purge the files, only on
restart.
fixes #11890
Gunnar Beutner [Mon, 6 Jun 2016 07:55:46 +0000 (09:55 +0200)]
Add "fuse.gvfsd-fuse" to the list of excluded file systems for check_disk
fixes #11887
Gunnar Beutner [Mon, 6 Jun 2016 07:53:43 +0000 (09:53 +0200)]
Fix incorrect variable name in the hosts.conf example config for Windows
fixes #11894
Michael Friedrich [Fri, 3 Jun 2016 12:40:37 +0000 (14:40 +0200)]
DB IDO: Ensure to delete outdated comments/downtimes for host/service objects
fixes #11688
Michael Friedrich [Wed, 25 May 2016 19:19:33 +0000 (21:19 +0200)]
Documentation: Fix missing quotes for API action URL
fixes #11847
Michael Friedrich [Wed, 25 May 2016 08:24:18 +0000 (10:24 +0200)]
node setup: Add a note for --endpoint syntax for client-master connection
fixes #11793
Evgeni Golov [Mon, 16 May 2016 14:23:17 +0000 (16:23 +0200)]
Docs: Use HTTPS for debmon.org
Except for apt itself, as that needs the non-default apt-transport-https
fixes #11837
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Gunnar Beutner [Tue, 24 May 2016 11:37:14 +0000 (13:37 +0200)]
Fix dependencies for the unit tests
fixes #11832
Gunnar Beutner [Tue, 24 May 2016 10:42:02 +0000 (12:42 +0200)]
Add note about check intervals
refs #11825
Gunnar Beutner [Tue, 24 May 2016 09:05:29 +0000 (11:05 +0200)]
Fix incorrect check interval for SOFT->HARD transitions
fixes #11825
Heike Jurzik [Mon, 23 May 2016 12:14:59 +0000 (14:14 +0200)]
Fixes typos, dashes and some punctuation mark
refs #11599
Heike Jurzik [Fri, 22 Apr 2016 14:05:09 +0000 (16:05 +0200)]
Changes hyphens (-) to en dashes (typography)
refs #11599
Heike Jurzik [Mon, 23 May 2016 10:53:18 +0000 (12:53 +0200)]
Fixes some grammar issues in chapters 12 and 13
refs #11599
Heike Jurzik [Mon, 23 May 2016 10:47:22 +0000 (12:47 +0200)]
Fixes grammar and punctuation issues in chapters 8, 9, and 10
refs #11599
Heike Jurzik [Mon, 23 May 2016 10:34:19 +0000 (12:34 +0200)]
Fixes typos in chapter 6 and 7
refs #11599
Heike Jurzik [Mon, 23 May 2016 10:04:35 +0000 (12:04 +0200)]
Fixes some typos in chapter 5
refs #11599
Heike Jurzik [Mon, 23 May 2016 09:48:50 +0000 (11:48 +0200)]
Fixes some typos in chapter 4
refs #11599
Heike Jurzik [Fri, 22 Apr 2016 13:59:35 +0000 (15:59 +0200)]
Fixes some typos/grammar issues and some code blocks
refs #11599
Philipp Dallig [Fri, 25 Mar 2016 11:55:11 +0000 (12:55 +0100)]
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>
Michael Friedrich [Sat, 21 May 2016 16:58:19 +0000 (18:58 +0200)]
Fix: First HARD state does not change retry_interval to check_interval
refs #11825
Michael Friedrich [Sat, 21 May 2016 12:16:47 +0000 (14:16 +0200)]
Silence compiler warnings
refs #11823