]> granicus.if.org Git - icinga2/log
icinga2
9 years agoRemove some obsolete references to cJSON
Gunnar Beutner [Wed, 5 Nov 2014 15:47:11 +0000 (16:47 +0100)]
Remove some obsolete references to cJSON

refs #7452

9 years agoFix operator shared_ptr<T> for the Value class
Gunnar Beutner [Wed, 5 Nov 2014 15:09:22 +0000 (16:09 +0100)]
Fix operator shared_ptr<T> for the Value class

fixes #7586

9 years agoFix templates field
Gunnar Beutner [Wed, 5 Nov 2014 14:40:13 +0000 (15:40 +0100)]
Fix templates field

fixes #7585

9 years agoFix crash in ApiEvents::CheckResultAPIHandler
Gunnar Beutner [Wed, 5 Nov 2014 08:58:43 +0000 (09:58 +0100)]
Fix crash in ApiEvents::CheckResultAPIHandler

fixes #7577

9 years agoFix memory leak in the config parser
Gunnar Beutner [Wed, 5 Nov 2014 08:29:15 +0000 (09:29 +0100)]
Fix memory leak in the config parser

refs #7566

9 years agoImprove memory usage for the config compiler
Gunnar Beutner [Wed, 5 Nov 2014 07:55:00 +0000 (08:55 +0100)]
Improve memory usage for the config compiler

9 years agoStatusDataWriter: Encode custom attr arrays&dictionaries as json string
Michael Friedrich [Tue, 4 Nov 2014 17:08:26 +0000 (18:08 +0100)]
StatusDataWriter: Encode custom attr arrays&dictionaries as json string

refs #7560

9 years agoLivestatus: Add 'cv_is_json' and encode CV arrays/dicts as json
Michael Friedrich [Tue, 4 Nov 2014 15:44:45 +0000 (16:44 +0100)]
Livestatus: Add 'cv_is_json' and encode CV arrays/dicts as json

refs #7560

9 years agoFix incorrect field name
Gunnar Beutner [Tue, 4 Nov 2014 14:24:57 +0000 (15:24 +0100)]
Fix incorrect field name

refs #7566

9 years agoAllow strings as indexers
Gunnar Beutner [Tue, 4 Nov 2014 14:22:10 +0000 (15:22 +0100)]
Allow strings as indexers

refs #7566

9 years agoImplement support for arbitrarily complex indexers
Gunnar Beutner [Tue, 4 Nov 2014 14:19:33 +0000 (15:19 +0100)]
Implement support for arbitrarily complex indexers

fixes #7566

9 years agoDB IDO: Dump custom attributes as json encoded arrays/dictionaries; add 'is_json...
Michael Friedrich [Tue, 4 Nov 2014 11:18:07 +0000 (12:18 +0100)]
DB IDO: Dump custom attributes as json encoded arrays/dictionaries; add 'is_json' column

refs #7560

9 years agoBuild fix for RHEL 5
Gunnar Beutner [Tue, 4 Nov 2014 10:17:14 +0000 (11:17 +0100)]
Build fix for RHEL 5

9 years agoImplement dictionary support for apply+for
Gunnar Beutner [Tue, 4 Nov 2014 10:01:00 +0000 (11:01 +0100)]
Implement dictionary support for apply+for

fixes #7561

9 years agoDocs: Update troubleshooting with gdb debug printer install
Michael Friedrich [Mon, 3 Nov 2014 18:36:45 +0000 (19:36 +0100)]
Docs: Update troubleshooting with gdb debug printer install

refs #7514

9 years agoImplement the random() function
Gunnar Beutner [Mon, 3 Nov 2014 16:21:33 +0000 (17:21 +0100)]
Implement the random() function

9 years agoImplement the keys() function
Gunnar Beutner [Mon, 3 Nov 2014 12:05:14 +0000 (13:05 +0100)]
Implement the keys() function

fixes #7557

