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

9 years agoRename .csproj platform to match CMake targets
Gunnar Beutner [Wed, 22 Oct 2014 07:38:09 +0000 (09:38 +0200)]
Rename .csproj platform to match CMake targets

refs #7241

9 years agoAdd missing files
Gunnar Beutner [Wed, 22 Oct 2014 07:34:39 +0000 (09:34 +0200)]
Add missing files

9 years agoUse the "agent setup" CLI command in the Windows wizard
Gunnar Beutner [Wed, 22 Oct 2014 07:34:09 +0000 (09:34 +0200)]
Use the "agent setup" CLI command in the Windows wizard

fixes #7241

9 years agoFix auto-completion for ambiguous commands
Gunnar Beutner [Wed, 22 Oct 2014 06:16:56 +0000 (08:16 +0200)]
Fix auto-completion for ambiguous commands

fixes #7404

9 years agoClean up code a bit
Gunnar Beutner [Wed, 22 Oct 2014 06:06:06 +0000 (08:06 +0200)]
Clean up code a bit

9 years agoCli: Refactor feature {enable,disable,list} code
Michael Friedrich [Tue, 21 Oct 2014 16:35:43 +0000 (18:35 +0200)]
Cli: Refactor feature {enable,disable,list} code

Required for agent setup.

refs #7423

9 years agoCli: Add basic skeleton for agent setup
Michael Friedrich [Tue, 21 Oct 2014 16:24:35 +0000 (18:24 +0200)]
Cli: Add basic skeleton for agent setup

refs #7423

9 years agoCli: Implement Pki Get*Path() helpers
Michael Friedrich [Tue, 21 Oct 2014 16:13:08 +0000 (18:13 +0200)]
Cli: Implement Pki Get*Path() helpers

refs #7423

9 years agoCli: Implement GetFeature*Path() helpers
Michael Friedrich [Tue, 21 Oct 2014 16:12:17 +0000 (18:12 +0200)]
Cli: Implement GetFeature*Path() helpers

refs #7423

9 years agoCLI: Add agent setup command
Michael Friedrich [Tue, 21 Oct 2014 14:04:20 +0000 (16:04 +0200)]
CLI: Add agent setup command

refs #7423

9 years agoUpdate the Windows agent wizard
Gunnar Beutner [Tue, 21 Oct 2014 14:07:22 +0000 (16:07 +0200)]
Update the Windows agent wizard

refs #7241

9 years agoCli: Move pki command funactionality into PkiUtility class
Michael Friedrich [Tue, 21 Oct 2014 11:54:25 +0000 (13:54 +0200)]
Cli: Move pki command funactionality into PkiUtility class

Preparing for usage in setup agent cli command.

refs #7423

9 years agoBuild fix
Michael Friedrich [Tue, 21 Oct 2014 12:23:47 +0000 (14:23 +0200)]
Build fix

9 years agoBuild fix
Gunnar Beutner [Tue, 21 Oct 2014 11:54:56 +0000 (13:54 +0200)]
Build fix

9 years agoCLI: Add basic agent command functionality (add, remove)
Michael Friedrich [Sat, 18 Oct 2014 19:06:28 +0000 (21:06 +0200)]
CLI: Add basic agent command functionality (add, remove)

Prepare for set, setup, wizard, *list.
Change repository files to .repo, rename .peer to .settings

refs #7248
refs #7255

9 years agoImplement "pki save-cert" command
Gunnar Beutner [Tue, 21 Oct 2014 09:44:21 +0000 (11:44 +0200)]
Implement "pki save-cert" command

fixes #7422

9 years agoAdd another missing new-line
Gunnar Beutner [Mon, 20 Oct 2014 19:43:50 +0000 (21:43 +0200)]
Add another missing new-line

refs #7370

9 years agoRemove {DAEMON,ICINGA2}_USER and {DAEMON,ICINGA2}_GROUP variables
Gunnar Beutner [Mon, 20 Oct 2014 19:41:04 +0000 (21:41 +0200)]
Remove {DAEMON,ICINGA2}_USER and {DAEMON,ICINGA2}_GROUP variables

refs #7370

9 years agoAdd missing new-line after output
Gunnar Beutner [Mon, 20 Oct 2014 19:20:02 +0000 (21:20 +0200)]
Add missing new-line after output

refs #7370

9 years agoAdd missing file
Gunnar Beutner [Mon, 20 Oct 2014 19:16:06 +0000 (21:16 +0200)]
Add missing file

refs #7370

9 years agoImplement the "variable" CLI command
Gunnar Beutner [Mon, 20 Oct 2014 19:14:00 +0000 (21:14 +0200)]
Implement the "variable" CLI command

fixes #7370

9 years agoImplement "feature disable" for Windows
Gunnar Beutner [Mon, 20 Oct 2014 18:19:01 +0000 (20:19 +0200)]
Implement "feature disable" for Windows

fixes #7418

9 years agoBuild fix for Windows
Gunnar Beutner [Mon, 20 Oct 2014 18:04:26 +0000 (20:04 +0200)]
Build fix for Windows

9 years agoAdd alias for --help
Gunnar Beutner [Mon, 20 Oct 2014 12:31:39 +0000 (14:31 +0200)]
Add alias for --help

fixes #7421

9 years agoRemove "available features" list from "feature list"
Gunnar Beutner [Mon, 20 Oct 2014 12:22:02 +0000 (14:22 +0200)]
Remove "available features" list from "feature list"

fixes #7420

9 years agoImprove --help formatting
Gunnar Beutner [Mon, 20 Oct 2014 12:13:57 +0000 (14:13 +0200)]
Improve --help formatting

refs #7246

9 years agoMove clicommand.{cpp,hpp} to lib/cli
Gunnar Beutner [Mon, 20 Oct 2014 11:58:21 +0000 (13:58 +0200)]
Move clicommand.{cpp,hpp} to lib/cli

refs #7246

9 years agoImprove error messages for CLI commands
Gunnar Beutner [Mon, 20 Oct 2014 11:16:22 +0000 (13:16 +0200)]
Improve error messages for CLI commands

fixes #7395

9 years agoMake warning and critical log messages bold on terminals
Gunnar Beutner [Mon, 20 Oct 2014 11:15:37 +0000 (13:15 +0200)]
Make warning and critical log messages bold on terminals

9 years agoUpdate some more log messages
Gunnar Beutner [Mon, 20 Oct 2014 08:09:57 +0000 (10:09 +0200)]
Update some more log messages

9 years agoRemove unnecessary prototype for Log()
Gunnar Beutner [Sun, 19 Oct 2014 16:01:09 +0000 (18:01 +0200)]
Remove unnecessary prototype for Log()

9 years agoRefactor logging code
Gunnar Beutner [Sun, 19 Oct 2014 15:52:17 +0000 (17:52 +0200)]
Refactor logging code

9 years agoRename qstring.{cpp,hpp} to string.{cpp,hpp}
Gunnar Beutner [Sun, 19 Oct 2014 12:48:19 +0000 (14:48 +0200)]
Rename qstring.{cpp,hpp} to string.{cpp,hpp}

9 years agoRemove logger_fwd.hpp
Gunnar Beutner [Sun, 19 Oct 2014 12:21:12 +0000 (14:21 +0200)]
Remove logger_fwd.hpp

9 years agoFix CMake warnings on OS X
Gunnar Beutner [Sun, 19 Oct 2014 11:18:43 +0000 (13:18 +0200)]
Fix CMake warnings on OS X

fixes #7417

9 years agoAdd color code for LogDebug
Gunnar Beutner [Sun, 19 Oct 2014 00:39:45 +0000 (02:39 +0200)]
Add color code for LogDebug

fixes #7416

