]>
granicus.if.org Git - icinga2/log
Gunnar Beutner [Mon, 25 Jul 2016 07:31:38 +0000 (09:31 +0200)]
Include IP address and port in the "New connection" log message
fixes #12215
Gunnar Beutner [Mon, 25 Jul 2016 07:23:19 +0000 (09:23 +0200)]
Update AUTHORS
refs #12201
Stephan Tesch [Thu, 21 Jul 2016 20:00:32 +0000 (20:00 +0000)]
Improve error reporting for the client certificate check
Until now, client certificates that have failed verification were reported as not being signed by the CA. That is not true for all cases. This patch adds an explanation in the debug log why verification failed.
fixes #12201
Gunnar Beutner [Fri, 22 Jul 2016 07:43:59 +0000 (09:43 +0200)]
Implement the __ptr function
fixes #12205
Michael Friedrich [Thu, 21 Jul 2016 14:33:52 +0000 (16:33 +0200)]
Update AUTHORS
refs #12189
Manuel Reiter [Wed, 20 Jul 2016 21:19:09 +0000 (23:19 +0200)]
Add support for "-A" command line switch to CheckCommand "snmp-process"
Support for "-A" command line switch to CheckCommand "snmp-process" added in
command-plugins-manubulon.conf. Further details can be found in issue #12189.
fixes #12189
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Thu, 21 Jul 2016 11:48:00 +0000 (13:48 +0200)]
Improve log message for connecting nodes without configured Endpoint object
fixes #12194
Gunnar Beutner [Thu, 21 Jul 2016 10:27:18 +0000 (12:27 +0200)]
Increase reconnection timer interval for cluster connections
fixes #12193
Michael Friedrich [Tue, 19 Jul 2016 18:13:34 +0000 (20:13 +0200)]
Fix error message for specified ciphers
refs #11063
Michael Friedrich [Tue, 19 Jul 2016 18:09:14 +0000 (20:09 +0200)]
state_filters_real shouldn't be visible in the API
fixes #12171
Gunnar Beutner [Tue, 19 Jul 2016 16:32:01 +0000 (18:32 +0200)]
Fix message routing for command_endpoint checks in satellite zones with >2 instances
refs #12179
Michael Friedrich [Tue, 19 Jul 2016 15:36:14 +0000 (17:36 +0200)]
Fix duplicate CheckResult messages for command_endpoint
fixes #12179
Gunnar Beutner [Mon, 18 Jul 2016 11:47:53 +0000 (13:47 +0200)]
Update AUTHORS
refs #11063
Uwe Ebel [Fri, 25 Mar 2016 20:25:19 +0000 (21:25 +0100)]
Make the cipher list configurable for TLS streams
fixes #11063
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Gunnar Beutner [Fri, 15 Jul 2016 07:40:39 +0000 (09:40 +0200)]
Avoid duplicate entries in the icinga_objects table for commands
refs #12147
Gunnar Beutner [Thu, 14 Jul 2016 06:26:11 +0000 (08:26 +0200)]
Update AUTHORS
refs #12144
Jeremy Armstrong [Wed, 13 Jul 2016 19:25:10 +0000 (13:25 -0600)]
List pkg-config as a build requirement in INSTALL.md
fixes #12144
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
Gunnar Beutner [Wed, 13 Jul 2016 12:44:53 +0000 (14:44 +0200)]
Improve IDO performance
refs #12147
Michael Friedrich [Tue, 12 Jul 2016 12:35:19 +0000 (14:35 +0200)]
ITL: Fix thresholds and descriptions for iftraffic{,64}
refs #12135
Gunnar Beutner [Tue, 12 Jul 2016 13:33:05 +0000 (15:33 +0200)]
Fix crash on Windows
fixes #11730
Michael Friedrich [Tue, 12 Jul 2016 10:44:34 +0000 (12:44 +0200)]
ITL: Add iftraffic64 and fix iftraffic CheckCommand plugin path
fixes #12135
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>