9 years agoUse double-quotes in "object list"
Gunnar Beutner [Mon, 3 Nov 2014 11:39:59 +0000 (12:39 +0100)]
Use double-quotes in "object list"

refs #7251

9 years agoFix non-unity builds
Gunnar Beutner [Mon, 3 Nov 2014 06:07:54 +0000 (07:07 +0100)]
Fix non-unity builds

9 years agoImplement typeof() function
Gunnar Beutner [Sun, 2 Nov 2014 23:44:04 +0000 (00:44 +0100)]
Implement typeof() function

9 years agoDocumentation: Add some more remote client details
Michael Friedrich [Sun, 2 Nov 2014 20:56:11 +0000 (21:56 +0100)]
Documentation: Add some more remote client details

Rename agents.conf too.

refs #7254

9 years agoDocs: Add cli commands
Michael Friedrich [Sun, 2 Nov 2014 20:46:02 +0000 (21:46 +0100)]
Docs: Add cli commands

fixes #7356

9 years agoDocs: Add first draft for setting up remote clients using Icinga 2
Michael Friedrich [Sun, 2 Nov 2014 19:35:16 +0000 (20:35 +0100)]
Docs: Add first draft for setting up remote clients using Icinga 2

refs #7254

9 years agoCli: Disable notifications on remote client 'node setup/wizard'
Michael Friedrich [Sun, 2 Nov 2014 19:17:57 +0000 (20:17 +0100)]
Cli: Disable notifications on remote client 'node setup/wizard'

fixes #7547

9 years agoCli: Fix serial.txt permissions for 'node setup/wizard'
Michael Friedrich [Sun, 2 Nov 2014 18:38:35 +0000 (19:38 +0100)]
Cli: Fix serial.txt permissions for 'node setup/wizard'

fixes #7546

9 years agoCli: Fix error message for clearing repository commit changes
Michael Friedrich [Sun, 2 Nov 2014 17:22:51 +0000 (18:22 +0100)]
Cli: Fix error message for clearing repository commit changes

9 years agoCli: Better output formatting for 'node wizard'
Michael Friedrich [Sun, 2 Nov 2014 16:45:51 +0000 (17:45 +0100)]
Cli: Better output formatting for 'node wizard'

9 years agoImplement support for formatting arrays in macro strings
Gunnar Beutner [Sun, 2 Nov 2014 06:35:43 +0000 (07:35 +0100)]
Implement support for formatting arrays in macro strings

fixes #7262

9 years agoImplement support for arrays in custom variables
Gunnar Beutner [Sun, 2 Nov 2014 06:22:00 +0000 (07:22 +0100)]
Implement support for arrays in custom variables

fixes #6544

9 years agoDocs: Move troubleshooting after getting started, mention object list in validation
Michael Friedrich [Sat, 1 Nov 2014 20:35:48 +0000 (21:35 +0100)]
Docs: Move troubleshooting after getting started, mention object list in validation

fixes #7514
fixes #7478

9 years agoDocs: Update Changes for What's New section
Michael Friedrich [Sat, 1 Nov 2014 20:06:43 +0000 (21:06 +0100)]
Docs: Update Changes for What's New section

refs #7387

9 years agoMake the 'name' attribute available in object definitions
Gunnar Beutner [Sat, 1 Nov 2014 05:39:21 +0000 (06:39 +0100)]
Make the 'name' attribute available in object definitions

fixes #7538

9 years agoFix: Nesting an object in a template causes the template to become non-abstract
Gunnar Beutner [Sat, 1 Nov 2014 05:25:58 +0000 (06:25 +0100)]
Fix: Nesting an object in a template causes the template to become non-abstract

fixes #7537

9 years agoClean up the config parser a bit
Gunnar Beutner [Sat, 1 Nov 2014 04:23:14 +0000 (05:23 +0100)]
Clean up the config parser a bit

