]> granicus.if.org Git - icinga2/log
icinga2
9 years agoImplement more unit tests
Gunnar Beutner [Sun, 23 Nov 2014 11:35:13 +0000 (12:35 +0100)]
Implement more unit tests

refs #7805

9 years agoRemove debug code
Gunnar Beutner [Sun, 23 Nov 2014 11:08:29 +0000 (12:08 +0100)]
Remove debug code

refs #7800

9 years agoFix some more shift/reduce conflicts
Gunnar Beutner [Sun, 23 Nov 2014 11:06:47 +0000 (12:06 +0100)]
Fix some more shift/reduce conflicts

refs #7800

9 years agoImprove test coverage for the Convert class
Gunnar Beutner [Sun, 23 Nov 2014 08:58:33 +0000 (09:58 +0100)]
Improve test coverage for the Convert class

refs #7805

9 years agoImplement unit tests for the config parser
Gunnar Beutner [Sun, 23 Nov 2014 08:53:28 +0000 (09:53 +0100)]
Implement unit tests for the config parser

refs #7805

9 years agoFix incorrect result for the !in operator
Gunnar Beutner [Sun, 23 Nov 2014 08:52:17 +0000 (09:52 +0100)]
Fix incorrect result for the !in operator

fixes #7806

9 years agoImprove test coverage for the array class
Gunnar Beutner [Sun, 23 Nov 2014 08:50:11 +0000 (09:50 +0100)]
Improve test coverage for the array class

9 years agoFix the shift/reduce conflicts in the parser
Gunnar Beutner [Sat, 22 Nov 2014 22:02:12 +0000 (23:02 +0100)]
Fix the shift/reduce conflicts in the parser

fixes #7800

9 years agoRemove the C++ code generator
Gunnar Beutner [Sat, 22 Nov 2014 18:23:42 +0000 (19:23 +0100)]
Remove the C++ code generator

refs #7699

9 years agoRefactor the stack frame handling for scripts
Gunnar Beutner [Sat, 22 Nov 2014 11:21:28 +0000 (12:21 +0100)]
Refactor the stack frame handling for scripts

fixes #7748

9 years agoFix initialization bug for the Notification class
Gunnar Beutner [Sat, 22 Nov 2014 15:42:57 +0000 (16:42 +0100)]
Fix initialization bug for the Notification class

refs #7780

9 years agoFix initialization for the ApiListener class
Gunnar Beutner [Fri, 21 Nov 2014 22:23:31 +0000 (23:23 +0100)]
Fix initialization for the ApiListener class

fixes #7780

9 years agoIncrease default timeout for NRPE checks
Gunnar Beutner [Fri, 21 Nov 2014 21:05:03 +0000 (22:05 +0100)]
Increase default timeout for NRPE checks

fixes #7747

9 years agoFix initialization bug for the Endpoint class
Gunnar Beutner [Fri, 21 Nov 2014 20:01:44 +0000 (21:01 +0100)]
Fix initialization bug for the Endpoint class

refs #7780

9 years agoMake sure source information is always available for error messages
Gunnar Beutner [Fri, 21 Nov 2014 17:35:59 +0000 (18:35 +0100)]
Make sure source information is always available for error messages

refs #7699

9 years agoSplit DynamicObject::OnConfigLoaded into two separate events
Gunnar Beutner [Fri, 21 Nov 2014 17:31:37 +0000 (18:31 +0100)]
Split DynamicObject::OnConfigLoaded into two separate events

refs #7780

9 years agoAdd notification custom vars to the satellite-{host,service} templates
Gunnar Beutner [Fri, 21 Nov 2014 13:02:51 +0000 (14:02 +0100)]
Add notification custom vars to the satellite-{host,service} templates

fixes #7770

9 years agoImprove error messages for the config parser
Gunnar Beutner [Fri, 21 Nov 2014 08:07:08 +0000 (09:07 +0100)]
Improve error messages for the config parser

refs #7699

9 years agoFix some incorrectly generated code
Gunnar Beutner [Fri, 21 Nov 2014 06:37:20 +0000 (07:37 +0100)]
Fix some incorrectly generated code

refs #7699

9 years agoBuild fix
Gunnar Beutner [Thu, 20 Nov 2014 21:53:59 +0000 (22:53 +0100)]
Build fix

refs #7699

