]> granicus.if.org Git - icinga2/log
icinga2
8 years agoConvert Comment/Downtime to config objects
Gunnar Beutner [Thu, 20 Aug 2015 15:18:48 +0000 (17:18 +0200)]
Convert Comment/Downtime to config objects

fixes #9777

8 years agoDB IDO: Add object_id where clause for icinga_downtimehistory
Michael Friedrich [Wed, 28 Oct 2015 16:12:23 +0000 (17:12 +0100)]
DB IDO: Add object_id where clause for icinga_downtimehistory

fixes #10110

8 years agoFix: IDO tries to execute empty UPDATE queries
Gunnar Beutner [Wed, 28 Oct 2015 06:45:18 +0000 (07:45 +0100)]
Fix: IDO tries to execute empty UPDATE queries

fixes #10473

8 years agoFix incorrect URL check in the InfoHandler class
Gunnar Beutner [Wed, 28 Oct 2015 06:21:18 +0000 (07:21 +0100)]
Fix incorrect URL check in the InfoHandler class

refs #9105

8 years agoReview and update documentation
Michael Friedrich [Tue, 27 Oct 2015 17:42:32 +0000 (18:42 +0100)]
Review and update documentation

fixes #9080
refs #9105

8 years agoUpdate error messages
Jean Flach [Tue, 27 Oct 2015 14:26:19 +0000 (15:26 +0100)]
Update error messages

Removes verboseError from httprequest and uses
HttpUtility::GetLastParameter() instead to find out whether verbose
errors are enabled. Also parsing an invalid URL will now not lead to a
stacktrace anymore.

refs #10194

8 years agoUpdate API actions and documentation
Jean Flach [Tue, 27 Oct 2015 13:15:07 +0000 (14:15 +0100)]
Update API actions and documentation

refs #9080 #9105

8 years agoRemove byte order mark in 9-icinga2-api.md
Gunnar Beutner [Tue, 27 Oct 2015 08:50:24 +0000 (09:50 +0100)]
Remove byte order mark in 9-icinga2-api.md

refs #9105

8 years agoUpdate documentation
Gunnar Beutner [Tue, 27 Oct 2015 07:59:36 +0000 (08:59 +0100)]
Update documentation

refs #9105

8 years agoFix invalid delete in IndexerExpression::GetReference
Gunnar Beutner [Mon, 26 Oct 2015 17:00:42 +0000 (18:00 +0100)]
Fix invalid delete in IndexerExpression::GetReference

fixes #10466

8 years agoUpdate API documentation
Jean Flach [Mon, 26 Oct 2015 14:53:25 +0000 (15:53 +0100)]
Update API documentation

refs #9080

8 years agoFix: Line continuation is broken in 'icinga2 console'
Gunnar Beutner [Mon, 26 Oct 2015 12:04:03 +0000 (13:04 +0100)]
Fix: Line continuation is broken in 'icinga2 console'

fixes #10461

8 years agoImplement Array::ToString and Dictionary::ToString
Gunnar Beutner [Mon, 26 Oct 2015 10:05:24 +0000 (11:05 +0100)]
Implement Array::ToString and Dictionary::ToString

fixes #10329

8 years agoDon't allow scripts to access FANoUserView attributes in sandbox mode
Gunnar Beutner [Mon, 26 Oct 2015 09:41:00 +0000 (10:41 +0100)]
Don't allow scripts to access FANoUserView attributes in sandbox mode

fixes #10457

8 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 26 Oct 2015 08:48:39 +0000 (09:48 +0100)]
Update AUTHORS

refs #10374

8 years agoAdd check command nginx_status
Bastian Guse [Thu, 15 Oct 2015 13:04:38 +0000 (15:04 +0200)]
Add check command nginx_status

fixes #10374

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoFix: Changing a group's attributes causes duplicate rows in the icinga_*group_members...
Gunnar Beutner [Mon, 26 Oct 2015 08:36:13 +0000 (09:36 +0100)]
Fix: Changing a group's attributes causes duplicate rows in the icinga_*group_members table

fixes #10422

8 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 26 Oct 2015 07:11:32 +0000 (08:11 +0100)]
Update AUTHORS

refs #10439, #10440, #10441

8 years agodoc.icinga2.8: rewrite man page
Mhd Sulhan [Thu, 22 Oct 2015 16:09:36 +0000 (23:09 +0700)]
doc.icinga2.8: rewrite man page

- Change man page section to 8.
- Update man page date.
- Describe how to invoke the program with command and options.
- Describe config and validate options for daemon (taken from docs).

