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

9 years agoFix version number if schema/{mysql,pgsql}.sql
Gunnar Beutner [Fri, 17 Oct 2014 07:56:43 +0000 (09:56 +0200)]
Fix version number if schema/{mysql,pgsql}.sql

fixes #7397

9 years agoRename AExpression to Expression
Gunnar Beutner [Thu, 16 Oct 2014 15:44:06 +0000 (17:44 +0200)]
Rename AExpression to Expression

9 years agoAnother build fix for Rune
Gunnar Beutner [Thu, 16 Oct 2014 13:39:11 +0000 (15:39 +0200)]
Another build fix for Rune

9 years agoBuild fix for Rune
Gunnar Beutner [Thu, 16 Oct 2014 13:33:03 +0000 (15:33 +0200)]
Build fix for Rune

9 years agoImprove "object list" output some more
Gunnar Beutner [Thu, 16 Oct 2014 13:24:41 +0000 (15:24 +0200)]
Improve "object list" output some more

refs #7251

9 years agoClean up "object list" a bit
Gunnar Beutner [Thu, 16 Oct 2014 13:11:19 +0000 (15:11 +0200)]
Clean up "object list" a bit

refs #7251

9 years agoImprove auto-completion for the PKI commands
Gunnar Beutner [Thu, 16 Oct 2014 12:33:58 +0000 (14:33 +0200)]
Improve auto-completion for the PKI commands

refs #7247

9 years agoFix compiler warning
Gunnar Beutner [Thu, 16 Oct 2014 12:21:33 +0000 (14:21 +0200)]
Fix compiler warning

refs #7244

9 years agoBuild fix for FreeBSD
Gunnar Beutner [Thu, 16 Oct 2014 11:36:25 +0000 (13:36 +0200)]
Build fix for FreeBSD

9 years agoRemove icinga2-build-ca, icinga2-build-key and icinga2-sign-key
Gunnar Beutner [Thu, 16 Oct 2014 11:27:16 +0000 (13:27 +0200)]
Remove icinga2-build-ca, icinga2-build-key and icinga2-sign-key

refs #7244

9 years agoDon't log error messages when TLS connections are closed
Gunnar Beutner [Thu, 16 Oct 2014 11:11:14 +0000 (13:11 +0200)]
Don't log error messages when TLS connections are closed

refs #7244

9 years agoIgnore (most) messages from unauthenticated clients
Gunnar Beutner [Thu, 16 Oct 2014 11:04:04 +0000 (13:04 +0200)]
Ignore (most) messages from unauthenticated clients

refs #7244

9 years agoAdd missing files
Gunnar Beutner [Thu, 16 Oct 2014 10:30:50 +0000 (12:30 +0200)]
Add missing files

refs #7247

9 years agoImplement the "pki request" and "pki ticket" commands
Gunnar Beutner [Thu, 16 Oct 2014 10:27:09 +0000 (12:27 +0200)]
Implement the "pki request" and "pki ticket" commands

refs #7244

9 years agoDB IDO: Add program_version column to programstatus table
Michael Friedrich [Thu, 16 Oct 2014 10:11:10 +0000 (12:11 +0200)]
DB IDO: Add program_version column to programstatus table

Bump schema version to 1.11.8

fixes #7391

9 years agoFix systemd unit file
Michael Friedrich [Thu, 16 Oct 2014 10:08:21 +0000 (12:08 +0200)]
Fix systemd unit file

refs #7246

9 years agoFix unauthenticated TLS connections
Gunnar Beutner [Thu, 16 Oct 2014 07:58:01 +0000 (09:58 +0200)]
Fix unauthenticated TLS connections

refs #7244

9 years agoAllow TLS connections with unverified certificates
Gunnar Beutner [Thu, 16 Oct 2014 07:01:18 +0000 (09:01 +0200)]
Allow TLS connections with unverified certificates

refs #7244

9 years agoFix formatting for non-string values in arrays
Gunnar Beutner [Wed, 15 Oct 2014 16:41:52 +0000 (18:41 +0200)]
Fix formatting for non-string values in arrays

fixes #7388