9 years agoImplement a C++ code generator for libconfig
Gunnar Beutner [Sat, 15 Nov 2014 07:20:22 +0000 (08:20 +0100)]
Implement a C++ code generator for libconfig

fixes #7699
fixes #7704
fixes #7706

9 years agoRefactor apply/object rules
Gunnar Beutner [Sun, 16 Nov 2014 15:20:39 +0000 (16:20 +0100)]
Refactor apply/object rules

fixes #7700

9 years agoRemove icinga-prepare-dirs from icinga-bin package
Tim Hardeck [Thu, 20 Nov 2014 14:56:48 +0000 (15:56 +0100)]
Remove icinga-prepare-dirs from icinga-bin package

`icinga-prepare-dirs` was part of the package common and bin. Since it
was added with 2.2.0 to common with a man page I would expect this to be
the right place so I removed it from bin.

fixes #7740

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
9 years agoFix incorrect return type for ScriptSignal::Invoke
Gunnar Beutner [Thu, 20 Nov 2014 18:43:50 +0000 (19:43 +0100)]
Fix incorrect return type for ScriptSignal::Invoke

refs #7744

9 years agoFix incorrect error message for localhost (in "node update-config")
Gunnar Beutner [Thu, 20 Nov 2014 13:53:59 +0000 (14:53 +0100)]
Fix incorrect error message for localhost (in "node update-config")

fixes #7754

9 years agoRefactor the config validator so that it doesn't require serialized objects
Gunnar Beutner [Thu, 20 Nov 2014 12:28:21 +0000 (13:28 +0100)]
Refactor the config validator so that it doesn't require serialized objects

refs #7701

9 years agoDon't validate strings in the JSON parser
Gunnar Beutner [Thu, 20 Nov 2014 09:09:13 +0000 (10:09 +0100)]
Don't validate strings in the JSON parser

fixes #7730

9 years agoAvoid rebuilding libbase when the version number changes
Gunnar Beutner [Thu, 20 Nov 2014 08:59:39 +0000 (09:59 +0100)]
Avoid rebuilding libbase when the version number changes

fixes #7647

9 years agoImplement support for signals
Gunnar Beutner [Thu, 20 Nov 2014 05:53:57 +0000 (06:53 +0100)]
Implement support for signals

fixes #7744

9 years agoAdd Windows-specific example config files
Gunnar Beutner [Wed, 19 Nov 2014 06:20:37 +0000 (07:20 +0100)]
Add Windows-specific example config files

9 years agoSome minor plugin fixes
Gunnar Beutner [Wed, 19 Nov 2014 05:40:58 +0000 (06:40 +0100)]
Some minor plugin fixes

9 years agoFix file permissions in the Windows wizard
Gunnar Beutner [Tue, 18 Nov 2014 17:33:51 +0000 (18:33 +0100)]
Fix file permissions in the Windows wizard

refs #7726

9 years agoFix another incorrect argument name
Gunnar Beutner [Tue, 18 Nov 2014 15:48:58 +0000 (16:48 +0100)]
Fix another incorrect argument name

refs #7726

9 years agoFix: Windows wizard is missing --zone argument
Gunnar Beutner [Tue, 18 Nov 2014 15:19:32 +0000 (16:19 +0100)]
Fix: Windows wizard is missing --zone argument

fixes #7726

9 years agoFix incorrect CLI command name in the Windows wizard
Gunnar Beutner [Tue, 18 Nov 2014 15:06:50 +0000 (16:06 +0100)]
Fix incorrect CLI command name in the Windows wizard

fixes #7725

9 years agoFix markdown urls
Michael Friedrich [Tue, 18 Nov 2014 11:28:01 +0000 (12:28 +0100)]
Fix markdown urls

9 years agoAdd an option that hides CLI commands
Gunnar Beutner [Mon, 17 Nov 2014 17:42:22 +0000 (18:42 +0100)]
Add an option that hides CLI commands

fixes #7702

9 years agoClean up the DebugHint class
Gunnar Beutner [Mon, 17 Nov 2014 09:34:11 +0000 (10:34 +0100)]
Clean up the DebugHint class

9 years agoProvide a specialized function overload for Convert::ToDouble(const Value&)
Gunnar Beutner [Mon, 17 Nov 2014 12:59:29 +0000 (13:59 +0100)]
Provide a specialized function overload for Convert::ToDouble(const Value&)