fixes #10441

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoicinga-app: show options for log-level
Mhd Sulhan [Thu, 22 Oct 2015 15:56:04 +0000 (22:56 +0700)]
icinga-app: show options for log-level

No one know what is the valid options for log-level without looking at
the source code.

fixes #10440

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoCLI: Hide "Command options" if command is null
Mhd Sulhan [Thu, 22 Oct 2015 15:49:42 +0000 (22:49 +0700)]
CLI: Hide "Command options" if command is null

Before this commit, if icinga2 command executed without any argument,
the program will print empty "Command options".

While at it, clean the whitespaces.

fixes #10439

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoHandle exceptions for NetString::WriteStringToStream in ApiListener::ReplayLog
Gunnar Beutner [Mon, 26 Oct 2015 06:56:58 +0000 (07:56 +0100)]
Handle exceptions for NetString::WriteStringToStream in ApiListener::ReplayLog

fixes #10455

8 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 26 Oct 2015 06:48:02 +0000 (07:48 +0100)]
Update AUTHORS

refs #10456

8 years agoFix incorrect attribute name in the documentation
Hannes Van de Vel [Thu, 22 Oct 2015 06:16:37 +0000 (08:16 +0200)]
Fix incorrect attribute name in the documentation

fixes #10456

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoClean up the 'api setup' command a bit more
Gunnar Beutner [Mon, 26 Oct 2015 06:03:41 +0000 (07:03 +0100)]
Clean up the 'api setup' command a bit more

refs #9471

8 years agoUndo accidental edit in icinga.cpp from 6fa58a52
Gunnar Beutner [Mon, 26 Oct 2015 05:53:36 +0000 (06:53 +0100)]
Undo accidental edit in icinga.cpp from 6fa58a52

refs #9927

8 years agoFix incorrect return value for ApiSetupUtility::SetupMaster
Gunnar Beutner [Sun, 25 Oct 2015 18:57:57 +0000 (19:57 +0100)]
Fix incorrect return value for ApiSetupUtility::SetupMaster

refs #9471

8 years agoUse operator[] instead of insert() for Dictionary::Set
Gunnar Beutner [Thu, 22 Oct 2015 16:30:47 +0000 (18:30 +0200)]
Use operator[] instead of insert() for Dictionary::Set

refs #10428

8 years agoUpdate vim syntax highlighting
Michael Friedrich [Thu, 22 Oct 2015 16:10:35 +0000 (18:10 +0200)]
Update vim syntax highlighting

refs #10430

8 years agoAdd apply for to the language reference documentation
Michael Friedrich [Thu, 22 Oct 2015 15:01:59 +0000 (17:01 +0200)]
Add apply for to the language reference documentation

fixes #10409

8 years agoDocument that modified attributes require accept_config for cluster/clients
Michael Friedrich [Thu, 22 Oct 2015 14:24:42 +0000 (16:24 +0200)]
Document that modified attributes require accept_config for cluster/clients

fixes #10368

8 years agoClean up the 'api setup' command
Gunnar Beutner [Thu, 22 Oct 2015 13:56:27 +0000 (15:56 +0200)]
Clean up the 'api setup' command

refs #9471

8 years agoExport original attributes in DB IDO and Livestatus
Michael Friedrich [Thu, 22 Oct 2015 13:48:53 +0000 (15:48 +0200)]
Export original attributes in DB IDO and Livestatus

fixes #10392

8 years agoFix: 'dig_lookup' custom attribute for the 'dig' check command isn't optional
Gunnar Beutner [Thu, 22 Oct 2015 12:53:11 +0000 (14:53 +0200)]
Fix: 'dig_lookup' custom attribute for the 'dig' check command isn't optional

fixes #10433

8 years agoFix restore_attribute not working in clusters
Michael Friedrich [Thu, 22 Oct 2015 12:32:14 +0000 (14:32 +0200)]
Fix restore_attribute not working in clusters

fixes #10386

8 years agoUpdate release documentation
Gunnar Beutner [Thu, 22 Oct 2015 11:41:31 +0000 (13:41 +0200)]
Update release documentation

8 years agoMerge branch 'support/2.3'
Gunnar Beutner [Thu, 22 Oct 2015 11:40:53 +0000 (13:40 +0200)]
Merge branch 'support/2.3'

8 years agoAdd redirect for /
Gunnar Beutner [Thu, 22 Oct 2015 11:29:06 +0000 (13:29 +0200)]
Add redirect for /

refs #9105

8 years agoUpdate documentation
Gunnar Beutner [Thu, 22 Oct 2015 10:16:59 +0000 (12:16 +0200)]
Update documentation

refs #9105

8 years agoImplement URL handler for /v1
Gunnar Beutner [Thu, 22 Oct 2015 10:02:15 +0000 (12:02 +0200)]
Implement URL handler for /v1

refs #9105

8 years agoUpdate API actions
Jean Flach [Fri, 16 Oct 2015 09:44:18 +0000 (11:44 +0200)]
Update API actions

fixes #10180
refs #9080

8 years agoAdd getter for endpoint 'connected' attribute
Gunnar Beutner [Thu, 22 Oct 2015 08:52:38 +0000 (10:52 +0200)]
Add getter for endpoint 'connected' attribute

fixes #10394

8 years agoRemove api.cpp and api.hpp
Gunnar Beutner [Thu, 22 Oct 2015 08:26:56 +0000 (10:26 +0200)]
Remove api.cpp and api.hpp

fixes #10407

8 years agoTurn includes into AST expressions
Gunnar Beutner [Thu, 22 Oct 2015 07:46:31 +0000 (09:46 +0200)]
Turn includes into AST expressions

fixes #10008

8 years agoImprove performance for Livestatus queries
Gunnar Beutner [Thu, 22 Oct 2015 06:28:40 +0000 (08:28 +0200)]
Improve performance for Livestatus queries

refs #10428

8 years agoDocumentation: Fix missing dollar sign escaping, add troubleshooting hint
Michael Friedrich [Wed, 21 Oct 2015 20:49:21 +0000 (22:49 +0200)]
Documentation: Fix missing dollar sign escaping, add troubleshooting hint

This is a pretty common error for years and deserves
a troubleshooting entry.

fixes #10403

8 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 21 Oct 2015 16:06:16 +0000 (18:06 +0200)]
Update AUTHORS

refs #10423

8 years agoAdd snmp_port custom attribute for the SNMP check command definitions
Dinesh Majrekar [Wed, 21 Oct 2015 15:39:24 +0000 (16:39 +0100)]
Add snmp_port custom attribute for the SNMP check command definitions

fixes #10423

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoAdd documentation for event streams
Michael Friedrich [Wed, 21 Oct 2015 14:05:05 +0000 (16:05 +0200)]
Add documentation for event streams

fixes #9078

8 years agoFix compiler warnings
Michael Friedrich [Wed, 21 Oct 2015 13:50:32 +0000 (15:50 +0200)]
Fix compiler warnings

refs #9078

8 years agoFix filter permissions in event streams
Michael Friedrich [Wed, 21 Oct 2015 13:38:26 +0000 (15:38 +0200)]
Fix filter permissions in event streams

refs #9078

8 years agoImplement api event streams
Michael Friedrich [Mon, 19 Oct 2015 15:31:18 +0000 (17:31 +0200)]
Implement api event streams

Documentation is not yet complete.

refs #9078

8 years agoFix: 'which' isn't available on minimal CentOS installs
Gunnar Beutner [Wed, 21 Oct 2015 12:41:48 +0000 (14:41 +0200)]
Fix: 'which' isn't available on minimal CentOS installs

fixes #10417

8 years agoEnsure that the main thread pool gets re-initialized properly after fork()
Gunnar Beutner [Wed, 21 Oct 2015 05:02:49 +0000 (07:02 +0200)]
Ensure that the main thread pool gets re-initialized properly after fork()

refs #10410

8 years agoMake sure the timer thread is gone when calling fork()
Gunnar Beutner [Tue, 20 Oct 2015 20:55:16 +0000 (22:55 +0200)]
Make sure the timer thread is gone when calling fork()

refs #10410

8 years agoBuild fix for OpenBSD
Gunnar Beutner [Tue, 20 Oct 2015 20:54:58 +0000 (22:54 +0200)]
Build fix for OpenBSD

8 years agoReword nodeutility output
Jean Flach [Tue, 20 Oct 2015 10:56:26 +0000 (12:56 +0200)]
Reword nodeutility output

The old comment had a few minor problems:
* Two spaces after 'named'
* No space between // and the begining of the message
* Incorrect capitalization

And one major:
* Incorrectly calling a zone a node

But all of this is subject to change through the use of the configwriter
anyways.

fixes #10406

8 years agoHide internal attributes in the API
Gunnar Beutner [Tue, 20 Oct 2015 06:20:35 +0000 (08:20 +0200)]
Hide internal attributes in the API

fixes #10393

8 years agoRemove unnecessary default values
Gunnar Beutner [Tue, 20 Oct 2015 06:06:25 +0000 (08:06 +0200)]
Remove unnecessary default values

refs #9461
refs #8149

8 years agoDocumentation: Fix table formatting
Michael Friedrich [Mon, 19 Oct 2015 11:27:20 +0000 (13:27 +0200)]
Documentation: Fix table formatting

refs #9105

8 years agoRelease version 2.3.11
Gunnar Beutner [Mon, 19 Oct 2015 09:14:40 +0000 (11:14 +0200)]
Release version 2.3.11

8 years agoRelease version 2.3.11 v2.3.11
Gunnar Beutner [Mon, 19 Oct 2015 09:14:40 +0000 (11:14 +0200)]
Release version 2.3.11

8 years agoImplement the resolve_arguments function
Gunnar Beutner [Thu, 27 Aug 2015 06:22:35 +0000 (08:22 +0200)]
Implement the resolve_arguments function

fixes #10006

8 years agoImprove validation for CIDR masks
Gunnar Beutner [Mon, 19 Oct 2015 08:40:48 +0000 (10:40 +0200)]
Improve validation for CIDR masks

fixes #10375

8 years agoImprove validation for CIDR masks
Gunnar Beutner [Mon, 19 Oct 2015 08:40:48 +0000 (10:40 +0200)]
Improve validation for CIDR masks

fixes #10375

8 years agoLog a warning message on unauthorized http request
Michael Friedrich [Fri, 16 Oct 2015 13:32:02 +0000 (15:32 +0200)]
Log a warning message on unauthorized http request

fixes #10388

8 years agoFix query processing for Livestatus queries which use KeepAlive
Gunnar Beutner [Fri, 16 Oct 2015 13:11:32 +0000 (15:11 +0200)]
Fix query processing for Livestatus queries which use KeepAlive

fixes #9322

8 years agoFix query processing for Livestatus queries which use KeepAlive
Gunnar Beutner [Fri, 16 Oct 2015 13:11:32 +0000 (15:11 +0200)]
Fix query processing for Livestatus queries which use KeepAlive

fixes #9322

8 years agoAdd 'support' tracker to changelog.py
Michael Friedrich [Fri, 16 Oct 2015 11:49:39 +0000 (13:49 +0200)]
Add 'support' tracker to changelog.py

fixes #10385

8 years agoFix OSX control sequence
Michael Friedrich [Fri, 16 Oct 2015 11:46:43 +0000 (13:46 +0200)]
Fix OSX control sequence

refs #9095

8 years agoDB IDO should provide its connected state via /v1/status
Michael Friedrich [Fri, 16 Oct 2015 11:02:41 +0000 (13:02 +0200)]
DB IDO should provide its connected state via /v1/status

fixes #10383

8 years agoAdd a debug log message for updating the program status table in DB IDO
Michael Friedrich [Thu, 15 Oct 2015 16:43:30 +0000 (18:43 +0200)]
Add a debug log message for updating the program status table in DB IDO

fixes #10379

8 years agoFix wrong connection log message for global zones
Michael Friedrich [Thu, 15 Oct 2015 15:15:19 +0000 (17:15 +0200)]
Fix wrong connection log message for global zones

fixes #10377

8 years agoDisallow modify attribute for certain object attributes
Michael Friedrich [Thu, 15 Oct 2015 14:33:20 +0000 (16:33 +0200)]
Disallow modify attribute for certain object attributes

fixes #9095

8 years agoDocument Object#clone
Michael Friedrich [Fri, 16 Oct 2015 09:57:19 +0000 (11:57 +0200)]
Document Object#clone

fixes #9930

8 years agoAdd a debug log message for updating the program status table in DB IDO
Michael Friedrich [Thu, 15 Oct 2015 16:43:30 +0000 (18:43 +0200)]
Add a debug log message for updating the program status table in DB IDO

fixes #10379

8 years agoFix wrong connection log message for global zones
Michael Friedrich [Thu, 15 Oct 2015 15:15:19 +0000 (17:15 +0200)]
Fix wrong connection log message for global zones

fixes #10377

8 years agoFix log message formatting for object version
Michael Friedrich [Thu, 15 Oct 2015 14:52:49 +0000 (16:52 +0200)]
Fix log message formatting for object version

refs #10355

8 years agoFix deadlock in ApiListener::RelayMessage
Gunnar Beutner [Wed, 2 Sep 2015 05:39:40 +0000 (07:39 +0200)]
Fix deadlock in ApiListener::RelayMessage

fixes #10002

8 years agoRemove default WQ limits
Gunnar Beutner [Wed, 2 Sep 2015 07:16:20 +0000 (09:16 +0200)]
Remove default WQ limits

