Commit graph

40 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
Julian Brost
5ec66cea46
Merge pull request #8003 from Icinga/feature/snmp-interface-a-7963
check_snmp_int: support -a
2021-03-05 16:11:02 +01:00
Maik Stuebner
511727b3f6 Add parameter -f to snmp-process
with var snmp_process_use_fullpath is set to true
2020-12-16 12:04:03 +01:00
Alexander A. Klimov
1bb51c26d1 check_snmp_int: support -a
refs #7963
2020-05-12 13:56:22 +02:00
Michael Friedrich
381c454d38
Merge pull request #7602 from MichalMMac/snmp-interface-extendedchecks
Add extended checks options to snmp-interface command template
2019-11-15 13:35:08 +01:00
Michal Moravec
576266a1bf Enhance snmp_interface_extended_checks documentation 2019-11-04 09:33:48 +01:00
Michal Moravec
e4d78ce330 Implement check_snmp_int.pl -q extended checks 2019-10-31 16:15:10 +01: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
Martin Neubert
77d1ea63c5
Added snmp_exclude option to manubulon snmp-storage check 2019-01-11 09:54:24 +01:00
Mark Leary
1b10e81511 Follow naming convention for snmp plugin attributes. 2018-11-02 09:58:44 -04:00
Mark Leary
1b062e0a5b Change indents to tab. 2018-11-02 09:52:37 -04:00
Mark Leary
62e9c0badd Add support for -q argument to check_snmp_storage.pl. 2018-10-31 13:28:27 -04:00
Michael Friedrich
eabea68c56 icinga.com: Update config files (ITL, etc.) 2018-10-18 09:37:59 +02:00
T. Mulyana
de3115590d itl: Add command parameters for snmp-memory
Signed-off-by: Markus Frosch <markus.frosch@icinga.com>
2018-01-05 17:31:24 +01:00
Markus Frosch
59cf84db54
Merge pull request #5902 from sahnd/feature/itl-snmp-storage-responsesize
Add parameter --octetlength to snmp-storage command.
2018-01-05 17:05:28 +01:00
Michael Insel
158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
sah
d858b9741a Add parameter --octetlength to snmp-storage command. 2017-12-27 19:39:19 +01:00
Yannick Charton
8c059886ac add itl snmp-service
add itl snmp service for manubulon plugin check_snmp_win.pl
2017-10-13 00:30:27 +02:00
Michael Newton
88c863ae57 ITL: Support weathermap data in snmp_interface CheckCommand
See https://github.com/dnsmichi/manubulon-snmp/pull/26 for related commit.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-12 16:55:59 +02:00
Lee Clemens
b5ce0fda79 itl: Add manubulon/check_snmp_env.pl as CheckCommand snmp-env 2017-07-26 15:03:54 -04:00
Petr Ruzicka
2cdc4165c6 Description modified for command plugins 2017-06-20 13:38:31 +02:00
mocruz
7f60566340 ITL: Add memory and cpu thresholds to snmp_process Manubulon CheckCommand
fixes #5129
fixes #5130

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:43:13 +02:00
Tim Weippert
2ac0c024cd ITL: Implement inverse switch for snmp_interface CheckCommand
As for Interface Monitoring it is sometime needed to inverse the status (down -> OK, up -> NOT OK).

Can be configured via snmp_interface_inverse variable (boolean).

fixes #115

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:34:05 +01:00
Michael Friedrich
ae258f0eca ITL: Add ifalias to snmp_interface manubulon CheckCommand
fixes #114
2017-02-07 17:25:47 +01:00
Michael Friedrich
b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Daniel Helgenberger
be40085b3b Adds bool switch for procurve / HP memory to the "snmp-memory" check command
fixes #12586

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-29 18:22:11 +02:00
Gunnar Beutner
78cd56e277 Implement support for default templates
fixes #12575
2016-08-28 10:27:43 +02:00
Manuel Reiter
77f59887c1 Add support for "-A" command line switch to CheckCommand "snmp-process"
Support for "-A" command line switch to CheckCommand "snmp-process" added in
command-plugins-manubulon.conf. Further details can be found in issue #12189.

fixes #12189

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-07-21 16:31:18 +02:00
Jan Wagner
5e3ea4720f ITL: Add option for ifName to Manubulon CheckCommand 'snmp_interface'
Recent Net-SNMP's snmpd daemon has changed behavior returning detailed
information about the network interfaces in the IF-MIB::ifDescr MIB.

There is a patch out there that is working around the issue (see also
https://bugs.debian.org/812837) by providing the behaviour via '-N'.

This path provides a way to make use of this workaround.

fixes #11931

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-15 18:02:36 +02:00
Gunnar Beutner
599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Tom Geissler
8d383c6a19 Add 'snmp_is_cisco' to Manubulon snmp-memory command definition
The new var 'snmp_is_cisco' was added to snmp-memory check
for use the correct OID with cisco switches. The default
is 'false'.

fixes #9303

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-17 15:13:38 +02:00
Gunnar Beutner
bb033b5ce3 Fall back to using address6 when the address attribute is not set
fixes #8259
2015-02-13 11:52:50 +01:00
Michael Friedrich
78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Steve McMaster
ae95918da0 Add -t options to "snmp" and "snmp-manubulon-command" CheckCommand objects
fixes #8075

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-12-12 18:10:35 +01:00
Carlos Cesario
443ae0f298 Add label option to snmp ckecks
Add label option to snmpv3 and snmp snmp-interface commands. Based on attached files to ticket #7545.

fixes #7545

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-26 20:40:55 +01:00
Carlos Cesario
4c9fe5fd5b Add more options to snmp-interface command
Add more options to snmp-interface command based on conf file attached on ticket #7136.

fixes #7136

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-26 18:26:19 +01:00
Carlos Cesario
911863f974 Plugin Check Commands: Fix snmp-load threshold values
Fix snmp-load threshold values to suppoprt "-T stand" param in check command.
To use 3 values, change the snmp_load_type var to "netsl".

fixes #7351

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 18:27:04 +02:00
Brian Dockter
273a5eddc5 Change command-line option for enabling SNMP v2c support to valid short form.
fixes #7359

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 16:54:38 +02:00
Jan Wagner
42852108a3 Fix '3 warnings and critical' error
fixes #7275

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-09-18 13:20:26 +02:00
Michael Friedrich
aef11814d0 Rename plugin-commands-manubulon.conf to command-plugins-manubulon.conf
refs #6650
2014-08-27 19:57:44 +02:00
Renamed from itl/plugin-commands-manubulon.conf (Browse further)