9 years agoRelease version 2.2.0 v2.2.0
Gunnar Beutner [Mon, 17 Nov 2014 09:52:21 +0000 (10:52 +0100)]
Release version 2.2.0

9 years agoBuild fix for RHEL 5
Gunnar Beutner [Mon, 17 Nov 2014 09:22:52 +0000 (10:22 +0100)]
Build fix for RHEL 5

9 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 17 Nov 2014 08:52:34 +0000 (09:52 +0100)]
Update AUTHORS

9 years agoSyntax: Add missing keywords
Michael Friedrich [Mon, 17 Nov 2014 08:51:24 +0000 (09:51 +0100)]
Syntax: Add missing keywords

9 years agoComment out InitializeProcThreadAttributeList (for now)
Gunnar Beutner [Mon, 17 Nov 2014 08:45:35 +0000 (09:45 +0100)]
Comment out InitializeProcThreadAttributeList (for now)

fixes #7681

9 years agoImplement an experimental variable to limit the number of threads
Gunnar Beutner [Sun, 16 Nov 2014 12:14:42 +0000 (13:14 +0100)]
Implement an experimental variable to limit the number of threads

9 years agoDocs: Fix markdown formatting
Michael Friedrich [Sat, 15 Nov 2014 16:14:39 +0000 (17:14 +0100)]
Docs: Fix markdown formatting

refs #7387

9 years agoFix: Names for nested objects are evaluated at the wrong time
Gunnar Beutner [Sat, 15 Nov 2014 14:57:23 +0000 (15:57 +0100)]
Fix: Names for nested objects are evaluated at the wrong time

fixes #7689

9 years agoUpdate what's new (docs, changelog)
Michael Friedrich [Sat, 15 Nov 2014 14:47:52 +0000 (15:47 +0100)]
Update what's new (docs, changelog)

refs #7387

9 years agoDocs: Add missing init.conf
Michael Friedrich [Sat, 15 Nov 2014 14:46:36 +0000 (15:46 +0100)]
Docs: Add missing init.conf

9 years agoDocs: Fix remote client commands, formatting, missing attributes
Michael Friedrich [Sat, 15 Nov 2014 14:10:22 +0000 (15:10 +0100)]
Docs: Fix remote client commands, formatting, missing attributes

refs #7254

9 years agoDocs: Update Icinga Web 2 docs, clarify on the ui names (1.x)
Michael Friedrich [Sat, 15 Nov 2014 13:12:35 +0000 (14:12 +0100)]
Docs: Update Icinga Web 2 docs, clarify on the ui names (1.x)

fixes #7620

9 years agoDocs: Update agent/client setup
Michael Friedrich [Sat, 15 Nov 2014 12:53:37 +0000 (13:53 +0100)]
Docs: Update agent/client setup

fixes #7254

9 years agoFix "object list" output for empty fields
Gunnar Beutner [Sat, 15 Nov 2014 11:19:29 +0000 (12:19 +0100)]
Fix "object list" output for empty fields

9 years agoFix missing debug info for nested dictionaries
Gunnar Beutner [Sat, 15 Nov 2014 11:17:59 +0000 (12:17 +0100)]
Fix missing debug info for nested dictionaries

fixes #7688

9 years agoUse Array::Contains in InExpression/NotInExpression
Gunnar Beutner [Sat, 15 Nov 2014 07:22:09 +0000 (08:22 +0100)]
Use Array::Contains in InExpression/NotInExpression

9 years agoMake sure that notified users are stored in state file
Michael Friedrich [Wed, 12 Nov 2014 19:32:34 +0000 (20:32 +0100)]
Make sure that notified users are stored in state file

refs #7579

9 years agoUse <reinterpret_cast>()
Jean Flach [Fri, 14 Nov 2014 15:26:30 +0000 (16:26 +0100)]
Use <reinterpret_cast>()

9 years agoClean up check plugins more
Jean Flach [Fri, 14 Nov 2014 13:36:10 +0000 (14:36 +0100)]
Clean up check plugins more

9 years agoClean up check plugins.
Jean Flach [Fri, 14 Nov 2014 12:57:54 +0000 (13:57 +0100)]
Clean up check plugins.

fixes #7670 #7669

9 years agoClean up check_services
Jean Flach [Fri, 14 Nov 2014 12:54:29 +0000 (13:54 +0100)]
Clean up check_services

fixes #7666 #7665 #7664

9 years agoClean up check_procs
Jean Flach [Fri, 14 Nov 2014 12:15:32 +0000 (13:15 +0100)]
Clean up check_procs

fixes #7667

9 years agoImprove readability and output of check_network
Jean Flach [Fri, 14 Nov 2014 12:09:04 +0000 (13:09 +0100)]
Improve readability and output of check_network

fixes #7668

9 years agoMerge branch 'larsengels-master'
Gunnar Beutner [Fri, 14 Nov 2014 09:44:14 +0000 (10:44 +0100)]
Merge branch 'larsengels-master'

fixes #7680

9 years agoAdd support to conditionally use MysSQL and/or PostgreSQL
Lars Engels [Thu, 13 Nov 2014 21:37:12 +0000 (22:37 +0100)]
Add support to conditionally use MysSQL and/or PostgreSQL

refs #7680

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
9 years agoAdd support for FreeBSD and DragonFlyBSD
Lars Engels [Thu, 13 Nov 2014 21:36:38 +0000 (22:36 +0100)]
Add support for FreeBSD and DragonFlyBSD

refs #7680

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
9 years agoFix CFLAGS/CXXFLAGS in the RPM spec file
Gunnar Beutner [Fri, 14 Nov 2014 06:33:24 +0000 (07:33 +0100)]
Fix CFLAGS/CXXFLAGS in the RPM spec file

fixes #7678

9 years agoTurn on verbose builds for the RPM
Gunnar Beutner [Fri, 14 Nov 2014 05:37:30 +0000 (06:37 +0100)]
Turn on verbose builds for the RPM

9 years agoFix null pointer dereference while parsing the config
Gunnar Beutner [Thu, 13 Nov 2014 22:25:52 +0000 (23:25 +0100)]
Fix null pointer dereference while parsing the config

9 years agoAdd default parameters to the AST classes
Gunnar Beutner [Thu, 13 Nov 2014 22:25:31 +0000 (23:25 +0100)]
Add default parameters to the AST classes

9 years agoFix CA2202 code analysis warning in the Windows wizard
Gunnar Beutner [Thu, 13 Nov 2014 19:18:41 +0000 (20:18 +0100)]
Fix CA2202 code analysis warning in the Windows wizard

9 years agoBuild fix for the Windows plugins
Gunnar Beutner [Thu, 13 Nov 2014 19:11:17 +0000 (20:11 +0100)]
Build fix for the Windows plugins

9 years agoFix crash in StreamLogger::~StreamLogger
Gunnar Beutner [Thu, 13 Nov 2014 18:44:51 +0000 (19:44 +0100)]
Fix crash in StreamLogger::~StreamLogger

9 years agoDrop invalid headers from libhello debug code
Michael Friedrich [Thu, 13 Nov 2014 19:09:36 +0000 (20:09 +0100)]
Drop invalid headers from libhello debug code

refs #7559

9 years agoUse Application::Exit to implement the exit() script function
Gunnar Beutner [Thu, 13 Nov 2014 14:56:47 +0000 (15:56 +0100)]
Use Application::Exit to implement the exit() script function

9 years agoImprove check argument parsing
Jean Flach [Thu, 13 Nov 2014 14:57:10 +0000 (15:57 +0100)]
Improve check argument parsing

9 years agoRemove debug code
Gunnar Beutner [Thu, 13 Nov 2014 14:53:15 +0000 (15:53 +0100)]
Remove debug code

refs #7559

9 years agoRemove some more redundant code from "node wizard"
Gunnar Beutner [Thu, 13 Nov 2014 14:32:41 +0000 (15:32 +0100)]
Remove some more redundant code from "node wizard"

refs #7656

9 years agoFix handling of the CA certificate in "node wizard"
Gunnar Beutner [Thu, 13 Nov 2014 14:25:15 +0000 (15:25 +0100)]
Fix handling of the CA certificate in "node wizard"

fixes #7656

9 years agoImplement support for executing remote commands
Gunnar Beutner [Thu, 13 Nov 2014 10:23:57 +0000 (11:23 +0100)]
Implement support for executing remote commands

fixes #7559

9 years agoRemove the migrate-hosts script
Gunnar Beutner [Thu, 13 Nov 2014 10:15:55 +0000 (11:15 +0100)]
Remove the migrate-hosts script

