Commit Graph

4207 Commits

Author SHA1 Message Date
Gunnar Beutner ce6f7ace89 Replace spaces with tabs
refs #7250
2014-10-15 08:48:01 +02:00
Gunnar Beutner 39116e4906 Implement Windows support for "feature enable"
fixes #7377
2014-10-15 08:43:20 +02:00
Gunnar Beutner 14d8366d05 Fix incorrect auto-completion suggestions
fixes #7378
2014-10-15 08:32:46 +02:00
Michael Friedrich 445376833c spec: add missing init.conf 2014-10-14 20:45:53 +02:00
Michael Friedrich 648f47f931 Fix package builds after removal of icinga2-{en,dis}able-feature scripts
refs #7250
2014-10-14 20:25:53 +02:00
Michael Friedrich 9df1b6bc1c CLI: Make sure that en/disable errors are marked as such
fixes #7379
2014-10-14 19:41:32 +02:00
Gunnar Beutner d7d6d6096f Remove icinga2-enable-feature and icinga2-disable-feature
refs #7250
2014-10-14 18:35:52 +02:00
Gunnar Beutner 533ec940b8 Remove superfluous config directive
refs #7246
2014-10-14 17:45:48 +02:00
Gunnar Beutner 96eb2544c3 Call setuid()/setgid() after parsing arguments
refs #7375
2014-10-14 17:03:14 +02:00
Gunnar Beutner 2a60ce8625 Improve auto-completion for arguments
fixes #7375
2014-10-14 16:45:00 +02:00
Michael Friedrich d9f5409e8b CLI framework: Change unrecognized into positional options
refs #7371
2014-10-14 14:27:37 +02:00
Michael Friedrich 92454ca520 CLI: Add feature command (list, enable, disable)
fixes #7250
2014-10-14 13:27:30 +02:00
Michael Friedrich 3513d1f2f9 CLI framework: Add support for unrecognized parameters
Required for feature enable command for example.

fixes #7371
2014-10-13 18:07:52 +02:00
Gunnar Beutner 15bd96aa9a Remove --user and --group
refs #7246
2014-10-13 16:07:04 +02:00
Gunnar Beutner 43bb5127ac Fix incorrect log message 2014-10-13 14:00:28 +02:00
Gunnar Beutner fab9d7eedf Set CA flag for new CA certificates
refs #7247
2014-10-13 13:58:18 +02:00
Gunnar Beutner a01fb6d6e6 Make sure we're using the right user/group for CLI commands
refs #7246
2014-10-13 13:44:45 +02:00
Gunnar Beutner acc9393c8a Fix paths in the Debian package files 2014-10-13 12:45:04 +02:00
Gunnar Beutner 4ba3d74c0e Implement the "pki new-csr" command
refs #7247
2014-10-13 12:34:31 +02:00
Gunnar Beutner 98eb771b1d Move all libraries into the lib/ directory 2014-10-13 09:51:49 +02:00
Gunnar Beutner 14ac7dd974 Replace spaces with tabs 2014-10-13 09:47:05 +02:00
Gunnar Beutner 989125cc39 Make sure that names for Graphite metrics are properly escaped
refs #7334
2014-10-12 13:30:39 +02:00
Michael Friedrich 57d945347f 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
2014-10-11 20:38:24 +02:00
Michael Friedrich 56327f8e35 Dependencies: Fix disable_notifications = true as default setting
fixes #7257
2014-10-11 19:33:03 +02:00
Michael Friedrich 38b994d9cd Plugin Check Commands: Fix wrong set_if in http command
refs #7302
2014-10-11 19:30:53 +02:00
Dirk Goetz e0941027ea Plugin Check Commands: Extend check_procs and check_http arguments
fixes #7302

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 19:15:55 +02:00
Jonas Meurer d04630f00b Documentation: Link supported expression operators from sections about apply rules
fixes #7327

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 19:02:33 +02:00
Zoltan Nagy 1110f925ee Fix reading perfdata in compat/checkresultreader
fixes #7369

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 18:45:55 +02:00
Dolf Schimmel 60a0ee8fec Documentation: Fix default command timeout is 60 seconds, not 5 minutes.
As defined by lib/icinga/command.ti

fixes #7338

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 18:38:17 +02:00
Carlos Cesario e98aa15e83 Documentation: Fix wrong snmp-int check command
Change check command snmp-int to snmp-interface

fixes #7349

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 18:33:26 +02:00
Carlos Cesario 911863f974 Plugin Check Commands: Fix snmp-load threshold values
Fix snmp-load threshold values to suppoprt "-T stand" param in check command.
To use 3 values, change the snmp_load_type var to "netsl".

fixes #7351

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 18:27:04 +02:00
Michael Friedrich 61ca24ab8a GraphiteWriter: Add crit/warn/min/max perfdata values
fixes #7366
2014-10-11 17:02:38 +02:00
Michael Friedrich 51589d82b5 GraphiteWriter: Add downtime depth as additional metric
fixes #6946
2014-10-11 17:01:52 +02:00
Brian Dockter 273a5eddc5 Change command-line option for enabling SNMP v2c support to valid short form.
fixes #7359

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 16:54:38 +02:00
Michael Friedrich 4195d23d97 Fix typo in sample config for http ServiceGroup
fixes #7365
2014-10-11 16:49:15 +02:00
Gunnar Beutner 5962330b27 Improve error messages for apply rules
refs #6070
2014-10-10 11:39:03 +02:00
Gunnar Beutner 8fa7bde4da Fix incorrect index in the bash autocompletion script
refs #7246
2014-10-10 11:38:37 +02:00
Gunnar Beutner 50a1b243ed Hide some of the internal command-line arguments
refs #7246
2014-10-10 11:08:24 +02:00
Gunnar Beutner 4c8d0b9283 Fix auto-completion for arguments
refs #7246
2014-10-10 10:07:56 +02:00
Michael Friedrich c1d507a793 Documentation: Update config validation command
refs #7246
refs #7356
2014-10-08 16:15:08 +02:00
Gunnar Beutner 88742d6dca Make sure the 'autocomplete' variable is initialized
refs #7246
2014-10-08 15:46:29 +02:00
Gunnar Beutner 6b9f3beb14 Fix incorrect command name in the Debian init script
refs #7246
2014-10-08 15:45:38 +02:00
Gunnar Beutner a4081f1445 Implement support for CLI commands
fixes #7246
2014-10-08 15:33:10 +02:00
Gunnar Beutner a68bfea737 Disable Python scripts on Windows
refs #7243
2014-10-01 23:51:43 +01:00
Gunnar Beutner 2295835e23 Add some more missing quotes
refs #7243
2014-10-01 23:32:26 +01:00
Gunnar Beutner 93ca4eef31 Add missing quotes in PythonSetup.cmake
refs #7243
2014-10-01 22:36:14 +01:00
Gunnar Beutner a9732c21e6 Build fix for Windows 2014-10-01 22:27:42 +01:00
Gunnar Beutner 15358c6e95 Fix missing error messages (part 2)
refs #7331
2014-10-01 16:01:47 +01:00
Gunnar Beutner a08f4588eb Add error message for missing imports (and possibly other errors)
fixes #7331
2014-10-01 15:13:11 +01:00
Gunnar Beutner 954debf235 Build fix for Linux 2014-09-19 10:10:45 +02:00