9 years agoAllow using --name to match against internal names (__name)
Gunnar Beutner [Wed, 15 Oct 2014 16:31:05 +0000 (18:31 +0200)]
Allow using --name to match against internal names (__name)

refs #7251

9 years agoImplement error handling for the "pki sign-csr" command
Gunnar Beutner [Wed, 15 Oct 2014 16:22:56 +0000 (18:22 +0200)]
Implement error handling for the "pki sign-csr" command

refs #7247

9 years agoDocumentation: Update changes
Michael Friedrich [Wed, 15 Oct 2014 15:13:22 +0000 (17:13 +0200)]
Documentation: Update changes

refs #7387

9 years agoFix missing const references
Michael Friedrich [Wed, 15 Oct 2014 15:10:25 +0000 (17:10 +0200)]
Fix missing const references

refs #7251

9 years agoCLI: Add --count to 'object list' and hide counts by default
Michael Friedrich [Wed, 15 Oct 2014 14:43:10 +0000 (16:43 +0200)]
CLI: Add --count to 'object list' and hide counts by default

refs #7251

9 years agoImplement the "pki sign-csr" command
Gunnar Beutner [Wed, 15 Oct 2014 14:01:15 +0000 (16:01 +0200)]
Implement the "pki sign-csr" command

refs #7274

9 years agoRemove icinga2-list-objects
Gunnar Beutner [Wed, 15 Oct 2014 13:04:29 +0000 (15:04 +0200)]
Remove icinga2-list-objects

refs #7251

9 years agoCLI: Update docs for 'icinga2 object list'
Michael Friedrich [Wed, 15 Oct 2014 12:29:29 +0000 (14:29 +0200)]
CLI: Update docs for 'icinga2 object list'

refs #7356

9 years agoCLI: Fix object name in 'object list'
Michael Friedrich [Wed, 15 Oct 2014 12:29:00 +0000 (14:29 +0200)]
CLI: Fix object name in 'object list'

refs #7251

9 years agoCLI: Add filter by name or type to 'object list'
Michael Friedrich [Wed, 15 Oct 2014 12:12:59 +0000 (14:12 +0200)]
CLI: Add filter by name or type to 'object list'

fixes #7199

9 years agoCLI: Add object command (list)
Michael Friedrich [Tue, 14 Oct 2014 14:53:40 +0000 (16:53 +0200)]
CLI: Add object command (list)

fixes #7251

9 years agoFix another problem with auto-completing arguments
Gunnar Beutner [Wed, 15 Oct 2014 07:41:54 +0000 (09:41 +0200)]
Fix another problem with auto-completing arguments

refs #7378

9 years agoReplace spaces with tabs
Gunnar Beutner [Wed, 15 Oct 2014 06:45:58 +0000 (08:45 +0200)]
Replace spaces with tabs

refs #7250

9 years agoImplement Windows support for "feature enable"
Gunnar Beutner [Wed, 15 Oct 2014 06:43:20 +0000 (08:43 +0200)]
Implement Windows support for "feature enable"

fixes #7377

9 years agoFix incorrect auto-completion suggestions
Gunnar Beutner [Wed, 15 Oct 2014 06:32:46 +0000 (08:32 +0200)]
Fix incorrect auto-completion suggestions

fixes #7378

9 years agospec: add missing init.conf
Michael Friedrich [Tue, 14 Oct 2014 18:45:53 +0000 (20:45 +0200)]
spec: add missing init.conf

9 years agoFix package builds after removal of icinga2-{en,dis}able-feature scripts
Michael Friedrich [Tue, 14 Oct 2014 18:25:53 +0000 (20:25 +0200)]
Fix package builds after removal of icinga2-{en,dis}able-feature scripts

refs #7250

9 years agoCLI: Make sure that en/disable errors are marked as such
Michael Friedrich [Tue, 14 Oct 2014 17:41:32 +0000 (19:41 +0200)]
CLI: Make sure that en/disable errors are marked as such

fixes #7379

9 years agoRemove icinga2-enable-feature and icinga2-disable-feature
Gunnar Beutner [Tue, 14 Oct 2014 16:32:15 +0000 (18:32 +0200)]
Remove icinga2-enable-feature and icinga2-disable-feature

