]> granicus.if.org Git - icinga2/log
icinga2
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

9 years agoMove migrate-hosts into the icinga2-common RPM package
Gunnar Beutner [Tue, 28 Oct 2014 13:24:36 +0000 (14:24 +0100)]
Move migrate-hosts into the icinga2-common RPM package

fixes #7471

9 years agoRemove virtual name feature for agent hosts
Gunnar Beutner [Tue, 28 Oct 2014 13:05:17 +0000 (14:05 +0100)]
Remove virtual name feature for agent hosts

fixes #7467

9 years agoFix icinga2-common.install file
Gunnar Beutner [Tue, 28 Oct 2014 12:27:00 +0000 (13:27 +0100)]
Fix icinga2-common.install file

refs #7398

9 years agoMigrate config files from conf.d/hosts to repository.d/hosts
Gunnar Beutner [Tue, 28 Oct 2014 12:03:13 +0000 (13:03 +0100)]
Migrate config files from conf.d/hosts to repository.d/hosts

fixes #7398

9 years agoFix: Don't validate templates
Gunnar Beutner [Tue, 28 Oct 2014 11:20:20 +0000 (12:20 +0100)]
Fix: Don't validate templates

refs #7458

9 years agoCli: Ignore 'import' attribute on repository add validation
Michael Friedrich [Tue, 28 Oct 2014 11:17:09 +0000 (12:17 +0100)]
Cli: Ignore 'import' attribute on repository add validation

refs #7458

9 years agoCli: Don't suggest '--import' on 'repository <type> remove'
Michael Friedrich [Tue, 28 Oct 2014 11:08:31 +0000 (12:08 +0100)]
Cli: Don't suggest '--import' on 'repository <type> remove'

refs #7255

9 years agoImplement validation for "repository add"
Gunnar Beutner [Tue, 28 Oct 2014 10:54:56 +0000 (11:54 +0100)]
Implement validation for "repository add"

fixes #7458

9 years agoCli: Add endpoint & zone repository object for 'agent update-config'
Michael Friedrich [Tue, 28 Oct 2014 09:54:29 +0000 (10:54 +0100)]
Cli: Add endpoint & zone repository object for 'agent update-config'

refs #7248

9 years agoCli: Add zone attribute for 'agent update-config' command
Michael Friedrich [Tue, 28 Oct 2014 09:24:19 +0000 (10:24 +0100)]
Cli: Add zone attribute for 'agent update-config' command

refs #7248

9 years agoRemove support for partial type validators
Gunnar Beutner [Tue, 28 Oct 2014 07:22:41 +0000 (08:22 +0100)]
Remove support for partial type validators

refs #7458

9 years agoFix incorrect #ifdef
Gunnar Beutner [Tue, 28 Oct 2014 07:12:54 +0000 (08:12 +0100)]
Fix incorrect #ifdef

refs #7454

9 years ago64-bit build fix for YAJL < 2.0
Gunnar Beutner [Tue, 28 Oct 2014 05:33:40 +0000 (06:33 +0100)]
64-bit build fix for YAJL < 2.0

refs #7454

9 years agoAdd YAJL to debian/copyright
Gunnar Beutner [Tue, 28 Oct 2014 05:08:22 +0000 (06:08 +0100)]
Add YAJL to debian/copyright

refs #7452

9 years agoFix compatibility with older versions of the YAJL library
Gunnar Beutner [Tue, 28 Oct 2014 04:55:08 +0000 (05:55 +0100)]
Fix compatibility with older versions of the YAJL library

refs #7454

9 years agoCli: Fix formatting of 'repository <type> list' command
Michael Friedrich [Mon, 27 Oct 2014 19:16:44 +0000 (20:16 +0100)]
Cli: Fix formatting of 'repository <type> list' command

refs #7255

9 years agoDocumentation: Update how to report a bug section
Michael Friedrich [Mon, 27 Oct 2014 18:48:09 +0000 (19:48 +0100)]
Documentation: Update how to report a bug section

fixes #7428

9 years agoCli: Make sure to create & include 'repository.d'
Michael Friedrich [Mon, 27 Oct 2014 18:18:17 +0000 (19:18 +0100)]
Cli: Make sure to create & include 'repository.d'

refs #7255

9 years agoCli: Don't run 'agent update-config' if there are uncommitted changes
Michael Friedrich [Mon, 27 Oct 2014 18:15:34 +0000 (19:15 +0100)]
Cli: Don't run 'agent update-config' if there are uncommitted changes

refs #7249

9 years agoCli: 'repository host remove' cleans service directory, add pending changes helper
Michael Friedrich [Mon, 27 Oct 2014 18:13:33 +0000 (19:13 +0100)]
Cli: 'repository host remove' cleans service directory, add pending changes helper