9 years agoMake sure templates are never evaluated on their own
Gunnar Beutner [Fri, 31 Oct 2014 16:52:47 +0000 (17:52 +0100)]
Make sure templates are never evaluated on their own

fixes #7536

9 years agoCli: Require --zone for 'node setup'
Michael Friedrich [Fri, 31 Oct 2014 21:21:36 +0000 (22:21 +0100)]
Cli: Require --zone for 'node setup'

refs #7522

9 years agoCLI Commands: Remove timestamp prefix when logging output
Michael Friedrich [Fri, 31 Oct 2014 21:01:36 +0000 (22:01 +0100)]
CLI Commands: Remove timestamp prefix when logging output

fixes #7376

9 years agoCli: Repository should validate if object exists before add/remove
Michael Friedrich [Fri, 31 Oct 2014 20:08:11 +0000 (21:08 +0100)]
Cli: Repository should validate if object exists before add/remove

fixes #7461

9 years agoCli: Fix incorrect error message in 'node update-config'
Michael Friedrich [Fri, 31 Oct 2014 19:35:05 +0000 (20:35 +0100)]
Cli: Fix incorrect error message in 'node update-config'

fixes #7529

9 years agoCli: Fix confusing error messages in repository <type> add
Michael Friedrich [Fri, 31 Oct 2014 19:27:10 +0000 (20:27 +0100)]
Cli: Fix confusing error messages in repository <type> add

fixes #7530

9 years agoCli: Fix black/whitelist remove command
Michael Friedrich [Fri, 31 Oct 2014 19:22:24 +0000 (20:22 +0100)]
Cli: Fix black/whitelist remove command

refs #7526

9 years agoChange blacklist/whitelist backend
Michael Friedrich [Fri, 31 Oct 2014 15:21:07 +0000 (16:21 +0100)]
Change blacklist/whitelist backend

fixes #7526

9 years agoRemove static_cast optimization for Value's operator shared_ptr<T>
Gunnar Beutner [Fri, 31 Oct 2014 13:34:28 +0000 (14:34 +0100)]
Remove static_cast optimization for Value's operator shared_ptr<T>

9 years agoFix error message in migrate-hosts
Gunnar Beutner [Fri, 31 Oct 2014 12:47:34 +0000 (13:47 +0100)]
Fix error message in migrate-hosts

fixes #7528

9 years agoMove the "repository commit --clear" functionality into a separate command
Gunnar Beutner [Fri, 31 Oct 2014 12:27:29 +0000 (13:27 +0100)]
Move the "repository commit --clear" functionality into a separate command

fixes #7499

9 years agoRename templates "agent-{host,service}" to "satellite-{host,service}"
Gunnar Beutner [Fri, 31 Oct 2014 12:15:04 +0000 (13:15 +0100)]
Rename templates "agent-{host,service}" to "satellite-{host,service}"

refs #7525

9 years agoUpdate texts for the Windows wizard
Gunnar Beutner [Fri, 31 Oct 2014 12:08:09 +0000 (13:08 +0100)]
Update texts for the Windows wizard

refs #7525

9 years agoUpdate variable names
Gunnar Beutner [Fri, 31 Oct 2014 10:55:38 +0000 (11:55 +0100)]
Update variable names

refs #7516

9 years agoRename --agent to --zone (for blacklist/whitelist)
Gunnar Beutner [Fri, 31 Oct 2014 10:53:44 +0000 (11:53 +0100)]
Rename --agent to --zone (for blacklist/whitelist)

fixes #7516

9 years agoRename CLI command "agent" to "node"
Gunnar Beutner [Fri, 31 Oct 2014 10:38:16 +0000 (11:38 +0100)]
Rename CLI command "agent" to "node"

fixes #7525

9 years agoCli: Fix import description for 'repository <type> add'
Michael Friedrich [Fri, 31 Oct 2014 10:20:14 +0000 (11:20 +0100)]
Cli: Fix import description for 'repository <type> add'

9 years agoUse ScriptVariable::Get for "agent wizard" and "agent setup"
Gunnar Beutner [Fri, 31 Oct 2014 09:35:03 +0000 (10:35 +0100)]
Use ScriptVariable::Get for "agent wizard" and "agent setup"

fixes #7520

9 years agoImplement field attribute to hide fields in command auto-completion
Gunnar Beutner [Fri, 31 Oct 2014 07:53:25 +0000 (08:53 +0100)]
Implement field attribute to hide fields in command auto-completion

fixes #7403

9 years agoHide attributes in command auto-completion which cannot be set
Gunnar Beutner [Fri, 31 Oct 2014 07:49:14 +0000 (08:49 +0100)]
Hide attributes in command auto-completion which cannot be set

refs #7403

9 years agoAgent health check must not have zone attribute
Gunnar Beutner [Fri, 31 Oct 2014 05:27:22 +0000 (06:27 +0100)]
Agent health check must not have zone attribute

fixes #7519

9 years agoDocs: MonitoringExchamge -> IcingaExchange
Michael Friedrich [Thu, 30 Oct 2014 20:05:20 +0000 (21:05 +0100)]
Docs: MonitoringExchamge -> IcingaExchange

9 years agoCli: Chown certificate dirs/files to the icinga user in agent setup/wizard
Michael Friedrich [Thu, 30 Oct 2014 19:34:33 +0000 (20:34 +0100)]
Cli: Chown certificate dirs/files to the icinga user in agent setup/wizard

fixes #7476
refs #7465
refs #7423

9 years agoAdd Utility::SetFileOwnership() on Linux
Michael Friedrich [Thu, 30 Oct 2014 18:52:22 +0000 (19:52 +0100)]
Add Utility::SetFileOwnership() on Linux

refs #7476

9 years agoDocs: Fix Icinga Web 2 description & urls
Michael Friedrich [Thu, 30 Oct 2014 18:51:14 +0000 (19:51 +0100)]
Docs: Fix Icinga Web 2 description & urls

9 years agoCli: Fix choices in agent setup wizard
Michael Friedrich [Thu, 30 Oct 2014 17:21:15 +0000 (18:21 +0100)]
Cli: Fix choices in agent setup wizard

refs #7465

9 years agoCli Agent Setup: Provide hint with actual CN for master ticket cmd
Michael Friedrich [Thu, 30 Oct 2014 17:07:00 +0000 (18:07 +0100)]
Cli Agent Setup: Provide hint with actual CN for master ticket cmd

refs #7465

9 years agoCli: Add 'agent wizard' command
Michael Friedrich [Thu, 30 Oct 2014 15:19:51 +0000 (16:19 +0100)]
Cli: Add 'agent wizard' command

refs #7465

9 years agoUse VariableUtility for "pki ticket"
Gunnar Beutner [Thu, 30 Oct 2014 14:22:55 +0000 (15:22 +0100)]
Use VariableUtility for "pki ticket"

fixes #7443

9 years agoCli: Fix log for CA copy in 'agent setup --master'
Michael Friedrich [Thu, 30 Oct 2014 14:19:09 +0000 (15:19 +0100)]
Cli: Fix log for CA copy in 'agent setup --master'

refs #7248

9 years agoFix enabling features in RPMs
Michael Friedrich [Thu, 30 Oct 2014 13:40:03 +0000 (14:40 +0100)]
Fix enabling features in RPMs

fixes #7510

9 years agoFix operator== for Value and String comparisons
Gunnar Beutner [Thu, 30 Oct 2014 12:04:00 +0000 (13:04 +0100)]
Fix operator== for Value and String comparisons

refs #7472

9 years agoDocs: Fix typos and other small corrections
Wolfgang Nieder [Tue, 28 Oct 2014 20:43:20 +0000 (21:43 +0100)]
Docs: Fix typos and other small corrections

