]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Wed, 20 Feb 2019 16:11:39 +0000 (17:11 +0100)]
ElasticWriter: Ensure to flush buffers on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 16:10:46 +0000 (17:10 +0100)]
DB IDO: Improve queue handling on Pause/Shutdown/Reload
Michael Friedrich [Wed, 20 Feb 2019 14:21:24 +0000 (15:21 +0100)]
InfluxdbWriter: Ensure to flush buffers after emptying the metrics queue on Pause/Shutdown/Reload
Patch taken from @al2klimov but moved into Pause()
Michael Friedrich [Wed, 20 Feb 2019 13:54:23 +0000 (14:54 +0100)]
GraphiteWriter: Improve Pause/Shutdown/Reload handling for metrics
Michael Friedrich [Wed, 20 Feb 2019 13:20:53 +0000 (14:20 +0100)]
PerfdataWriter: Rotate and close files on Pause/Shutdown/Reload
Refactored the code into a local mutex and added
some more debug logging while at it.
Michael Friedrich [Wed, 20 Feb 2019 12:56:15 +0000 (13:56 +0100)]
Activate downtimes before any checkable object
Michael Friedrich [Wed, 20 Feb 2019 12:55:34 +0000 (13:55 +0100)]
Stop the IcingaApplication at the latest point, before any loggers
Michael Friedrich [Wed, 20 Feb 2019 11:38:57 +0000 (12:38 +0100)]
Stop object in reversed activation priority order
This stops the checker component first, then notifications, then
features, then config objects, then the API feature and logger(s).
Patch taken from @al2klimov
Michael Friedrich [Wed, 20 Feb 2019 11:37:48 +0000 (12:37 +0100)]
Start the checker component at the latest point possible
Michael Friedrich [Wed, 20 Feb 2019 11:11:59 +0000 (12:11 +0100)]
Start the notification component after general features
Michael Friedrich [Tue, 19 Feb 2019 13:54:28 +0000 (14:54 +0100)]
Revert "InfluxdbWriter#Stop(): flush buffer"
This reverts commit
8470facfe2d8437d5db75e4f84434991d30032c7 .
Michael Friedrich [Tue, 19 Feb 2019 13:30:44 +0000 (14:30 +0100)]
Revert "Respect activation priority also on deactivation"
This reverts commit
8ad1717055683c573f81181c7749ba422fa96d13 .
Michael Friedrich [Tue, 19 Feb 2019 13:06:15 +0000 (14:06 +0100)]
Revert "Deactivate perfdata writers after checker"
This reverts commit
f0e12ff63ce138b6df9e85bc690eda46ae794ccb .
Michael Friedrich [Tue, 19 Feb 2019 13:05:07 +0000 (14:05 +0100)]
Revert "CheckerComponent#Stop(): log after actually being stopped"
This reverts commit
b81aa6af3a23cba179b9da03fda6d2674ccc0956 .
Michael Friedrich [Tue, 19 Feb 2019 13:05:00 +0000 (14:05 +0100)]
Revert "CheckerComponent#Stop(): wait for all running checks"
This reverts commit
1eaad0637b75bd24875b1e62fd080fb155b08ed7 .
Michael Friedrich [Tue, 19 Feb 2019 12:52:39 +0000 (13:52 +0100)]
Merge pull request #6958 from Icinga/feature/debug-log-stop
Debug: Log calls to ConfigObject::Deactivate()
Michael Friedrich [Tue, 19 Feb 2019 12:49:52 +0000 (13:49 +0100)]
Debug: Log calls to ConfigObject::Deactivate()
Only available in debug builds.
Michael Friedrich [Tue, 19 Feb 2019 08:39:45 +0000 (09:39 +0100)]
Merge pull request #6956 from Icinga/bugfix/doc-escape-pipe-symbol
Escape pipe symbol in api documentation
Michael Insel [Mon, 18 Feb 2019 15:21:26 +0000 (16:21 +0100)]
Escape pipe symbol in api documentation
This escapes the pipe symbol in the api documentation.
refs #6955
Michael Insel [Wed, 13 Feb 2019 07:13:02 +0000 (08:13 +0100)]
Merge pull request #6949 from fluxX04/patch-1
Doc fix: update check_rbl parameter
Alex [Wed, 13 Feb 2019 06:44:20 +0000 (07:44 +0100)]
fixes check_rbl parameter typo
Michael Friedrich [Mon, 11 Feb 2019 16:57:32 +0000 (17:57 +0100)]
Merge pull request #6857 from Icinga/bugfix/check_nscp_api-query-sorted-6536
Url#m_Query: preserve order
Michael Friedrich [Mon, 11 Feb 2019 16:32:05 +0000 (17:32 +0100)]
Merge pull request #6882 from Icinga/bugfix/influxdb-gaps-6841
InfluxdbWriter#Stop(): flush buffer
Michael Friedrich [Mon, 11 Feb 2019 16:27:44 +0000 (17:27 +0100)]
Merge pull request #6908 from Icinga/bugfix/perfdata-gaps
Ensure all perfdata to be written
Michael Friedrich [Mon, 11 Feb 2019 15:57:17 +0000 (16:57 +0100)]
Merge pull request #6854 from Icinga/bugfix/unamehelper-inefficient-6452
Make UnameHelper() efficient
Michael Friedrich [Mon, 11 Feb 2019 15:53:27 +0000 (16:53 +0100)]
Merge pull request #6934 from Icinga/bugfix/boost-version-6933
Raise required Boost version to 1.53
Michael Friedrich [Mon, 11 Feb 2019 15:41:46 +0000 (16:41 +0100)]
Merge pull request #6577 from Icinga/fix/setup-api-including-users-file
Include api user configuration file during api setup
Michael Friedrich [Mon, 11 Feb 2019 15:35:57 +0000 (16:35 +0100)]
Merge pull request #6748 from Icinga/bugfix/api-setup-fails-missing-confd
Fix api setup to automatically create the conf.d directory
Michael Friedrich [Mon, 11 Feb 2019 14:32:50 +0000 (15:32 +0100)]
Merge pull request #6943 from peteeckel/bugfix/apilistener-duplicate-log-entries-6942
Avoid duplicating non-zero count message replay messages in the debug log
Michael Friedrich [Mon, 11 Feb 2019 13:38:33 +0000 (14:38 +0100)]
Merge pull request #6944 from Icinga/feature/docs-windows-agent-throubleshooting
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents
Michael Friedrich [Mon, 11 Feb 2019 13:32:02 +0000 (14:32 +0100)]
Troubleshooting: Add notes on ephemeral port range blocking on Windows agents
Peter Eckel [Mon, 11 Feb 2019 12:54:17 +0000 (13:54 +0100)]
Avoid duplicating non-zero count message replay messages in the debug log
Michael Friedrich [Mon, 11 Feb 2019 08:46:59 +0000 (09:46 +0100)]
Merge pull request #6940 from Icinga/bugfix/fix-check-swap-6913
Fix check_swap percentage calculation
Alexander A. Klimov [Fri, 8 Feb 2019 16:33:46 +0000 (17:33 +0100)]
Raise required Boost version to 1.53
refs #6933
Michael Insel [Fri, 8 Feb 2019 15:57:19 +0000 (16:57 +0100)]
Fix check_swap percentage calculation
This fixes the check_swap percentage calculation. When the pagefile is
turned off the available swap and total swap are 0 which leads to a
wrong calculation and misformated output.
refs #6913
Michael Friedrich [Fri, 8 Feb 2019 12:48:12 +0000 (13:48 +0100)]
Merge pull request #6894 from Icinga/bugfix/checkresults-from-the-future-6797
Fix checkresults from the future breaking checks
Michael Friedrich [Fri, 8 Feb 2019 12:32:13 +0000 (13:32 +0100)]
Refactor conditions and add debug log messages for future crs and skipped crs
Jean Flach [Fri, 11 Jan 2019 15:16:45 +0000 (16:16 +0100)]
Fix checkresults from the future breaking checks
Michael Friedrich [Fri, 8 Feb 2019 10:54:09 +0000 (11:54 +0100)]
Merge pull request #6935 from Icinga/feature/enhance-notification-logging
Enhance notification logging
Michael Friedrich [Thu, 7 Feb 2019 14:42:09 +0000 (15:42 +0100)]
Enhance notification logging
- More details from the local context (notification, user, checkable, command names)
- Notice logs for when this notification object is paused in HA enabled zones
- Notice logs for interval=0 reminder notifications
- Object name for skipping recovery notifications when problem hasn't been notified before
Alexander A. Klimov [Wed, 6 Feb 2019 10:17:45 +0000 (11:17 +0100)]
Respect activation priority also on deactivation
Michael Friedrich [Mon, 4 Feb 2019 15:05:20 +0000 (16:05 +0100)]
Merge pull request #6858 from Icinga/feature/string-builder
Make string builder reusable
Michael Friedrich [Mon, 4 Feb 2019 14:50:04 +0000 (15:50 +0100)]
Merge pull request #6928 from Icinga/doc/windows-devel-dot-net-2
Doc: Add .NET 3.5 to the windows build stack
Michael Friedrich [Mon, 4 Feb 2019 13:21:20 +0000 (14:21 +0100)]
Merge pull request #6901 from Icinga/bugfix/so_reuseport-6898
TcpSocket#Bind(): also set SO_REUSEPORT
Michael Friedrich [Mon, 4 Feb 2019 12:52:44 +0000 (13:52 +0100)]
Merge pull request #6914 from Icinga/bugfix/clusterevents-missing-persistent-ack
ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute
Michael Friedrich [Mon, 4 Feb 2019 12:51:31 +0000 (13:51 +0100)]
Merge pull request #6853 from Icinga/bugfix/incorrect-command_endpoint-6666
Checkable: require zone to be set if command_endpoint is set
Michael Insel [Fri, 1 Feb 2019 15:46:28 +0000 (16:46 +0100)]
Doc: Add .NET 3.5 to the windows build stack
The Windows Agent Wizard is currently build on .NET Framework 2.0, which
is not installed by default on Windows 10. This adds a note to the
development documentation to install the .NET Framework 3.5 (which
includes .NET Framework 2.0) component on Windows 10.
Michael Friedrich [Thu, 31 Jan 2019 15:20:09 +0000 (16:20 +0100)]
Merge pull request #6926 from miso231/feature/itl-cloudera-checks
Feature/itl cloudera checks
Michal Petko [Thu, 31 Jan 2019 14:58:46 +0000 (15:58 +0100)]
Use full command name as prefix for check arguments
Michael Friedrich [Thu, 31 Jan 2019 08:13:41 +0000 (09:13 +0100)]
Merge pull request #6925 from Icinga/bugfix/check-swap-format
Fix check_swap formatting
Michal Petko [Thu, 31 Jan 2019 07:11:31 +0000 (08:11 +0100)]
Add documentation to cloudera checks
Michal Petko [Thu, 31 Jan 2019 06:59:44 +0000 (07:59 +0100)]
Add check commands for HDFS file count and used space
Michael Insel [Wed, 30 Jan 2019 18:41:24 +0000 (19:41 +0100)]
Fix check_swap formatting
This fixes a small formatting mistake introduced by #6811. To keep the
check_swap output in sync with all other plugins I fixed the formatting.
Michael Friedrich [Wed, 30 Jan 2019 14:28:26 +0000 (15:28 +0100)]
Merge pull request #6916 from Icinga/bugfix/retry-interval-zero
Don't allow retry_interval <= 0
Michael Friedrich [Wed, 30 Jan 2019 14:18:12 +0000 (15:18 +0100)]
Merge pull request #6924 from Icinga/bugfix/convert-long-double
Fix double to long conversions
Michael Friedrich [Wed, 30 Jan 2019 13:47:59 +0000 (14:47 +0100)]
Fix Convert::ToLong(double val)
Michael Friedrich [Wed, 30 Jan 2019 13:23:57 +0000 (14:23 +0100)]
Add a unit test for Convert::ToLong(double) - fails
Michael Friedrich [Tue, 29 Jan 2019 12:37:50 +0000 (13:37 +0100)]
Merge pull request #6917 from Icinga/bugfix/cluster-message-delete-object
Cluster: Delete object message should log that
Michael Friedrich [Tue, 29 Jan 2019 12:35:32 +0000 (13:35 +0100)]
Merge pull request #6920 from Icinga/bugfix/scheduleddowntime-zone
Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes
Michael Friedrich [Tue, 29 Jan 2019 08:43:06 +0000 (09:43 +0100)]
Merge pull request #6911 from peteeckel/feature/nscp-disk-exclude-option
Make the NSCP CheckDisk --exclude option available to Icinga 2
Peter Eckel [Mon, 28 Jan 2019 17:30:31 +0000 (18:30 +0100)]
Updated documentation for nscp-disk-local
Alexander A. Klimov [Mon, 28 Jan 2019 17:29:57 +0000 (18:29 +0100)]
Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes
Michael Friedrich [Mon, 28 Jan 2019 16:39:22 +0000 (17:39 +0100)]
Cluster: Delete object message should log that
Atm it is a copy-paste error and irritates during debugging.
Coming from my analysis of existing cluster messages.
Michael Friedrich [Mon, 28 Jan 2019 16:33:05 +0000 (17:33 +0100)]
Don't allow retry_interval <= 0
Michael Friedrich [Mon, 28 Jan 2019 16:29:46 +0000 (17:29 +0100)]
ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute
Peter Eckel [Fri, 25 Jan 2019 15:38:11 +0000 (16:38 +0100)]
Make the NSCP CheckDisk --exclude option available to Icinga 2
Michael Friedrich [Fri, 25 Jan 2019 07:31:57 +0000 (08:31 +0100)]
Merge pull request #6897 from Icinga/bugfix/getlocalzone-null
Validate Zone::GetLocalZone() before using
Alexander A. Klimov [Thu, 24 Jan 2019 14:09:39 +0000 (15:09 +0100)]
CheckerComponent#Stop(): wait for all running checks
Alexander A. Klimov [Thu, 24 Jan 2019 12:55:17 +0000 (13:55 +0100)]
CheckerComponent#Stop(): log after actually being stopped
Alexander A. Klimov [Thu, 24 Jan 2019 12:49:27 +0000 (13:49 +0100)]
Deactivate perfdata writers after checker
Michael Friedrich [Thu, 24 Jan 2019 10:03:48 +0000 (11:03 +0100)]
Merge pull request #6803 from BarbUk/feature/itl-check-btrfs
Add btrfs CheckCommand definition
Michael Friedrich [Thu, 24 Jan 2019 10:02:25 +0000 (11:02 +0100)]
Merge pull request #6865 from BarbUk/feature/itl-check-haproxy-status
Add haproxy-status CheckCommand definition
Michael Friedrich [Thu, 24 Jan 2019 10:01:49 +0000 (11:01 +0100)]
Merge pull request #6861 from BarbUk/feature/itl-check-temp
Add lmsensors CheckCommand definition
Michael Friedrich [Thu, 24 Jan 2019 10:00:51 +0000 (11:00 +0100)]
Merge pull request #6848 from BarbUk/feature/itl-check-fail2ban
Add fail2ban CheckCommand definition
Michael Friedrich [Thu, 24 Jan 2019 09:59:52 +0000 (10:59 +0100)]
Merge pull request #6780 from ITisitBV/master
Make mail-{host,service}-notification.sh as POSIX-compliant as possible.
Michael Friedrich [Thu, 24 Jan 2019 09:58:43 +0000 (10:58 +0100)]
Merge pull request #6899 from Icinga/bugfix/localtime-zero-windows
Log: Ensure not to pass negative values to localtime()
Alexander A. Klimov [Thu, 17 Jan 2019 11:13:44 +0000 (12:13 +0100)]
TcpSocket#Bind(): also set SO_REUSEPORT
refs #6898
Michael Friedrich [Wed, 16 Jan 2019 16:27:38 +0000 (17:27 +0100)]
Log: Ensure not to pass negative values to localtime()
refs #6887
Michael Friedrich [Wed, 16 Jan 2019 14:00:03 +0000 (15:00 +0100)]
Merge pull request #6883 from Icinga/bugfix/retry-interval-zero-6871
Allow Checkable#retry_interval to be 0
Michael Friedrich [Wed, 16 Jan 2019 13:57:34 +0000 (14:57 +0100)]
Merge pull request #6885 from Icinga/fix/uoa-comment-downtime
Don't run UpdateObjectAuthority for Comments and Downtimes
Alexander A. Klimov [Tue, 15 Jan 2019 18:23:20 +0000 (19:23 +0100)]
Validate Zone::GetLocalZone() before using
Michael Friedrich [Fri, 11 Jan 2019 16:03:58 +0000 (17:03 +0100)]
Merge pull request #6890 from T-Systems-MMS/feature/snmp-storage-exclude
Added snmp_exclude option to manubulon snmp-storage check
Michael Friedrich [Fri, 11 Jan 2019 16:01:29 +0000 (17:01 +0100)]
Merge pull request #6893 from widhalmt/fix/itl-ipmi-6892
Add new "-us" option to ipmi-sensor CheckCommand
Thomas Widhalm [Fri, 11 Jan 2019 12:50:07 +0000 (13:50 +0100)]
Add new "-us" option to `ipmi-sensor` CheckCommand due to change in monitoring plugin.
Fixes #6892
Martin Neubert [Fri, 11 Jan 2019 08:54:24 +0000 (09:54 +0100)]
Added snmp_exclude option to manubulon snmp-storage check
Jean Flach [Thu, 10 Jan 2019 10:44:14 +0000 (11:44 +0100)]
Don't run UpdateObjectAuthority for Comments and Downtimes
Alexander A. Klimov [Wed, 9 Jan 2019 10:27:33 +0000 (11:27 +0100)]
Allow Checkable#retry_interval to be 0
refs #6871
Michael Friedrich [Wed, 9 Jan 2019 08:30:27 +0000 (09:30 +0100)]
Merge pull request #6880 from Icinga/bugfix/pki-requestcertificate-no-cert
pki::RequestCertificate: handle missing certificate/CSR
Alexander A. Klimov [Tue, 8 Jan 2019 17:15:32 +0000 (18:15 +0100)]
InfluxdbWriter#Stop(): flush buffer
refs #6841
Alexander A. Klimov [Tue, 8 Jan 2019 10:49:44 +0000 (11:49 +0100)]
pki::RequestCertificate: handle missing certificate/CSR
Michael Friedrich [Mon, 7 Jan 2019 14:49:23 +0000 (15:49 +0100)]
Merge pull request #6877 from Icinga/bugfix/http-log-spam
HttpServerConnection#DataAvailableHandler(): reduce log spam
Alexander A. Klimov [Mon, 7 Jan 2019 14:32:19 +0000 (15:32 +0100)]
HttpServerConnection#DataAvailableHandler(): reduce log spam
BarbUk [Mon, 24 Dec 2018 06:37:24 +0000 (10:37 +0400)]
Fix plugin name in documentation
BarbUk [Mon, 24 Dec 2018 06:32:37 +0000 (10:32 +0400)]
Add haproxy-status CheckCommand definition
Another haproxy CheckCommand. This plugin uses haproxy stat socket to
check for all or specific frontend/backend status.
BarbUk [Sun, 23 Dec 2018 14:26:24 +0000 (18:26 +0400)]
Rename check_temp to check_lmsensors
BarbUk [Sun, 23 Dec 2018 14:24:12 +0000 (18:24 +0400)]
Merge branch 'master' into feature/itl-check-temp
Michael Friedrich [Sun, 23 Dec 2018 11:19:07 +0000 (12:19 +0100)]
Merge pull request #6862 from BarbUk/feature/itl-check-proxysql
Add proxysql CheckCommand definition
Michael Friedrich [Sun, 23 Dec 2018 11:17:35 +0000 (12:17 +0100)]
Merge pull request #6863 from BarbUk/feature/itl-check-hddtemp
Add hddtemp CheckCommand definition
Michael Friedrich [Sun, 23 Dec 2018 11:16:42 +0000 (12:16 +0100)]
Merge pull request #6864 from BarbUk/feature/itl-check-phpfpm-status
Add phpfpm-status CheckCommand definition
BarbUk [Sat, 22 Dec 2018 09:51:27 +0000 (13:51 +0400)]
Add phpfpm-status CheckCommand definition