refs #7250

9 years agoRemove superfluous config directive
Gunnar Beutner [Tue, 14 Oct 2014 15:45:48 +0000 (17:45 +0200)]
Remove superfluous config directive

refs #7246

9 years agoCall setuid()/setgid() after parsing arguments
Gunnar Beutner [Tue, 14 Oct 2014 15:03:14 +0000 (17:03 +0200)]
Call setuid()/setgid() after parsing arguments

refs #7375

9 years agoImprove auto-completion for arguments
Gunnar Beutner [Tue, 14 Oct 2014 14:45:00 +0000 (16:45 +0200)]
Improve auto-completion for arguments

fixes #7375

9 years agoCLI framework: Change unrecognized into positional options
Michael Friedrich [Tue, 14 Oct 2014 12:27:37 +0000 (14:27 +0200)]
CLI framework: Change unrecognized into positional options

refs #7371

9 years agoCLI: Add feature command (list, enable, disable)
Michael Friedrich [Mon, 13 Oct 2014 16:09:58 +0000 (18:09 +0200)]
CLI: Add feature command (list, enable, disable)

fixes #7250

9 years agoCLI framework: Add support for unrecognized parameters
Michael Friedrich [Mon, 13 Oct 2014 16:07:52 +0000 (18:07 +0200)]
CLI framework: Add support for unrecognized parameters

Required for feature enable command for example.

fixes #7371

9 years agoRemove --user and --group
Gunnar Beutner [Mon, 13 Oct 2014 14:07:04 +0000 (16:07 +0200)]
Remove --user and --group

refs #7246

9 years agoFix incorrect log message
Gunnar Beutner [Mon, 13 Oct 2014 12:00:28 +0000 (14:00 +0200)]
Fix incorrect log message

9 years agoSet CA flag for new CA certificates
Gunnar Beutner [Mon, 13 Oct 2014 11:58:18 +0000 (13:58 +0200)]
Set CA flag for new CA certificates

refs #7247

9 years agoMake sure we're using the right user/group for CLI commands
Gunnar Beutner [Mon, 13 Oct 2014 11:43:05 +0000 (13:43 +0200)]
Make sure we're using the right user/group for CLI commands

refs #7246

9 years agoFix paths in the Debian package files
Gunnar Beutner [Mon, 13 Oct 2014 10:45:04 +0000 (12:45 +0200)]
Fix paths in the Debian package files

9 years agoImplement the "pki new-csr" command
Gunnar Beutner [Mon, 13 Oct 2014 10:34:31 +0000 (12:34 +0200)]
Implement the "pki new-csr" command

refs #7247

9 years agoMove all libraries into the lib/ directory
Gunnar Beutner [Mon, 13 Oct 2014 07:51:49 +0000 (09:51 +0200)]
Move all libraries into the lib/ directory

9 years agoReplace spaces with tabs
Gunnar Beutner [Mon, 13 Oct 2014 07:46:58 +0000 (09:46 +0200)]
Replace spaces with tabs

9 years agoMake sure that names for Graphite metrics are properly escaped
Gunnar Beutner [Sun, 12 Oct 2014 11:30:39 +0000 (13:30 +0200)]
Make sure that names for Graphite metrics are properly escaped

refs #7334

9 years agoGraphiteWriter: Add support for customized metric prefix names
Michael Friedrich [Sat, 11 Oct 2014 18:38:24 +0000 (20:38 +0200)]
GraphiteWriter: Add support for customized metric prefix names

Allows to use runtime macros and global constants for setting
a custom metric prefix:

    const GraphiteEnv = "icinga.env1"

    object GraphiteWriter "graphite" {
      host_name_template = GraphiteEnv + ".$host.name$"
      service_name_template = GraphiteEnv + ".$host.name$.$service.name$"
    }

fixes #7334

9 years agoDependencies: Fix disable_notifications = true as default setting
Michael Friedrich [Sat, 11 Oct 2014 17:33:03 +0000 (19:33 +0200)]
Dependencies: Fix disable_notifications = true as default setting

fixes #7257