fixes #7477

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoUpdate downtimes.conf example config
Gunnar Beutner [Thu, 30 Oct 2014 11:22:31 +0000 (12:22 +0100)]
Update downtimes.conf example config

fixes #7472

9 years agoFix scoping rules for apply rules
Gunnar Beutner [Thu, 30 Oct 2014 08:20:42 +0000 (09:20 +0100)]
Fix scoping rules for apply rules

fixes #7503

9 years agoBuild fix
Gunnar Beutner [Thu, 30 Oct 2014 08:20:25 +0000 (09:20 +0100)]
Build fix

fixes #7502

9 years agoCli: 'agent update-config' checks against black/whitelist filters on add/remove
Michael Friedrich [Wed, 29 Oct 2014 23:29:09 +0000 (00:29 +0100)]
Cli: 'agent update-config' checks against black/whitelist filters on add/remove

fixes #7501
refs #7253

9 years agoCli: Fix overwriting api.conf; Move black/whitelist functionality into AgentUtility...
Michael Friedrich [Wed, 29 Oct 2014 12:53:59 +0000 (13:53 +0100)]
Cli: Fix overwriting api.conf; Move black/whitelist functionality into AgentUtility class

refs #7253
fixes #7481

9 years agoFix Utility::GetFQDN() on OS X
Gunnar Beutner [Wed, 29 Oct 2014 15:54:33 +0000 (16:54 +0100)]
Fix Utility::GetFQDN() on OS X

fixes #7495

9 years agoMove the config files to icinga2-common
Gunnar Beutner [Wed, 29 Oct 2014 12:03:28 +0000 (13:03 +0100)]
Move the config files to icinga2-common

refs #7471

9 years agoFix build on RHEL 6.6
Gunnar Beutner [Wed, 29 Oct 2014 11:28:57 +0000 (12:28 +0100)]
Fix build on RHEL 6.6

fixes #7485

9 years agoCli: Generate a health check host if agent != host for dependencies
Michael Friedrich [Wed, 29 Oct 2014 11:03:26 +0000 (12:03 +0100)]
Cli: Generate a health check host if agent != host for dependencies

refs #7249

9 years agoCli: 'agent update-config': Don't skip service creation if host already exists
Michael Friedrich [Wed, 29 Oct 2014 10:53:24 +0000 (11:53 +0100)]
Cli: 'agent update-config': Don't skip service creation if host already exists

refs #7249

9 years agoCli: Ignore 'localhost' from agent repository on 'update-config'
Michael Friedrich [Wed, 29 Oct 2014 10:34:53 +0000 (11:34 +0100)]
Cli: Ignore 'localhost' from agent repository on 'update-config'

refs #7249

9 years agoMake sure that OnStateLoaded is called for all objects
Gunnar Beutner [Wed, 29 Oct 2014 10:14:04 +0000 (11:14 +0100)]
Make sure that OnStateLoaded is called for all objects

fixes #7482

9 years agoCli: Always generate an agent master zone parent (setup & update-config)
Michael Friedrich [Wed, 29 Oct 2014 10:09:55 +0000 (11:09 +0100)]
Cli: Always generate an agent master zone parent (setup & update-config)

refs #7423
refs #7249

9 years agoHosts/services should not have themselves as parents
Gunnar Beutner [Wed, 29 Oct 2014 09:45:23 +0000 (10:45 +0100)]
Hosts/services should not have themselves as parents

fixes #7483

9 years agoSet host/service variable in apply rules
Gunnar Beutner [Wed, 29 Oct 2014 09:09:40 +0000 (10:09 +0100)]
Set host/service variable in apply rules

fixes #7479

9 years agoUse "cluster-zone" command to check agent hosts
Gunnar Beutner [Wed, 29 Oct 2014 06:58:34 +0000 (07:58 +0100)]
Use "cluster-zone" command to check agent hosts

refs #7248

