mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-18 18:19:13 -05:00
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' {} +
```
This commit is contained in:
parent
274a0e39d5
commit
91c7e60df8
816 changed files with 1638 additions and 819 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# CMake 3.17 is required, CMake policy compatibility was verified up to 3.17.
|
||||
cmake_minimum_required(VERSION 3.17...3.17)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 Docker image | (c) 2025 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2025 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
FROM debian:trixie-slim AS build-base
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
if(MSVC)
|
||||
include_external_msproject(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
if(WIN32)
|
||||
configure_file(icinga2.nuspec.cmake icinga2.nuspec)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+
|
||||
|
||||
# SPDX-FileCopyrightText: 2025 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#
|
||||
# - Discover tests defined in the Boost.Test executable target
|
||||
#
|
||||
# Boost.Test executables should be defined like any other CMake executable target.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2025 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
execute_process(COMMAND "${CMD}" ${ARGS} OUTPUT_QUIET)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#
|
||||
# Install $src into directory $dest - usually only used for config files
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#
|
||||
# Ensures a directory is absolute by prefixing CMAKE_INSTALL_PREFIX if it is not
|
||||
# similar to CMAKE_INSTALL_FULL_... https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
|
||||
|
|
|
|||
|
|
@ -907,11 +907,13 @@ current year as this implies yearly updates we don't want.
|
|||
Depending on the file type, this must be a comment.
|
||||
|
||||
```cpp
|
||||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2026 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
```
|
||||
|
||||
```bash
|
||||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2026 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
```
|
||||
|
||||
#### Code Formatting <a id="development-develop-code-formatting"></a>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
file(GLOB DOCSRCS "*.md")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
if(NOT WIN32)
|
||||
configure_file(icinga2/constants.conf.cmake ${CMAKE_CURRENT_BINARY_DIR}/icinga2/constants.conf @ONLY)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Except of function urlencode which is Copyright (C) by Brian White (brian@aljex.com) used under MIT license
|
||||
|
||||
PROG="`basename $0`"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Except of function urlencode which is Copyright (C) by Brian White (brian@aljex.com) used under MIT license
|
||||
|
||||
PROG="`basename $0`"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
if(NOT WIN32)
|
||||
configure_file(icinga2.sysconfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/initsystem/icinga2.sysconfig @ONLY)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
if(MSVC)
|
||||
set(WindowsSources icinga.rc)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "cli/clicommand.hpp"
|
||||
#include "config/configcompilercontext.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
foreach(flag_var
|
||||
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
add_subdirectory(plugins-contrib.d)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "icinga" {
|
||||
import "icinga-check-command"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
if (!globals.contains("NscpPath")) {
|
||||
globals.NscpPath = dirname(msi_get_component_path("{5C45463A-4AE9-4325-96DB-6E239C034F93}"))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/**
|
||||
* main snmp-manubulon template
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "disk-windows" {
|
||||
command = [ PluginDir + "/check_disk.exe" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
template CheckCommand "ipv4-or-ipv6" {
|
||||
vars.check_address = {{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
if (!globals.contains("irc")) {
|
||||
globals.irc = log
|
||||
|
|
|
|||
3
itl/itl
3
itl/itl
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/**
|
||||
* This is the Icinga Templare Library, a collection of general purpose Icinga
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/**
|
||||
* This is the SNMP Manubulon Template Library.
|
||||
|
|
|
|||
3
itl/nscp
3
itl/nscp
|
|
@ -1,3 +1,4 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
include "command-nscp-local.conf"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/**
|
||||
* This is the Icinga Templare Library, a collection of general purpose Icinga
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/**
|
||||
* This is a directory for various contributed command definitions.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
install(
|
||||
FILES big-data.conf databases.conf hardware.conf icingacli.conf ipmi.conf logmanagement.conf metrics.conf network-components.conf network-services.conf operating-system.conf raid-controller.conf smart-attributes.conf smart-advanced.conf storage.conf systemd.conf virtualization.conf vmware.conf web.conf
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "cloudera_service_status" {
|
||||
command = [ PluginContribDir + "/check_cloudera_service_status.py" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "mssql_health" {
|
||||
import "ipv4-or-ipv6"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "hpasm" {
|
||||
import "ipv4-or-ipv6"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
template CheckCommand "icingacli" {
|
||||
command = [ PrefixDir + "/bin/icingacli" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "ipmi-sensor" {
|
||||
import "ipv4-or-ipv6"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "logstash" {
|
||||
import "ipv4-or-ipv6"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "graphite" {
|
||||
command = [ PluginContribDir + "/check_graphite" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "interfacetable" {
|
||||
command = [ PluginContribDir + "/check_interface_table_v3t" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "kdc" {
|
||||
import "ipv4-or-ipv6"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "mem" {
|
||||
command = [ PluginContribDir + "/check_mem.pl" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "glusterfs" {
|
||||
command = [ "sudo", PluginContribDir + "/check_glusterfs" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "systemd" {
|
||||
command = [ PluginContribDir + "/check_systemd" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "esxi_hardware" {
|
||||
command = [ PluginContribDir + "/check_esxi_hardware.py" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/**
|
||||
* main vmware-esx template
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
object CheckCommand "webinject" {
|
||||
command = [ PluginContribDir + "/check_webinject" ]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
include "command-plugins-windows.conf"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
add_subdirectory(base)
|
||||
add_subdirectory(cli)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
|
||||
# SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
mkclass_target(application.ti application-ti.cpp application-ti.hpp)
|
||||
mkclass_target(configobject.ti configobject-ti.cpp configobject-ti.hpp)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/application.hpp"
|
||||
#include "base/scriptglobal.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/application.hpp"
|
||||
#include "icinga-version.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/application.hpp"
|
||||
#include "base/application-ti.cpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef APPLICATION_H
|
||||
#define APPLICATION_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/configobject.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/array.hpp"
|
||||
#include "base/function.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/array.hpp"
|
||||
#include "base/objectlock.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef ARRAY_H
|
||||
#define ARRAY_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/atomic-file.hpp"
|
||||
#include "base/exception.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef ATOMIC_FILE_H
|
||||
#define ATOMIC_FILE_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2019 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2019 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef ATOMIC_H
|
||||
#define ATOMIC_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/base64.hpp"
|
||||
#include <openssl/bio.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef BASE64_H
|
||||
#define BASE64_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/boolean.hpp"
|
||||
#include "base/convert.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/boolean.hpp"
|
||||
#include "base/primitivetype.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef BOOLEAN_H
|
||||
#define BOOLEAN_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2022 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef BULKER_H
|
||||
#define BULKER_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/configobject.hpp"
|
||||
#include "base/dictionary.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/atomic-file.hpp"
|
||||
#include "base/configobject.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef CONFIGOBJECT_H
|
||||
#define CONFIGOBJECT_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/debuginfo.hpp"
|
||||
#include "base/configtype.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/configobject.hpp"
|
||||
#include "base/convert.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef CONFIGTYPE_H
|
||||
#define CONFIGTYPE_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/configuration.hpp"
|
||||
#include "base/configuration-ti.cpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef CONFIGURATION_H
|
||||
#define CONFIGURATION_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/configobject.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/configwriter.hpp"
|
||||
#include "base/exception.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef CONFIGWRITER_H
|
||||
#define CONFIGWRITER_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/console.hpp"
|
||||
#include "base/initialize.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef CONSOLE_H
|
||||
#define CONSOLE_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/context.hpp"
|
||||
#include <boost/thread/tss.hpp>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef CONTEXT_H
|
||||
#define CONTEXT_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/convert.hpp"
|
||||
#include "base/datetime.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef CONVERT_H
|
||||
#define CONVERT_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/datetime.hpp"
|
||||
#include "base/function.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/datetime.hpp"
|
||||
#include "base/datetime-ti.cpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef DATETIME_H
|
||||
#define DATETIME_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
library base;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/debuginfo.hpp"
|
||||
#include "base/convert.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef DEBUGINFO_H
|
||||
#define DEBUGINFO_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef DEFER
|
||||
#define DEFER
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/dependencygraph.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef DEPENDENCYGRAPH_H
|
||||
#define DEPENDENCYGRAPH_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/dictionary.hpp"
|
||||
#include "base/function.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/dictionary.hpp"
|
||||
#include "base/debug.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef DICTIONARY_H
|
||||
#define DICTIONARY_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/exception.hpp"
|
||||
#include "base/stacktrace.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifndef EXCEPTION_H
|
||||
#define EXCEPTION_H
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
||||
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "base/fifo.hpp"
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue