obarbashyn
6368887a4c
Add a check command for NETGEAR monitoring ( #10753 )
2026-03-31 15:15:34 +02:00
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
Alexander A. Klimov
c6dd6a092c
ITL: add check_linux_netdev
2023-01-16 11:33:23 +01:00
Rostislav Opocensky
e05128fa3c
pass nwc_health check SNMPv3 args only if needed ( #9095 )
...
* pass nwc_health check SNMPv3 args only if needed
check_nwc_health fails if any of the SNMPv3 arguments were passed but
the SNMP version 3 protocol was not requested.
For instance the following works:
check_nwc_health --hostname 192.0.2.3 --mode cpu-load \
--protocol 1 --community public
While the following plugin invocation results in an error:
check_nwc_health --hostname 192.0.2.3 --mode cpu-load \
--protocol 1 --community public \
--username joe --authpassword xxx
The superfluous SNMPv3 arguments may easily get inherited e.g. from host
templates.
* string()ify the result of macro() calls
Always convert results of macro("$nwc_health_protocol$") to strings
so both numbers and strings are correctly recognized.
* Revert "string()ify the result of macro() calls"
This reverts commit 3636b5b4ba .
Wrong method applied to the result of macro().
* string()ify the result of macro() calls
Always convert results of macro("$nwc_health_protocol$") in the
set_if clauses of the nwc_health command arguments to strings.
Both numbers and strings are then correctly recognized as the
nwc_health_protocol argument.
* string()ify the result of macro() calls
Always convert results of macro("$nwc_health_protocol$") in the
set_if clauses of the nwc_health command arguments to strings.
Both numbers and strings are then correctly recognized as the
nwc_health_protocol argument.
2021-12-07 15:29:34 +01:00
BausPhi
0b27c2af70
Add ITL CheckCommand "thola check"
2021-06-24 12:58:21 +02:00
K0nne
f1d5a6bfd0
Add missing options to 'nwc_health' ITL CheckCommand
2019-08-01 11:12:24 +02:00
Max Deparade
70eaebc5a4
Add printer_health CheckCommand definition
2019-07-08 08:44:23 +02:00
Dennis Lichtenthäler
81746284db
Allow setting the SNMP version for check_iftraffic.pl
...
This is not supported in check_iftraffic.pl master yet
but there's a pull request at https://github.com/NETWAYS/check_iftraffic/pull/4
2019-05-28 11:08:37 +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
Bauerheim, Marcus
8d715aab35
Update itl/plugins-contrib.d/network-components.conf
...
Add repeat_key = true for nwc_health
2018-11-07 14:26:02 +01:00
Michael Friedrich
eabea68c56
icinga.com: Update config files (ITL, etc.)
2018-10-18 09:37:59 +02:00
Michael Insel
158ae2188e
Change copyright header for 2018
2018-01-02 12:08:55 +01:00
Dirk Goetz
f169232ef2
ITL: Fix mitigation attribute for nwc_health
...
fixes #5075
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-22 11:15:58 +01:00
Yannick Charton
92149fc570
ITL: nwc_health_report attribute requires a value
...
fixes #5015
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 16:31:28 +01:00
Stephan Tesch
2ce3fcc514
Add --if-names option to check_interfaces
...
Sinve version 1.3 check_interfaces supports an option to query ifName instead
of ifDescr, which is helpful eg. FortiOS 5.4 devices.
fixes #5028
fixes #5032
Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-28 14:15:06 +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
78cd56e277
Implement support for default templates
...
fixes #12575
2016-08-28 10:27:43 +02:00
Yannick Charton
3fbbc2c7f8
Add interfacetable CheckCommand options --trafficwithpkt and --snmp-maxmsgsize
...
fixes #12468
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-18 09:08:40 +02:00
Michael Friedrich
b0e6eb0ca4
ITL: Fix thresholds and descriptions for iftraffic{,64}
...
refs #12135
2016-07-12 18:39:57 +02:00
Michael Friedrich
172b57e895
ITL: Add iftraffic64 and fix iftraffic CheckCommand plugin path
...
fixes #12135
2016-07-12 12:46:56 +02:00
Michael Friedrich
f15c40c569
ITL: Missing documentation for nwc_health "mode" parameter
...
fixes #11107
2016-03-15 15:44:17 +01:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Lennart Betz
f1735895b7
ITL: add check_command nwc_health
...
fixes #9812
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 21:04:44 +02:00
Lennart Betz
bb6db7978a
Fix check_command interfaces, change option match_aliases to boolean
...
fixes #9912
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-17 08:54:53 +02:00
Lennart Betz
8d11b744f4
ITL: Add check command check_interfaces
...
fixes #9527
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-03 18:05:09 +02:00
Malte Rabenseifner
3f622858e6
Use PluginContribDir in itl/plugins-contrib.d/*
...
fixes #9513
2015-06-29 10:21:28 +02:00
Michael Friedrich
fb2c84c904
Fix missing IPv6 support in 'iftraffic' check command
...
refs #9272
2015-05-13 14:19:20 +02:00
Michael Friedrich
b5740a6171
Add 'iftraffic' to plugins-contrib check command definitions
...
fixes #9272
2015-05-13 14:15:23 +02:00
Gunnar Beutner
d6812a7703
Rename the PluginsContribDir constant to PluginContribDir
...
fixes #8509
2015-02-23 15:35:55 +01:00
Dirk Goetz
7f368c0e18
Add contributed command definitions
...
fixes #7209
fixes #7292
fixes #7294
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-02-18 15:43:27 +01:00