9 years agoImprove formatting for --help
Gunnar Beutner [Wed, 29 Oct 2014 06:51:35 +0000 (07:51 +0100)]
Improve formatting for --help

refs #7246

9 years agoMake the migrate-hosts script work on OS X
Gunnar Beutner [Wed, 29 Oct 2014 06:43:26 +0000 (07:43 +0100)]
Make the migrate-hosts script work on OS X

refs #7398

9 years agoCli: Add blacklist/whitelist commands for agent commands
Michael Friedrich [Tue, 28 Oct 2014 20:56:46 +0000 (21:56 +0100)]
Cli: Add blacklist/whitelist commands for agent commands

refs #7253

9 years agoCli: Write ApiListener config in 'agent setup' command
Michael Friedrich [Tue, 28 Oct 2014 20:13:15 +0000 (21:13 +0100)]
Cli: Write ApiListener config in 'agent setup' command

fixes #7438
refs #7248

9 years agoCli: Don't allow to override existing repository objects
Michael Friedrich [Tue, 28 Oct 2014 18:55:46 +0000 (19:55 +0100)]
Cli: Don't allow to override existing repository objects

refs #7255

9 years agoCli: Add agents.conf w/ default agent templates for 'agent update-config'
Michael Friedrich [Tue, 28 Oct 2014 18:46:10 +0000 (19:46 +0100)]
Cli: Add agents.conf w/ default agent templates for 'agent update-config'

refs #7248

9 years agoCli: Bail early on 'repository commit' if changelog dir does not exist
Michael Friedrich [Tue, 28 Oct 2014 18:43:37 +0000 (19:43 +0100)]
Cli: Bail early on 'repository commit' if changelog dir does not exist

refs #7255

9 years agoCli: Don't overwrite existing objects; delete old agent objects on 'agent update...
Michael Friedrich [Tue, 28 Oct 2014 18:17:37 +0000 (19:17 +0100)]
Cli: Don't overwrite existing objects; delete old agent objects on 'agent update-config'

refs #7248

9 years agoCli: Make sure that ChangeLog directory exists on 'repository commit'
Michael Friedrich [Tue, 28 Oct 2014 18:16:48 +0000 (19:16 +0100)]
Cli: Make sure that ChangeLog directory exists on 'repository commit'

refs #7255

9 years agoFix "assign where" for nested groups
Gunnar Beutner [Tue, 28 Oct 2014 17:58:22 +0000 (18:58 +0100)]
Fix "assign where" for nested groups

fixes #7475

9 years agoFix incorrect locks
Gunnar Beutner [Tue, 28 Oct 2014 17:57:30 +0000 (18:57 +0100)]
Fix incorrect locks

9 years agoBuild fix for Windows
Gunnar Beutner [Tue, 28 Oct 2014 17:09:52 +0000 (18:09 +0100)]
Build fix for Windows

9 years agoFix code style
Gunnar Beutner [Tue, 28 Oct 2014 17:04:51 +0000 (18:04 +0100)]
Fix code style

9 years agoCli: Check path before removing any object from repository
Michael Friedrich [Tue, 28 Oct 2014 14:45:01 +0000 (15:45 +0100)]
Cli: Check path before removing any object from repository

refs #7255

9 years agoCli: Fix 'repository host remove' for hosts w/o services
Michael Friedrich [Tue, 28 Oct 2014 14:23:51 +0000 (15:23 +0100)]
Cli: Fix 'repository host remove' for hosts w/o services

refs #7255

9 years agoFix performance data for API events
Gunnar Beutner [Tue, 28 Oct 2014 14:24:35 +0000 (15:24 +0100)]
Fix performance data for API events

fixes #7473

9 years agoRemove localhost virtual name thingie from apievents.cpp
Gunnar Beutner [Tue, 28 Oct 2014 13:44:55 +0000 (14:44 +0100)]
Remove localhost virtual name thingie from apievents.cpp

refs #7467