Commit Graph

421 Commits

Author SHA1 Message Date
Gunnar Beutner 45c1e57842 Use range-based for loops in mkclass
refs #12538
refs #12509
2016-08-27 12:17:10 +02:00
Gunnar Beutner dac0ff9343 Improve config validation for arrays of object names
fixes #12556
2016-08-26 10:36:53 +02:00
Gunnar Beutner 3a5d48d681 Release version 2.5.3 2016-08-25 08:09:54 +02:00
Gunnar Beutner 288413f046 Replace BOOST_FOREACH with range-based for loops
fixes #12538
2016-08-25 06:46:17 +02:00
Gunnar Beutner 429d11daa8 Fix compiler warnings
fixes #12534
2016-08-24 20:33:34 +02:00
Gunnar Beutner ae1ab5f865 Implement unit tests for state changes
fixes #12530
2016-08-24 19:45:52 +02:00
Michael Friedrich ce851c8815 Release version 2.5.2 2016-08-24 15:19:50 +02:00
Michael Friedrich 2b6b696616 Release version 2.5.1 2016-08-23 14:58:24 +02:00
Gunnar Beutner 5e8ae440c0 Release version 2.5.0 2016-08-22 17:43:55 +02:00
Gunnar Beutner 4c011c5eaa Revert "RPM: Add firewalld service"
This reverts commit 28e40caed2.