fixes #7398

9 years agoFix deadlock in ThreadPool::Stop
Gunnar Beutner [Thu, 13 Nov 2014 09:00:49 +0000 (10:00 +0100)]
Fix deadlock in ThreadPool::Stop

9 years agoRemove unions from the DebugInfo class
Gunnar Beutner [Thu, 13 Nov 2014 08:02:43 +0000 (09:02 +0100)]
Remove unions from the DebugInfo class

9 years agoAdd missing Stop call in the Logger class
Gunnar Beutner [Thu, 13 Nov 2014 08:02:23 +0000 (09:02 +0100)]
Add missing Stop call in the Logger class

fixes #7652

9 years agoImprove error messages for the Process class
Gunnar Beutner [Thu, 13 Nov 2014 07:53:12 +0000 (08:53 +0100)]
Improve error messages for the Process class

9 years agoRemove obsolete mutex profiling code
Gunnar Beutner [Thu, 13 Nov 2014 04:47:48 +0000 (05:47 +0100)]
Remove obsolete mutex profiling code

refs #7622

9 years agoMake sure all threads are dead before calling fork()
Gunnar Beutner [Wed, 12 Nov 2014 20:27:36 +0000 (21:27 +0100)]
Make sure all threads are dead before calling fork()

fixes #7653

9 years agoImplement the __get_object function
Gunnar Beutner [Wed, 12 Nov 2014 18:08:36 +0000 (19:08 +0100)]
Implement the __get_object function

9 years agoGelfWriter: Change _state to human-readable string
Michael Friedrich [Wed, 12 Nov 2014 16:58:13 +0000 (17:58 +0100)]
GelfWriter: Change _state to human-readable string

refs #7619

9 years agoGelfWriter: Add missing fields, fix notification state
Michael Friedrich [Wed, 12 Nov 2014 16:48:48 +0000 (17:48 +0100)]
GelfWriter: Add missing fields, fix notification state

refs #7619

9 years agoAdd release barrier in ObjectLock::Unlock
Gunnar Beutner [Wed, 12 Nov 2014 12:18:34 +0000 (13:18 +0100)]
Add release barrier in ObjectLock::Unlock

refs #7648

9 years agoFix incorrect field name
Gunnar Beutner [Wed, 12 Nov 2014 11:46:33 +0000 (12:46 +0100)]
Fix incorrect field name

refs #7648

9 years agoFix crash when daemonizing Icinga
Gunnar Beutner [Wed, 12 Nov 2014 11:44:14 +0000 (12:44 +0100)]
Fix crash when daemonizing Icinga

refs #7648

9 years agoAdd missing barriers for Object::m_LockOwner
Gunnar Beutner [Wed, 12 Nov 2014 11:32:14 +0000 (12:32 +0100)]
Add missing barriers for Object::m_LockOwner

refs #7648

9 years agoFix _DEBUG define on *NIX
Gunnar Beutner [Wed, 12 Nov 2014 10:34:59 +0000 (11:34 +0100)]
Fix _DEBUG define on *NIX

9 years agoFix validator for dependency filters
Gunnar Beutner [Wed, 12 Nov 2014 08:40:45 +0000 (09:40 +0100)]
Fix validator for dependency filters

fixes #7650

9 years agoFix crash in the unit tests
Gunnar Beutner [Wed, 12 Nov 2014 08:33:13 +0000 (09:33 +0100)]
Fix crash in the unit tests

fixes #7648

9 years agoEnable parallel builds for the Debian package
Gunnar Beutner [Wed, 12 Nov 2014 07:40:48 +0000 (08:40 +0100)]
Enable parallel builds for the Debian package

fixes #7649

9 years agoFix static initializers for Utility::AddDeferredInitializer
Gunnar Beutner [Wed, 12 Nov 2014 07:00:56 +0000 (08:00 +0100)]
Fix static initializers for Utility::AddDeferredInitializer

fixes #7646

9 years agoAllow thin mutex calls to be inlined
Gunnar Beutner [Wed, 12 Nov 2014 05:48:23 +0000 (06:48 +0100)]
Allow thin mutex calls to be inlined

refs #7622

9 years agoAllow locks to be inlined
Gunnar Beutner [Wed, 12 Nov 2014 05:33:20 +0000 (06:33 +0100)]
Allow locks to be inlined

refs #7622