4692 Commits

Author SHA1 Message Date
Malte Rabenseifner
76d774d396 Fix group permission in prepare-dirs
fixes #7890

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2014-11-29 20:14:34 +01:00
Gunnar Beutner
d19821c900 Properly reset the ThreadPool status in Stop
refs #7822
2014-11-28 11:32:37 +01:00
Gunnar Beutner
d013df06f7 Fix the Expression unit tests
refs #7822
2014-11-28 07:31:37 +01:00
Gunnar Beutner
b5b1be95a2 Make the config lexer return an error for unterminated string literals
fixes #7808
2014-11-28 06:49:06 +01:00
Gunnar Beutner
ab63fca3d5 Make the config parser thread-safe
fixes #7822
2014-11-28 06:48:27 +01:00
Gunnar Beutner
b61f803d60 Show source line information for the "repl" command
refs #7805
2014-11-28 06:29:38 +01:00
Michael Friedrich
e398b7eccf Docs: Fix wrong command reference
refs #7867
2014-11-27 18:21:06 +01:00
Michael Friedrich
6332921fb6 Cli: Ensure that repository path is created on 'node add' command
fixes #7743
2014-11-27 18:15:14 +01:00
Michael Friedrich
6961a922b6 Update man page for icinga2
$ help2man 'icinga2 daemon' > doc/icinga2.8

fixes #7735
2014-11-27 17:28:49 +01:00
Michael Friedrich
842b3a9cd7 Documentation: Explain macro array support, repeat_key, add icmp example
fixes #7868
fixes #7867
2014-11-27 16:59:17 +01:00
Tim Hardeck
3c84824883 Run systemd macros in the correct rpm scripts
The systemd Icinga service was moved from the package bin to common in
2.2.0 but most rpm scripts like postun, preun and so on weren't adapted
accordingly.

fixes #7738
2014-11-27 15:22:52 +01:00
Gunnar Beutner
7ee0eef562 Move the icinga2-prepare-dirs script to /usr/lib
fixes #7786
2014-11-27 14:47:51 +01:00
Gunnar Beutner
9dfa3d22d4 Implement support for arrays in command arguments
fixes #6709
2014-11-27 13:24:07 +01:00
Christian Jonak
f1d37f6aa4 Documentation: Fix wrong wizard information for clients
Remote client should not be configured as master, so we need to answer the first question with 'Y'

fixes #7847

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-11-27 11:08:51 +01:00
Gunnar Beutner
3cfe877feb Remove the BuildRequires for yajl-devel (on RHEL 6) because their package is broken
refs #7463
2014-11-27 09:53:37 +01:00
Gunnar Beutner
e05cd3144f Fix incorrect operators in GelfWriter::NotificationToUserHandler
fixes #7866
2014-11-27 09:40:27 +01:00
Gunnar Beutner
a8b7710800 Fix crash in CreateCert
fixes #7862
2014-11-27 09:35:24 +01:00
Gunnar Beutner
358d91e912 Remove the __parent field in the DynamicObject class
refs #7748
2014-11-27 06:32:12 +01:00
Carlos Cesario
443ae0f298 Add label option to snmp ckecks
Add label option to snmpv3 and snmp snmp-interface commands. Based on attached files to ticket #7545.

fixes #7545

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-26 20:40:55 +01:00
Carlos Cesario
4c9fe5fd5b Add more options to snmp-interface command
Add more options to snmp-interface command based on conf file attached on ticket #7136.

fixes #7136

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-26 18:26:19 +01:00
Gunnar Beutner
8254c98e12 Update AUTHORS 2014-11-26 17:40:24 +01:00
Yohan Jarosz
b368f8d379 Adding missing command
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-26 17:39:28 +01:00
Gunnar Beutner
16b044bda4 Add build dependency for yajl in the spec file
fixes #7463
2014-11-26 16:40:05 +01:00
Gunnar Beutner
9f0e0aac86 Fix the init script
refs #7613
2014-11-26 08:16:13 +01:00
Michael Friedrich
5752654cee Documentation: Add a note on unique template/object names
fixes #7671
2014-11-25 18:51:53 +01:00
Michael Friedrich
9818477a44 Make sure that user/group exists when starting Icinga 2
fixes #7173
fixes #7613
2014-11-25 18:44:25 +01:00
Gunnar Beutner
cee13fbec0 Implement the %, ^, %=, ^=, &= and |= operators
fixes #7813
2014-11-25 17:16:34 +01:00
Gunnar Beutner
1e5751c540 Build fix for GCC
refs #7822
2014-11-25 12:36:13 +01:00
Gunnar Beutner
c220a99f2d Implicitly convert Number argument to string for operator +
fixes #7823
2014-11-25 12:33:08 +01:00
Gunnar Beutner
31605402ea Move the parser's global variables to the ConfigCompiler class
refs #7822
2014-11-25 09:40:32 +01:00
Gunnar Beutner
9281f82ba3 Fix parser problem with missing new-lines
refs #7822
2014-11-25 08:59:55 +01:00
Gunnar Beutner
c5839b91aa Use MakeLiteral instead of 'new LiteralExpression'
refs #7822
2014-11-25 08:44:47 +01:00
Gunnar Beutner
03a4452343 Remove the global m_Expressions variable
refs #7822
2014-11-25 08:42:27 +01:00
Gunnar Beutner
ed81cb0f2c Make SetExpression check whether the LHS is null
fixes #7814
2014-11-24 18:26:27 +01:00
Gunnar Beutner
fddead5303 Fix some compiler warnings
fixes #7826
2014-11-24 18:25:08 +01:00
Gunnar Beutner
7e13f7597f Disallow - in identifiers
fixes #7830
2014-11-24 16:54:06 +01:00
Gunnar Beutner
2ec499be17 Implement the __if and __else keywords
fixes #7824
2014-11-24 09:56:28 +01:00
Gunnar Beutner
47ba5eeddd Change parameter type for include and include_recursive to T_STRING
fixes #7802
2014-11-24 07:18:37 +01:00
Gunnar Beutner
4d125edc0d Move the cast functions into libbase
fixes #7807
2014-11-24 07:09:51 +01:00
Gunnar Beutner
c5b5eccf49 Add some more missing unit tests
refs #7805
2014-11-24 01:17:54 +01:00
Gunnar Beutner
03d712e96d Add missing unit tests to the project file
refs #7805
2014-11-24 01:07:00 +01:00
Gunnar Beutner
a1b231e069 Remove unused parameter
refs #7805
2014-11-24 01:05:19 +01:00
Gunnar Beutner
ca28a51373 Remove unused code in the ThinMutex class
refs #7805
2014-11-24 01:01:39 +01:00
Gunnar Beutner
d3a6277fec Fix the __return keyword
fixes #7811
2014-11-24 00:07:29 +01:00
Gunnar Beutner
c29d6a99ac Fix unary minus operator
fixes #7815
2014-11-23 23:19:46 +01:00
Gunnar Beutner
e93595c006 Fix scoping for __for
fixes #7809
2014-11-23 20:43:50 +01:00
Gunnar Beutner
75d90d5963 Fix a crash in the "repl" command
refs #7805
2014-11-23 19:13:42 +01:00
Gunnar Beutner
d366dd8e30 Fix the reduce/reduce conflicts
refs #7800
2014-11-23 15:25:25 +01:00
Gunnar Beutner
14c94fabde Add missing return value for ReplCommand::Run
refs #7805
2014-11-23 13:41:45 +01:00
Gunnar Beutner
fc1d872df8 Add color tags to the repl command
refs #7805
2014-11-23 12:38:16 +01:00