fixes #12495
2016-08-22 13:32:59 +02:00
Gunnar Beutner b7a1b58069 Improve performance for type lookups
fixes #12448
2016-08-16 11:02:33 +02:00
Gunnar Beutner 06b5f06494 Change wording for the function validation message
refs #12393
2016-08-12 07:58:24 +02:00
Gunnar Beutner 54bbaf9f7d Implement support for marking functions as deprecated
fixes #12393
2016-08-10 15:48:05 +02:00
Gunnar Beutner 9f425cdcaf Fix building Icinga with -fvisibility=hidden
fixes #12331
2016-08-09 09:00:19 +02:00
Michael Friedrich 88975a8e07 Remove obsolete README files in tools/syntax
fixes #12302
2016-08-03 15:55:41 +02:00
Gunnar Beutner f8eb29f139 Release version 2.4.10 2016-05-19 13:39:19 +02:00
Gunnar Beutner e2f106b7ca Release version 2.4.9 2016-05-19 09:55:08 +02:00
Gunnar Beutner 9edda76af2 Release version 2.4.8 2016-05-12 14:06:28 +02:00
Gunnar Beutner b8e911b0e5 Make sure the dependency graph is properly updated when adding and removing objects
fixes #11686
fixes #11374
2016-05-09 14:30:12 +02:00
Michael Friedrich b6435142f7 Update chocolatey packages and RELEASE.md
fixes #11647
2016-04-21 14:03:42 +02:00
Gunnar Beutner a9da311cbe Release version 2.4.7 2016-04-21 12:32:26 +02:00
Gunnar Beutner df25ee49ba Release version 2.4.6 2016-04-20 18:46:06 +02:00
Gunnar Beutner 2e5164f417 Release version 2.4.5 2016-04-20 10:21:49 +02:00
Nicolas Limage daa067dabe Fix typo in vim syntax highlighting
fixes #11617

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-04-19 12:01:12 +02:00
Rune Darrud 6cd0d53f28 Add support for msi uninstallation in Chocolatey package
refs #11587
2016-04-14 08:29:58 +02:00
Gunnar Beutner 2bf5f4d497 Fix compiler warning in *::NotifyActive
fixes #11577
2016-04-13 08:59:06 +02:00
Gunnar Beutner 4fe7076b5f Update Chocolatey scripts to support the new MSI package
refs #11449
2016-04-12 12:27:33 +02:00
Gunnar Beutner eb0892273e Implement the DateTime class
fixes #9839
2016-03-29 13:27:20 +02:00
Gunnar Beutner 5de9a988d9 Improve validation for arrays
fixes #11434
2016-03-24 09:15:39 +01:00
Dirk Goetz 28e40caed2 RPM: Add firewalld service
fixes #10718
2016-03-21 20:59:50 +01:00
Gunnar Beutner b39be65ccd Release version 2.4.4 2016-03-16 09:48:38 +01:00
Rune Darrud 47c32536b0 Add uninstall to the chocolatey package
refs #11369
2016-03-14 18:42:10 +01:00
Michael Friedrich 8a81dac9f5 Release version v2.4.3 2016-02-24 14:26:59 +01:00
Gunnar Beutner f7a08a60ae Release version 2.4.2 2016-02-23 12:58:45 +01:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Michael Friedrich 9289971829 Remove IcingaStatusWriter feature
fixes #10140
2015-11-26 19:30:40 +01:00
Gunnar Beutner bcdcfa9f81 Release version 2.4.1 2015-11-26 11:20:03 +01:00
Gunnar Beutner e9db4bc1b9 Update changelog and spec files
refs #10593
2015-11-14 06:21:02 +01:00
Michael Friedrich 2cf0df2675 Remove obsolete script 2015-11-09 13:37:32 +01:00
Gunnar Beutner 050c520b2a Convert Comment/Downtime to config objects
fixes #9777
2015-10-28 17:56:29 +01:00
Michael Friedrich df2d7c5bf8 Update vim syntax highlighting
refs #10430
2015-10-22 18:10:35 +02:00
Gunnar Beutner d01f09f3ef Hide internal attributes in the API
fixes #10393
2015-10-20 08:25:10 +02:00
Gunnar Beutner 1fbb6a2b78 Release version 2.3.11 2015-10-19 11:16:36 +02:00
Michael Friedrich 6cc4f85c66 Disallow modify attribute for certain object attributes
fixes #9095
2015-10-16 12:44:08 +02:00
Gunnar Beutner 425a1a0166 Implement API permissions
fixes #9088
2015-09-28 14:30:46 +02:00
Gunnar Beutner ed14dd7b4e Fix incorrect location info for validators
refs #9088
2015-09-28 06:55:44 +02:00
Gunnar Beutner b163e4a002 Make ConfigObject::{Get,Set}Field() methods public
fixes #10186
2015-09-23 08:33:18 +02:00
Gunnar Beutner 1a6b41787a Implement joins for status queries
fixes #10060
2015-09-22 09:45:23 +02:00
Michael Friedrich c6395ebfe4 Release version 2.3.10 2015-09-05 16:31:37 +02:00
Gunnar Beutner 865344ec57 Fix compiler warning
fixes #10012
2015-08-27 14:31:24 +02:00
Gunnar Beutner f45f6ccd82 Implement support for tracking dependencies between config objects
refs #9096
2015-08-25 13:54:05 +02:00
Michael Friedrich 8c20039dfe Fix formatting in mkclass
fixes #9966
2015-08-21 14:38:56 +02:00
Gunnar Beutner 071d2f18fb Rename DynamicObject/DynamicType to ConfigObject/ConfigType
fixes #9914
2015-08-15 20:40:41 +02:00
Gunnar Beutner f405a26052 Implement validation for modified attributes 2015-08-15 20:07:11 +02:00
Michael Friedrich d7970f5bb1 Implement modified attributes v2
refs #9081
refs #9093
2015-08-15 20:07:10 +02:00
Michael Friedrich c2027ef18c Update gdb pretty printer docs w/ Python 3
fixes #9686
2015-07-21 12:11:54 +02:00
Gunnar Beutner 118e7b1e13 Release version 2.3.8 2015-07-20 13:37:39 +02:00
Michael Friedrich 309e3ac269 Release version 2.3.7 2015-07-15 11:23:25 +02:00
Michael Friedrich c8d129bf9f Enable -Wno-deprecated-register for Clang and AppleClang
refs #9414
2015-07-14 15:02:43 +02:00
Michael Friedrich 55b6d40e3f Release version 2.3.6 2015-07-08 10:18:01 +02:00
Michael Friedrich 2add0c7b3d Fix -Wno-deprecated-register flag w/ sles11sp3 (Unix/Darwin only)
This only applies to git master (target 2.4)

