Commit graph

43 commits

Author SHA1 Message Date
Yonas Habteab
91c7e60df8 Replace all existing copyright headers with SPDX headers
I've used the following command to replace the original copyright header
lines in a C-style comment block:

```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f -exec perl -pi -e 's{/\*[^*]*\(\s*c\s*\)\s*(\d{4})\s*Icinga\s+GmbH[^*]*\*/}{// SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n// SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```

For files that use shell-style comments (#) like CMakeLists.txt, I've
used this command:

```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f -exec perl -pi -e 's{#.*\(\s*c\s*\)\s(\d{4})\sIcinga\s+GmbH.*}{# SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n# SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```

And for SQL files:

```
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f \( -name '*.sql' \) -exec perl -pi -e 's{--.*\(c\)\s(\d{4})\sIcinga\sGmbH.*}{-- SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n-- SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
$ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f \( -name '*.sql' \) -exec perl -pi -e 's{-- Copyright \(c\)\s(\d{4})\sIcinga\s+Development\sTeam.*}{-- SPDX-FileCopyrightText: \1 Icinga GmbH <https://icinga.com>\n-- SPDX-License-Identifier: GPL-2.0-or-later}gi' {} +
```
2026-02-04 14:00:05 +01:00
Markus Weber
0bdcd08e02
Add the Option to disable RetryWrites to CheckCommand of mongodb (#9539)
* Add the Option to disable RetryWrites to CheckCommand for newer check_mongodb.py

* Add documentation foor the Option to disable RetryWrites in the MongoDB-Check
2023-01-27 15:59:40 +00:00
Alexander A. Klimov
324b002c33 ITL: mongodb: support --ssl-ca-cert-file 2022-12-13 17:47:30 +01:00
Peter Eckel
688de9dce7 [ITL] Added --datadir, --language and --perflimit for check_postgres 2021-10-01 19:53:53 +02:00
Peter Eckel
4ca496e677 [ITL] Added the option to set PGCONTROLDATA for check_postgres 2021-07-22 17:24:37 +02:00
Philipp Dorschner
9455c906e1 ITL: Add notemp parameter to oracle health 2020-01-13 15:35:07 +01:00
BarbUk
2b951a0d37 Use PluginContribDir instead of PluginDir 2019-07-01 09:32:08 +02:00
BarbUk
66d2e968a9
Add memcached CheckCommand definition 2019-06-28 16:37:56 +04:00
Michael Friedrich
d14a88235d Replace Copyright header with a short version, part I
CLion -> replace in path
2019-02-25 14:48:22 +01:00
BarbUk
5f58414aea Add proxysql CheckCommand definition 2018-12-22 11:01:30 +04:00
Michael Friedrich
eabea68c56 icinga.com: Update config files (ITL, etc.) 2018-10-18 09:37:59 +02:00
Markus Frosch
9fbc40615a Improve path handling in cmake and daemon 2018-08-07 14:10:26 +02:00
Carsten Koebke
f499743ef2 Its catalogued not cataloged :) 2018-06-28 07:18:57 +02:00
Carsten Koebke
d359d9e7c7 Fix for catalogued locally databases. Fixes #6338 2018-06-03 20:25:24 +02:00
Michael Friedrich
2035506956 ITL: Add mongodb --authdb parameter support
fixes #5260
2018-01-08 14:14:04 +01:00
Markus Frosch
ecc04807dd
Merge pull request #5914 from Icinga/fix/itl-check-mongodb-5817
Fix for wrong attribute in ITL mongodb CheckCommand
2018-01-05 17:17:27 +01:00
Michael Insel
158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Michael Insel
ae3921b798 Fix for wrong attribute in ITL mongodb CheckCommand
This corrects the attribute mongodb_address to mongodb_host, if the old attribute is set Icinga will use that and output a Log message to the Log.

refs #5817
2017-12-27 20:19:39 +01:00
Kálmán Szalai - KAMI
709d00fbdb Add support for LD_LIBRARY_PATH env variable in oracle_health ITL CheckCommand
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-12-19 11:56:44 +01:00
Strajan Sebastian Ioan
2120772417 Add support for check_address as default in database CheckCommand objects
1. set the default hostname to the "$check_address$" for multiple CheckCommands
2. add support for  "$check_address$" for ping4 and ping6 commands which don't import the ipv4-or-ipv6 template

This commit changes the default address for redis, mongodb and elasticsearch to
use check_address instead of localhost. Users who might not have set this explicitly
in their services should adopt this.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-10-19 08:22:48 +02:00
Jean-Louis Dupond
e6883bba40 itl: add additional mssql_health arguments 2017-07-04 10:41:51 +02:00
Michael Friedrich
5b7226548c Merge pull request #5209 from Mikesch-mp/itl_mssql
Add report mode to mssql_health

fixes #5209
2017-05-09 14:52:55 +02:00
Mikesch-mp
6bf81eb979 Add report mode to mssql_health 2017-05-09 14:43:20 +02:00
Mikesch-mp
6d4acb3798 Add report mode to db2_health 2017-04-30 18:43:48 +02:00
Dirk Goetz
efdbfb764b Add additional arguments to mssql_health
fixes #5063

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-03-14 15:27:27 +01:00
Yannick Charton
1373a5e788 ITL: Add report option to shorten output in oracle_health CheckCommand
fixes #4963
fixes #4661

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:02:03 +01:00
Michael Friedrich
b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich
5db468b3ca ITL: Add tempdir attribute to postgres CheckCommand
fixes #13449
2016-12-07 16:56:12 +01:00
Roman Gerhardt
283cf185ec ITL: Add timeout option for mysql_health CheckCommand
fixes #13431
2016-12-06 17:49:01 +01:00
Yannick Charton
0742301b1d ITL: Add timeout option for oracle_health CheckCommand
fixes #12739
2016-09-21 14:09:43 +02:00
Gunnar Beutner
78cd56e277 Implement support for default templates
fixes #12575
2016-08-28 10:27:43 +02:00
Carsten Köbke
f0dbcabf70 ITL: Add db2_health CheckCommand definition
fixes #12061
2016-08-09 14:20:08 +02:00
Jo Goossens
1a85cfe427 ITL: Add missing parameters for (latest) mysql_health
fixes #12221

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-07-25 17:23:53 +02:00
Michael Friedrich
84def15ae8 Add --method parameter for check_{oracle,mysql,mssql}_health CheckCommands
fixes #11098
2016-03-18 15:10:37 +01:00
Andres Ivanov
7e4a08749f ITL: Add query option to check_postgres
There were "query", "valtype" and "reverse" options missing
for "custom_query" action type in check_postgres plugin.

fixes #11205

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-02-23 22:16:00 +01:00
Claudio Kuenzler
da85c7a20e Fix mongodb CheckCommand
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10979
2016-01-18 15:43:51 +01:00
Gunnar Beutner
599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Dirk Goetz
06d9db8c5d Add check_redis to ITL
fixes #9675
2015-08-03 15:46:30 +02:00
Malte Rabenseifner
3f622858e6 Use PluginContribDir in itl/plugins-contrib.d/*
fixes #9513
2015-06-29 10:21:28 +02:00
Dirk Goetz
e88cc78a4f Add elasticsearch checkcommand to itl
fixes #9415

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-17 15:17:32 +02:00
Michael Friedrich
9bbfdbd0fb Fix wrong argument for mssql plugin check command
fixes #9372
2015-06-08 18:05:16 +02:00
Ferdi Gueran
9562018447 Add database CheckCommand definition for mongodb
fixes #9191

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-28 14:28:12 +02:00
Dirk Goetz
aaae1297e8 Add database plugins check_mysql_health, check_mssql_health, check_oracle_health and check_postgres to ITL
fixes #8760

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-02 10:43:04 +02:00