icinga2/itl/plugins-contrib.d
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
..
big-data.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
CMakeLists.txt Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
databases.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
hardware.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icingacli.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
ipmi.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
logmanagement.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
metrics.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
network-components.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
network-services.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
operating-system.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
raid-controller.conf ITL: Align plugins-contrib.d to PluginContribDir 2019-07-22 09:37:48 +02:00
smart-advanced.conf Add check_smart.pl plugin as smart-advanced command 2026-01-29 16:01:31 +01:00
smart-attributes.conf ITL: Enhanced SMART attributes monitoring plugin check configuration to more parameters 2025-10-06 15:27:17 +02:00
storage.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
systemd.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
virtualization.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
vmware.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
web.conf Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
windows.conf Change file location, doc, and varaible names as requested in the review 2019-10-18 07:45:21 +02:00