refs #8842
refs #9559
fixes #9414

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2015-07-05 15:14:18 +02:00
Gunnar Beutner 42e887e395 Add spec file for Chocolatey
fixes #8503
2015-06-18 11:42:33 +02:00
Dirk Goetz 1ca184a92a Selinux: added boolean for allowing icinga 2 to connect to all ports, added plugin domain transition to admin role
refs #8332
2015-06-01 13:25:58 +02:00
Dirk Goetz c4609148fe Selinux: added interface to manage perfdata
refs #8332
2015-06-01 13:25:58 +02:00
Dirk Goetz 7d29a26d99 Selinux: added role and some required changes
refs #8332
2015-06-01 13:25:58 +02:00
Dirk Goetz 8bd2b99c82 Selinux: added context to config files to provide interfaces
refs #8332
2015-06-01 13:25:58 +02:00
Dirk Goetz 7458518e55 Selinux: added more nagios plugin contexts
refs #8332
2015-06-01 13:25:58 +02:00
Dirk Goetz 167f43a231 added chcon to systemd safe-reload script
Selinux: Added support for notifications

refs #8332
2015-06-01 13:25:58 +02:00
Dirk Goetz beeaf9b6e1 Selinux: Added graphite support 2015-06-01 13:25:58 +02:00
Dirk Goetz 7351ab0f6b Selinux: Added capabilities and database support
refs #8332
2015-06-01 13:25:58 +02:00
Dirk Goetz 1911209a45 Selinux: Added file contexts and port
refs #8332

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-01 13:25:58 +02:00
Michael Friedrich 22d179e97f Add selinux policy (first draft)
refs #8332
2015-06-01 13:25:58 +02:00
Carlos Cesario 0f0d60cc52 Fix syntax highlighting: host.address vs host.add
fixes #8853
2015-04-27 14:07:29 +02:00
Michael Friedrich 0f3d46c61a Add timestamp option for checkresult test script
refs #9055
2015-04-24 18:14:57 +02:00
Michael Friedrich 83f4ebc0df Fix compiler warnings w/ config validators
fixes #9015
2015-04-20 14:16:19 +02:00
Andrew Meyer ec8ec726c0 Vim syntax: Match groups before host/service/user objects
switches order of syntax object definitions to stop short circuit