9 years agoBuild fix for RHEL
Michael Friedrich [Sat, 18 Oct 2014 22:15:42 +0000 (00:15 +0200)]
Build fix for RHEL

9 years agoCLI: Add feature enable/disable auto-completion
Michael Friedrich [Sat, 18 Oct 2014 17:31:52 +0000 (19:31 +0200)]
CLI: Add feature enable/disable auto-completion

Refactor feature list code.
Add disabled features to list output.
Add more console colors.
Change output to stdout for general logging.

fixes #7381
fixes #7415
refs #7376

9 years agoFix: Don't use VT100 color codes in log files
Gunnar Beutner [Fri, 17 Oct 2014 22:32:37 +0000 (00:32 +0200)]
Fix: Don't use VT100 color codes in log files

refs #7396

9 years agoAvoid unnecessary Poll() calls
Gunnar Beutner [Fri, 17 Oct 2014 22:29:39 +0000 (00:29 +0200)]
Avoid unnecessary Poll() calls

9 years agoRemove unmatched brace from make-agent-config.py
Gunnar Beutner [Fri, 17 Oct 2014 22:28:59 +0000 (00:28 +0200)]
Remove unmatched brace from make-agent-config.py

9 years agoFix another deadlock in TlsStream
Gunnar Beutner [Fri, 17 Oct 2014 18:56:22 +0000 (20:56 +0200)]
Fix another deadlock in TlsStream

9 years agoAdd missing locks
Gunnar Beutner [Fri, 17 Oct 2014 18:47:48 +0000 (20:47 +0200)]
Add missing locks

refs #7251

9 years agoRemove some unnecessary #includes
Gunnar Beutner [Fri, 17 Oct 2014 18:44:46 +0000 (20:44 +0200)]
Remove some unnecessary #includes

9 years agoImplement generic color support for terminals
Gunnar Beutner [Fri, 17 Oct 2014 07:45:46 +0000 (09:45 +0200)]
Implement generic color support for terminals

fixes #7396

9 years agoImplement support for C/C++ comments in the TI compiler
Gunnar Beutner [Fri, 17 Oct 2014 17:44:31 +0000 (19:44 +0200)]
Implement support for C/C++ comments in the TI compiler

fixes #5018

9 years agoBuild fix for non-unity builds
Gunnar Beutner [Fri, 17 Oct 2014 16:55:34 +0000 (18:55 +0200)]
Build fix for non-unity builds

9 years agoCli commands: Add basic agent command set
Michael Friedrich [Fri, 17 Oct 2014 13:13:17 +0000 (15:13 +0200)]
Cli commands: Add basic agent command set

refs #7248

9 years agoImprove auto-completion suggestions for the repository command
Gunnar Beutner [Fri, 17 Oct 2014 14:02:25 +0000 (16:02 +0200)]
Improve auto-completion suggestions for the repository command

refs #7255

9 years agoImplement auto-completion for positional arguments
Gunnar Beutner [Fri, 17 Oct 2014 13:54:46 +0000 (15:54 +0200)]
Implement auto-completion for positional arguments

refs #7255

9 years agoRemove unnecessary arguments from the systemd service file
Gunnar Beutner [Fri, 17 Oct 2014 12:37:43 +0000 (14:37 +0200)]
Remove unnecessary arguments from the systemd service file

9 years agoAdd "repository <type> <add/remove/list>" commands
Gunnar Beutner [Fri, 17 Oct 2014 12:13:31 +0000 (14:13 +0200)]
Add "repository <type> <add/remove/list>" commands

refs #7255

9 years agoImplement auto-completion support for type fields
Gunnar Beutner [Fri, 17 Oct 2014 11:03:01 +0000 (13:03 +0200)]
Implement auto-completion support for type fields

fixes #7401

9 years agoRemove zone keyword
Gunnar Beutner [Fri, 17 Oct 2014 10:45:57 +0000 (12:45 +0200)]
Remove zone keyword

fixes #7400