refs #7249
fixes #7460

9 years agoCli: Add implementation for 'agent update-config' command
Michael Friedrich [Mon, 27 Oct 2014 16:58:39 +0000 (17:58 +0100)]
Cli: Add implementation for 'agent update-config' command

refs #7249

9 years agoCli: Add 'repository commit --clear' clearing pending changes
Michael Friedrich [Mon, 27 Oct 2014 16:55:58 +0000 (17:55 +0100)]
Cli: Add 'repository commit --clear' clearing pending changes

refs #7455

9 years agoCli: Fix repository remove auto-complete suggestions
Michael Friedrich [Mon, 27 Oct 2014 14:48:52 +0000 (15:48 +0100)]
Cli: Fix repository remove auto-complete suggestions

refs #7255

9 years agoCli: Fix integer formatting in repository command
Michael Friedrich [Mon, 27 Oct 2014 14:33:36 +0000 (15:33 +0100)]
Cli: Fix integer formatting in repository command

refs #7255

9 years agoImplement agent settings for "agent set" and "agent list"
Gunnar Beutner [Mon, 27 Oct 2014 14:12:19 +0000 (15:12 +0100)]
Implement agent settings for "agent set" and "agent list"

refs #7248

9 years agoCli: Better formatting for changelog output of repository commit (--simulate)
Michael Friedrich [Mon, 27 Oct 2014 13:53:00 +0000 (14:53 +0100)]
Cli: Better formatting for changelog output of repository commit (--simulate)

refs #7255

9 years agoCli: Fix autocompletion on Debian
Michael Friedrich [Mon, 27 Oct 2014 13:13:55 +0000 (14:13 +0100)]
Cli: Fix autocompletion on Debian

refs #7246

9 years agoCli: Fix repository <type> list not showing objects
Michael Friedrich [Mon, 27 Oct 2014 12:01:21 +0000 (13:01 +0100)]
Cli: Fix repository <type> list not showing objects

Still requires parsing of config objects into printable
dictionaries.

refs #7255

9 years agoUse system-provided version of YAJL where available
Gunnar Beutner [Mon, 27 Oct 2014 11:42:57 +0000 (12:42 +0100)]
Use system-provided version of YAJL where available

fixes #7454

9 years agoUse OpenSSL's default algorithms for certificate signatures
Gunnar Beutner [Mon, 27 Oct 2014 10:32:39 +0000 (11:32 +0100)]
Use OpenSSL's default algorithms for certificate signatures

fixes #7434

9 years agoCli: Delete change file on repository commit
Michael Friedrich [Mon, 27 Oct 2014 10:02:14 +0000 (11:02 +0100)]
Cli: Delete change file on repository commit

refs #7255

9 years agoImplement support for serial files
Gunnar Beutner [Mon, 27 Oct 2014 09:52:07 +0000 (10:52 +0100)]
Implement support for serial files

fixes #7393

9 years agoThrow saved exception in JSON decoder
Gunnar Beutner [Mon, 27 Oct 2014 08:28:32 +0000 (09:28 +0100)]
Throw saved exception in JSON decoder

refs #7452

9 years agoBuild fix for GCC
Gunnar Beutner [Mon, 27 Oct 2014 04:16:58 +0000 (05:16 +0100)]
Build fix for GCC

refs #7452

9 years agoRevert "DB IDO: Drop invalid schema changes from 1.x IDOUtils in #6060"
Michael Friedrich [Sun, 26 Oct 2014 19:22:01 +0000 (20:22 +0100)]
Revert "DB IDO: Drop invalid schema changes from 1.x IDOUtils in #6060"

This reverts commit dd0a2ab59085cfc0d9733d438dd40caed49e5bee.

9 years agoFix incorrect include path
Gunnar Beutner [Sun, 26 Oct 2014 19:05:38 +0000 (20:05 +0100)]
Fix incorrect include path

refs #7452

9 years agoReplace cJSON with YAJL
Gunnar Beutner [Sun, 26 Oct 2014 18:59:49 +0000 (19:59 +0100)]
Replace cJSON with YAJL

fixes #7452

9 years agoDB IDO: Drop invalid schema changes from 1.x IDOUtils in #6060
Michael Friedrich [Sun, 26 Oct 2014 18:57:16 +0000 (19:57 +0100)]
DB IDO: Drop invalid schema changes from 1.x IDOUtils in #6060

9 years agoDB IDO: Import schema fixes from 1.12.0
Michael Friedrich [Sun, 26 Oct 2014 18:46:51 +0000 (19:46 +0100)]
DB IDO: Import schema fixes from 1.12.0

9 years agoFix problems with the serializer when using 'type' as an attribute
Gunnar Beutner [Sat, 25 Oct 2014 07:14:56 +0000 (09:14 +0200)]
Fix problems with the serializer when using 'type' as an attribute