fixes #9045

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-04-11 11:26:23 +02:00
Gunnar Beutner 8f1ba7f84c Fix incorrect validator for strings
fixes #8907
2015-03-30 14:58:42 +02:00
Gunnar Beutner 8c75e16b2a Remove unused prototypes in the THPP files
refs #8890
2015-03-28 23:38:05 +01:00
Gunnar Beutner 2cbc3142dc Avoid some unnecessary PLT indirections for constructor calls
refs #8890
2015-03-28 16:13:44 +01:00
Gunnar Beutner 72a7b08480 Move implementation code from thpp files into separate files
fixes #8890
2015-03-28 11:08:12 +01:00
Gunnar Beutner ec7224e3ed Generate C++ code for type validators
fixes #7709
fixes #8867
2015-03-27 07:59:27 +01:00
Gunnar Beutner 665c3b45c1 Add support for the C++11 keyword 'override'
fixes #8842
2015-03-23 07:55:06 +01:00
Gunnar Beutner 6c96d5bc98 Clean up the start-up process a bit
fixes #8791
2015-03-18 11:14:51 +01:00
Gunnar Beutner 4a8920b1d4 Improve Flex version detection on Windows
refs #8750
2015-03-16 13:32:02 +01:00
Gunnar Beutner cb26028844 Add missing keywords in the syntax highlighting files
fixes #8757
2015-03-16 10:07:43 +01:00
Markus Frosch 90568e798f Fix VIM syntax highlighting for comments
fixes #8755
2015-03-16 09:19:13 +01:00
Gunnar Beutner 8072ca31d9 Ensure that flex meets the version requirements
fixes #8750
2015-03-15 21:08:06 +01:00
Carlos Cesario bb83c32c0c Update syntax highlighting (nano/vim) for 2.3 features
fixes #8660
2015-03-12 17:15:10 +01:00
Gunnar Beutner a4d37132bf Implement a check for IDO database connections
fixes #8688
2015-03-12 10:19:12 +01:00
Gunnar Beutner 5e39fbbdf5 Make sure that 'icinga2 console' serializes temporary attributes (rather than just config + state)
fixes #8690
2015-03-11 16:07:24 +01:00
Gunnar Beutner fb6cc2f6ed Improve support for the Value class in the natvis extension 2015-03-08 20:35:15 +01:00
Gunnar Beutner 6e55715a6c Add missing fclose() in mkembedconfig 2015-03-02 07:34:11 +01:00
Gunnar Beutner 4da3b1c5b3 Make sure that Notification objects are activated after Host/Service objects
fixes #8517
2015-02-25 12:43:38 +01:00
Gunnar Beutner d5e9e1661a Don't set up instance variables for fields which have been marked as no_storage
fixes #8400
2015-02-09 14:12:27 +01:00
Gunnar Beutner a8ec777819 Make sure all fields in the Field class are initialized
refs #7564
2015-02-09 12:37:29 +01:00
Gunnar Beutner 279293331f Build fix for Windows
refs #7564
2015-02-09 11:04:28 +01:00
Gunnar Beutner 97fc5bb10b Implement additional attributes for the Host class
refs #7564
2015-02-09 08:50:17 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Michael Friedrich 85af84c9fb Docs: Fix gdb pretty printers
fixes #8048
2014-12-15 11:26:22 +01:00
Gunnar Beutner 74d92b062a Fix debug visualizer for the Value type
fixes #8073
2014-12-12 15:22:37 +01:00
Gunnar Beutner 89a0fc006e Implement a boolean sub-type for the Value class
fixes #8043
2014-12-10 09:05:16 +01:00
Gunnar Beutner 04ca634a16 Fix typeof incorrectly returning null for arrays and dictionaries
fixes #8002
2014-12-08 08:36:03 +01:00
Gunnar Beutner a134882567 Fix unity builds on Windows
fixes #7644
2014-12-04 21:47:53 +01:00
Michael Friedrich c39fdf470f Syntax: Add missing keywords 2014-11-17 09:51:24 +01:00
Gunnar Beutner 5e1099394a Remove the migrate-hosts script
fixes #7398
2014-11-13 11:15:55 +01:00
Gunnar Beutner 65be09215f Avoid unnecessary type lookups
refs #7622
2014-11-10 20:07:07 +01:00
Gunnar Beutner 8bd091fef0 Fix: mkclass crashes when called without arguments
fixes #7617
2014-11-08 13:41:08 +01:00
Gunnar Beutner e1c95d4fa0 Improve config compiler's memory usage 2014-11-08 13:21:51 +01:00
Gunnar Beutner 85a380c443 mkclass: Optimize struct layout
fixes #7615
2014-11-07 23:07:28 +01:00
Gunnar Beutner 266b1754c7 Speed up type lookups
refs #7561
2014-11-07 12:39:32 +01:00
Michael Friedrich 9c60a82c87 Change migrate-hosts to remove repository.d/hosts/fqdn
Create a backup, and drop that later.

