Commit graph

26 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
Michael Insel
25c2a2bb53 Fix compiler warnings in Windows plugins
This fixes a bunch of compiler warnings in the Windows plugins.
2019-04-30 10:32:44 +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
dab53448bc icinga.com: Update *.{h,c}pp 2018-10-18 09:27:04 +02:00
Michael Insel
5dc900369d Fix wrong UOM in check_uptime windows plugin
This fixes the usage of unvalid UOM in the check_uptime windows plugin.
The performance data will now provided in seconds.
2018-06-25 18:29:24 +02:00
Michael Friedrich
071617da9f Conform to the Plugin API spec for performance label quoting
Single quotes are allowed, double quotes are not.
2018-06-22 11:12:57 +02:00
Gunnar Beutner
0c006637ea Clean up the Icinga plugins a bit 2018-03-01 15:27:09 +01:00
Michael Insel
158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Jean Flach
2636e6a77a Whitespace fix
What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars
2017-12-20 14:53:52 +01:00
Gunnar Beutner
42744fde5b Remove extraneous whitespace 2017-12-14 08:50:09 +01:00
Michael Friedrich
b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Gunnar Beutner
599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Michael Friedrich
f7b5aa33ce Fix a couple of wrong white spaces 2015-09-18 13:04:09 +02:00
Jean Flach
56f92f7846 Refactor plugin code 2015-03-23 13:07:02 +01:00
Jean Flach
62b2bae6b6 Update Window plugins' usage strings 2015-03-06 12:14:09 +01:00
Jean Flach
377f66c403 Add some failsafes to the windows plugins 2015-02-17 15:54:23 +01:00
Jean Flach
0e7b8d16e2 Fix check_uptime faulty behavior when using -u
fixes #8327
2015-02-02 13:30:10 +01:00
Michael Friedrich
78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Jean Flach
c11f2d5ca2 Add -d/--debug option for windows plugins
#fixes 8119
2015-01-12 15:53:25 +01:00
Jean Flach
2e9944f4bd Change some things up in the windows-plugins
refs #7886 #7778 #8060 #8115
2014-12-19 10:21:38 +01:00
Jean Flach
e1b5954e62 Clean up check plugins more 2014-11-14 14:36:10 +01:00
Jean Flach
616716dc55 Clean up check plugins.
fixes #7670 #7669
2014-11-14 13:57:54 +01:00
Jean Flach
f85be08480 Improve check argument parsing 2014-11-13 15:57:10 +01:00
Jean Flach
22e3e48669 Fix check_plugins dying with certain parameters 2014-11-10 14:39:12 +01:00
Jean Flach
83e6fb3083 Make check plugins decent
fixes #7242
2014-11-06 16:36:42 +01:00
Jean Flach
ea8fd12a07 Add Windows plugins
refs #7242
2014-11-06 15:17:08 +01:00