refs #10002

8 years agoAdd timeout argument for pop, spop, imap, simap commands
Michael Friedrich [Thu, 15 Oct 2015 13:13:24 +0000 (15:13 +0200)]
Add timeout argument for pop, spop, imap, simap commands

fixes #10219

8 years agoAdd timeout argument for pop, spop, imap, simap commands
Michael Friedrich [Thu, 15 Oct 2015 13:13:24 +0000 (15:13 +0200)]
Add timeout argument for pop, spop, imap, simap commands

fixes #10219

8 years agoImprove error message for socket errors in Livestatus
Michael Friedrich [Thu, 15 Oct 2015 12:58:21 +0000 (14:58 +0200)]
Improve error message for socket errors in Livestatus

fixes #10079

8 years agoImprove error message for socket errors in Livestatus
Michael Friedrich [Thu, 15 Oct 2015 12:58:21 +0000 (14:58 +0200)]
Improve error message for socket errors in Livestatus

fixes #10079

8 years agoEnsure that modified attributes work with clients with local config and no zone attribute
Michael Friedrich [Thu, 15 Oct 2015 12:05:39 +0000 (14:05 +0200)]
Ensure that modified attributes work with clients with local config and no zone attribute

fixes #10371

8 years agoFix: ApiListener::SyncRelayMessage doesn't send message to all zone members
Gunnar Beutner [Thu, 15 Oct 2015 07:28:20 +0000 (09:28 +0200)]
Fix: ApiListener::SyncRelayMessage doesn't send message to all zone members

fixes #10365

8 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 14 Oct 2015 10:23:03 +0000 (12:23 +0200)]
Update AUTHORS

refs #10354

8 years agoImprove error handling in cidr_match function
Thomas Gelf [Wed, 14 Oct 2015 10:11:04 +0000 (12:11 +0200)]
Improve error handling in cidr_match function

refs #10354

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoImplement the cidr_match function
Gunnar Beutner [Wed, 14 Oct 2015 08:11:49 +0000 (10:11 +0200)]
Implement the cidr_match function

fixes #10354

8 years agoFix wrong type for object version
Michael Friedrich [Thu, 15 Oct 2015 09:10:46 +0000 (11:10 +0200)]
Fix wrong type for object version

refs #10355

8 years agoFix: ApiListener::SyncRelayMessage doesn't send message to all zone members
Gunnar Beutner [Thu, 15 Oct 2015 07:28:20 +0000 (09:28 +0200)]
Fix: ApiListener::SyncRelayMessage doesn't send message to all zone members

fixes #10365

8 years agoFix incorrect variable type in ApiListener::ConfigUpdateObjectAPIHandler
Gunnar Beutner [Thu, 15 Oct 2015 07:26:58 +0000 (09:26 +0200)]
Fix incorrect variable type in ApiListener::ConfigUpdateObjectAPIHandler

refs #10355

8 years agoAvoid evaluating unnecessary filters
Gunnar Beutner [Wed, 14 Oct 2015 14:52:01 +0000 (16:52 +0200)]
Avoid evaluating unnecessary filters

refs #10360

8 years agoImprove performance for object queries
Gunnar Beutner [Wed, 14 Oct 2015 14:08:23 +0000 (16:08 +0200)]
Improve performance for object queries

fixes #10360

8 years agoDon't look up joined objects when we don't need to
Gunnar Beutner [Wed, 14 Oct 2015 13:36:59 +0000 (15:36 +0200)]
Don't look up joined objects when we don't need to

refs #10360

8 years agoMake sure that the 'version' attribute is updated when config attributes are changed
Gunnar Beutner [Wed, 14 Oct 2015 11:04:39 +0000 (13:04 +0200)]
Make sure that the 'version' attribute is updated when config attributes are changed

fixes #10355

8 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 14 Oct 2015 10:23:03 +0000 (12:23 +0200)]
Update AUTHORS

refs #10354

8 years agoImprove error handling in cidr_match function
Thomas Gelf [Wed, 14 Oct 2015 10:11:04 +0000 (12:11 +0200)]
Improve error handling in cidr_match function

refs #10354

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoImplement the cidr_match function
Gunnar Beutner [Wed, 14 Oct 2015 08:11:49 +0000 (10:11 +0200)]
Implement the cidr_match function

fixes #10354

8 years agoImprove timeperiods documentation
Jean Flach [Tue, 13 Oct 2015 11:46:31 +0000 (13:46 +0200)]
Improve timeperiods documentation

refs #10352