fixes #7372

9 years agoDB IDO: Change schema version to 1.12.0
Michael Friedrich [Fri, 24 Oct 2014 23:42:51 +0000 (01:42 +0200)]
DB IDO: Change schema version to 1.12.0

refs #7391

9 years agoFix incorrect attribute name
Gunnar Beutner [Fri, 24 Oct 2014 15:48:02 +0000 (17:48 +0200)]
Fix incorrect attribute name

fixes #7446

9 years agoFix formatting for "agent list"
Gunnar Beutner [Fri, 24 Oct 2014 15:36:42 +0000 (17:36 +0200)]
Fix formatting for "agent list"

refs #7248

9 years agoFix output formatting for --version
Gunnar Beutner [Fri, 24 Oct 2014 13:54:11 +0000 (15:54 +0200)]
Fix output formatting for --version

refs #7245

9 years agoCli: Change service handling in repository command
Michael Friedrich [Fri, 24 Oct 2014 13:27:20 +0000 (15:27 +0200)]
Cli: Change service handling in repository command

refs #7255

9 years agoRemove unused variable
Gunnar Beutner [Fri, 24 Oct 2014 13:41:24 +0000 (15:41 +0200)]
Remove unused variable

9 years agoImplement support for running specific CLI commands as root
Gunnar Beutner [Fri, 24 Oct 2014 13:29:46 +0000 (15:29 +0200)]
Implement support for running specific CLI commands as root

fixes #7380

9 years agoFix permissions for /etc/icinga2 in the Debian package
Gunnar Beutner [Fri, 24 Oct 2014 13:01:12 +0000 (15:01 +0200)]
Fix permissions for /etc/icinga2 in the Debian package

refs #7380

9 years agoFix: Schema upgrade files are missing in /usr/share/icinga2-ido-{mysql,pgsql}
Gunnar Beutner [Fri, 24 Oct 2014 12:29:55 +0000 (14:29 +0200)]
Fix: Schema upgrade files are missing in /usr/share/icinga2-ido-{mysql,pgsql}

fixes #7392

9 years agoCreate repository.d directory
Gunnar Beutner [Fri, 24 Oct 2014 12:24:59 +0000 (14:24 +0200)]
Create repository.d directory

9 years agoValidate number of arguments
Gunnar Beutner [Fri, 24 Oct 2014 11:15:21 +0000 (13:15 +0200)]
Validate number of arguments

fixes #7442

9 years agoCli: Parse repository arguments as 'name=...'
Michael Friedrich [Fri, 24 Oct 2014 10:42:57 +0000 (12:42 +0200)]
Cli: Parse repository arguments as 'name=...'

Require 'host_name' for service objects
Rename --template to --import

refs #7255

9 years agoRemove obsolete scripts
Gunnar Beutner [Fri, 24 Oct 2014 10:17:53 +0000 (12:17 +0200)]
Remove obsolete scripts

refs #7248

9 years agoFix null pointer deref in "agent list"
Gunnar Beutner [Fri, 24 Oct 2014 10:16:36 +0000 (12:16 +0200)]
Fix null pointer deref in "agent list"

refs #7248

9 years agoImplement support for removing more than one agent
Gunnar Beutner [Fri, 24 Oct 2014 10:16:14 +0000 (12:16 +0200)]
Implement support for removing more than one agent

refs #7248

9 years agoMake the "agent list" and "agent remove" commands work
Gunnar Beutner [Fri, 24 Oct 2014 10:04:14 +0000 (12:04 +0200)]
Make the "agent list" and "agent remove" commands work

refs #7245

9 years agoFix icinga2-list-agents
Gunnar Beutner [Fri, 24 Oct 2014 09:44:11 +0000 (11:44 +0200)]
Fix icinga2-list-agents

refs #7248

9 years agoAdd another missing include
Gunnar Beutner [Fri, 24 Oct 2014 06:27:03 +0000 (08:27 +0200)]
Add another missing include

refs #7433

9 years agoAdd missing include
Gunnar Beutner [Fri, 24 Oct 2014 05:45:01 +0000 (07:45 +0200)]
Add missing include

refs #7433

9 years agoCli: Allow to import multiple templates, drop zone argument
Michael Friedrich [Thu, 23 Oct 2014 18:42:56 +0000 (20:42 +0200)]
Cli: Allow to import multiple templates, drop zone argument

refs #7255

9 years agoCli: Add repository add --{zone,template} support for repo objects
Michael Friedrich [Thu, 23 Oct 2014 17:06:02 +0000 (19:06 +0200)]
Cli: Add repository add --{zone,template} support for repo objects

refs #7255