refs #7398
2014-11-07 04:13:44 +01:00
Gunnar Beutner 8bbb2bfb7b Fix compiler warnings for the lexers 2014-11-06 06:23:45 +01:00
Michael Friedrich 8c9ba23cdc Docs: Update troubleshooting with gdb debug printer install
refs #7514
2014-11-03 19:36:45 +01:00
Gunnar Beutner 170c5a59e4 Implement typeof() function 2014-11-03 00:45:14 +01:00
Gunnar Beutner 4b89e1b45f Fix error message in migrate-hosts
fixes #7528
2014-10-31 13:47:34 +01:00
Gunnar Beutner 3fc3f05bb4 Implement field attribute to hide fields in command auto-completion
fixes #7403
2014-10-31 08:53:25 +01:00
Gunnar Beutner 9f7c97051e Hide attributes in command auto-completion which cannot be set
refs #7403
2014-10-31 08:49:14 +01:00
Gunnar Beutner 8cf5b33e70 Make the migrate-hosts script work on OS X
refs #7398
2014-10-29 07:43:26 +01:00
Gunnar Beutner 876099fa0a Migrate config files from conf.d/hosts to repository.d/hosts
fixes #7398
2014-10-28 13:16:48 +01:00
Gunnar Beutner 315c84eb4a Fix problems with the serializer when using 'type' as an attribute
fixes #7372
2014-10-25 09:14:56 +02:00
Gunnar Beutner 92896311f3 Implement support for C/C++ comments in the TI compiler
fixes #5018
2014-10-17 19:44:31 +02:00
Gunnar Beutner d7d6d6096f Remove icinga2-enable-feature and icinga2-disable-feature
refs #7250
2014-10-14 18:35:52 +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
Gunnar Beutner 4dd886ebd5 Build fix for Windows
refs #7033
2014-09-10 15:24:08 +02:00
Gunnar Beutner 06378b4784 Build fix for OS X 2014-09-09 16:43:21 +02:00
Gunnar Beutner 292d9ee740 Implement include guards for mkclass
fixes #7033
2014-09-09 13:30:54 +02:00
Gunnar Beutner 6f2ea6bc08 Fix build problems with Oracle Solaris Studio
refs #6896
2014-09-02 13:09:17 +02:00
Gunnar Beutner c55bd29eda Only build mkunity when unity builds are enabled
refs #7034
2014-09-02 07:45:18 +02:00
Gunnar Beutner 46f26024dc Implement support for excluding files from unity builds
refs #7034
2014-09-01 09:19:21 +02:00
Gunnar Beutner eb091a87b0 Implement support for unity builds
fixes #7034
fixes #7035
2014-08-30 20:02:12 +02:00
Michael Friedrich 7d54ebb6ac Add enable_ha/failover_timeout to vim/nano syntax highlighting
refs #6827
refs #6203
2014-08-28 21:15:57 +02:00
Gunnar Beutner f6a7f84ed5 Revert "Fix external command pipe: Too many open files"
This reverts commit 1a3f7d774c.
2014-08-20 13:32:07 +02:00
Michael Friedrich 1a3f7d774c Fix external command pipe: Too many open files
fixes #6916
2014-08-14 16:15:01 +02:00
Michael Friedrich 5799d86ed7 Documentation: s/enable_flap_detection/enable_flapping/g
fixes #6870
2014-08-07 11:27:50 +02:00
Michael Friedrich 6aec8ba394 Syntax: Add new RunDir constant
refs #6627
2014-08-04 11:25:47 +02:00
Alexander Wirt a51860d2a1 Fix icinga-{en,dis}able-feature text 2014-06-15 22:10:15 +02:00
Michael Friedrich 4e6a8b9161 fix docker script
refs #6481
2014-06-15 11:36:28 +02:00
Michael Friedrich 614af5b0e5 Fix missing install action
refs #6481
2014-06-13 22:04:24 +02:00
Michael Friedrich 51a889d019 Correct wrong file move
refs #6481
2014-06-13 20:35:23 +02:00
Michael Friedrich 4a8f258d52 Move dev/ to tools/docker
refs #6481
2014-06-13 20:07:36 +02:00
Michael Friedrich 571321f386 Move agent files to contrib/ for now
refs #6481
2014-06-13 20:04:00 +02:00
Michael Friedrich a838dad659 RPMs: Do not install the agent parts
refs #6481
2014-06-13 19:55:59 +02:00
Michael Friedrich 64cc43bbb7 Remove empty migration dir, is referenced as separate tool in docs
refs #6481
2014-06-13 19:55:23 +02:00
Carlos Cesario fa515bd5af Syntax Highlighting: Add nano syntax file.
Fixes #6385

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-04 15:45:03 +02:00
Carlos Cesario ec75e7dcbb Vim syntax: Fix angleBrackets and vars regex.
Fixes #6386

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-03 17:22:12 +02:00
Carlos Cesario 1b45b814eb Add icinga2 vim syntax file and installation documentation.
Fixes #3199

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-02 16:29:27 +02:00
Michael Friedrich 7e46926c72 Remove debug output in icinga2-enable-feature.
Fixes #6360
2014-05-30 09:55:23 +02:00
Michael Friedrich 020b4a3615 Fix help text for icinga2-{en,dis}able-feature.
Refs #6315
2014-05-29 15:24:13 +02:00
Gunnar Beutner 59a0ff00a7 Use icinga2-enable-feature's multi-argument functionality in the Debian/RPM packages.
Refs #6315
2014-05-27 07:27:12 +02:00
Carlos Cesario b5681b5e38 Add icinga2-{en,dis}able-feature support to multiple modules.
Fixes #6315

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-05-26 20:16:55 +02:00