Commit graph

30 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
Peter Eckel
b7148cf558 Use --description instead of -d for check_service.exe 2019-05-17 15:09:58 +02: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
Michael Friedrich
6998436db1
Merge pull request #6480 from ajaffie/feature/win-check-update-4720
Modify windows check_update command to allow specifying thresholds.
2018-11-13 16:40:26 +01:00
Andrew Jaffie
7e9228860b Modify windows check_update command to allow specifying thresholds.
refs #4720
2018-10-23 11:28:43 +02:00
Michael Friedrich
eabea68c56 icinga.com: Update config files (ITL, etc.) 2018-10-18 09:37:59 +02:00
Michael Friedrich
b2957bb812
Merge pull request #6651 from Icinga/feature/check-swap-show-used
Add 'used' feature to check_swap
2018-10-09 08:36:22 +02:00
Michael Insel
ad1ab42393 Update ITL for windows check_swap 'used' feature 2018-10-08 21:17:03 +02:00
teclogi
4f3ab9b1c8 Add 'used' parameter to memory-windows ITL command 2018-10-08 13:40:26 +02:00
Michael Insel
afbb5689b3 ITL: Add default thresholds to windows check commands
This adds default thresholds to the windows check commands:

* disk-windows:		warn: 20%, crit: 10%
* memory-windows:	warn: 10%, crit: 5%
* swap-windows:		warn: 10%, crit: 5%
2018-04-25 21:26:44 +02:00
Michael Insel
158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Jean Flach
3427aca7d2 Merge pull request #5435 from Icinga/feature/3891-service-description
Add -d option to check_service
2017-08-07 11:36:20 +02:00
Jean Flach
94f58f2c2e Add -d option to check_service 2017-07-26 17:02:18 +02:00
Jean Flach
ba35e6cace Add ITL and documentation for new parameter 2017-07-24 10:14:15 +02:00
Petr Ruzicka
2cdc4165c6 Description modified for command plugins 2017-06-20 13:38:31 +02:00
Jean Flach
39c24e9ec9 Add check_nscp_api plugin for NSClient++ API checks
refs #4721
2017-06-13 21:17:16 +02:00
Jean Flach
c3b0051360 Add --perf-syntax option to check_perfmon
fixes #4896
2017-02-20 09:22:58 +01:00
Michael Friedrich
b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Jean Flach
eabb54eab6 Spell ISATAP correctly and set noisatap in the ITL
refs #12155
2016-09-28 11:26:08 +02:00
Jean Flach
6c565d191d Update check_network in docs and itl
fixes #12155
2016-09-28 11:20:42 +02:00
Gunnar Beutner
78cd56e277 Implement support for default templates
fixes #12575
2016-08-28 10:27:43 +02:00
Eduard Güldner
09cb793402 Added exclude parameter in disk-windows CheckCommand
Added missing command parameter in definition for disk-windows CheckCommand
in order to be able to exclude certain drives from being checked.
This parameter was addressed in feature #9201
Further details can be found in feature #10787

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10787
2016-01-18 10:27:54 +01:00
Gunnar Beutner
599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Michael Friedrich
6004ab6c31 ITL: Increase the default timeout for OS checks (update-windows, yum, apt)
fixes #10504
2015-11-06 15:41:54 +01:00
Jean-Marcel Flach
1d1d2ceb96 Add repeat_key=true to check_disk.exe -p
fixes #10158
2015-09-16 15:16:42 +02:00
Reto Zeder
73d98151c1 Wrong parameter for CheckCommand ping-common-windows
Signed-off-by: Jean-Marcel Flach <jean-marcel.flach@netways.de>

fixes #9637
2015-07-16 13:13:19 +02:00
Christian Harke
ebb6efe1c5 ITL: Fix incorrect check_ping.exe parameter
fixes #9463
2015-07-07 15:42:47 +02:00
Gunnar Beutner
8612384dea Fix incorrect custom var names in the ITL
fixes #9258
2015-05-13 08:09:53 +02:00
Gunnar Beutner
f2ac52cc88 Fix incorrect variable name in the ITL
fixes #9253
2015-05-12 13:20:19 +02:00
Jean Flach
a7a0eca8b2 Add CheckCommands and documentation on Windows plugins
fixes #8180
fixes #8850
2015-03-26 10:56:06 +01:00