9 years agoBuild fix for Windows and RHEL 5
Gunnar Beutner [Thu, 23 Oct 2014 17:07:14 +0000 (19:07 +0200)]
Build fix for Windows and RHEL 5

fixes #7433

9 years agoRemove unnecessary initializers
Gunnar Beutner [Thu, 23 Oct 2014 17:01:47 +0000 (19:01 +0200)]
Remove unnecessary initializers

refs #7247

9 years agoFix unity build
Michael Friedrich [Thu, 23 Oct 2014 16:20:39 +0000 (18:20 +0200)]
Fix unity build

fixes #7433

9 years agoCli: Catch ssl errors in pki request command
Michael Friedrich [Thu, 23 Oct 2014 14:07:48 +0000 (16:07 +0200)]
Cli: Catch ssl errors in pki request command

fixes #7426

9 years agoUpdate the constants.conf file for "agent setup"
Gunnar Beutner [Thu, 23 Oct 2014 13:05:12 +0000 (15:05 +0200)]
Update the constants.conf file for "agent setup"

refs #7423

9 years agoCLI: Add basic repository <type> <command> & commit functionality
Michael Friedrich [Mon, 20 Oct 2014 16:37:19 +0000 (18:37 +0200)]
CLI: Add basic repository <type> <command> & commit functionality

Still work in progress

refs #7255

9 years agoRemove unused code
Gunnar Beutner [Thu, 23 Oct 2014 02:38:54 +0000 (04:38 +0200)]
Remove unused code

refs #7423

9 years agoMake "agent setup" ask the user for the endpoint names
Gunnar Beutner [Thu, 23 Oct 2014 02:23:22 +0000 (04:23 +0200)]
Make "agent setup" ask the user for the endpoint names

refs #7423

9 years agoClean up the "agent setup" command a bit
Gunnar Beutner [Thu, 23 Oct 2014 01:35:01 +0000 (03:35 +0200)]
Clean up the "agent setup" command a bit

refs #7423

9 years agoCreate missing directory
Gunnar Beutner [Wed, 22 Oct 2014 20:02:31 +0000 (22:02 +0200)]
Create missing directory

refs #7241

9 years agoFix certificate requests for "agent setup"
Gunnar Beutner [Wed, 22 Oct 2014 19:49:41 +0000 (21:49 +0200)]
Fix certificate requests for "agent setup"

refs #7423

9 years agoChange architecture of the Wizard project back to x86
Gunnar Beutner [Wed, 22 Oct 2014 19:15:29 +0000 (21:15 +0200)]
Change architecture of the Wizard project back to x86

9 years agoRevert "Rename .csproj platform to match CMake targets"
Gunnar Beutner [Wed, 22 Oct 2014 19:08:28 +0000 (21:08 +0200)]
Revert "Rename .csproj platform to match CMake targets"

This reverts commit 977ef99abb96771b55171ce1990163acb28adb9f.

Conflicts:
agent/windows-setup-agent/Icinga2SetupAgent.csproj

9 years agoCli: Fix setup agent --master and use Utility::FileCopy()
Michael Friedrich [Wed, 22 Oct 2014 17:27:21 +0000 (19:27 +0200)]
Cli: Fix setup agent --master and use Utility::FileCopy()

refs #7423

9 years agoCli: Update agent wizard todos
Michael Friedrich [Wed, 22 Oct 2014 17:26:31 +0000 (19:26 +0200)]
Cli: Update agent wizard todos

refs #7248

9 years agoAdd Utility::CopyFile()
Michael Friedrich [Wed, 22 Oct 2014 17:25:29 +0000 (19:25 +0200)]
Add Utility::CopyFile()

refs #7423

9 years agoRename PKI arguments
Michael Friedrich [Wed, 22 Oct 2014 13:36:39 +0000 (15:36 +0200)]
Rename PKI arguments

fixes #7427

9 years agoCli: Refactor agent setup config creation and file verification
Michael Friedrich [Wed, 22 Oct 2014 13:29:54 +0000 (15:29 +0200)]
Cli: Refactor agent setup config creation and file verification

refs #7423

9 years agoCli: Fix some comments
Michael Friedrich [Wed, 22 Oct 2014 12:03:39 +0000 (14:03 +0200)]
Cli: Fix some comments

9 years agoCli: Add basic setup agent calls (unfinished)
Michael Friedrich [Tue, 21 Oct 2014 19:33:21 +0000 (21:33 +0200)]
Cli: Add basic setup agent calls (unfinished)

refs #7423

9 years agoExplicitly set platform name for the Windows Wizard project
Gunnar Beutner [Wed, 22 Oct 2014 08:05:45 +0000 (10:05 +0200)]
Explicitly set platform name for the Windows Wizard project

refs #7241