Compare commits

...

850 commits

Author SHA1 Message Date
326ff9055d New changelog 2025-12-03 07:15:56 +01:00
64d8f2c877 Prepare release 2025-12-02 15:08:38 +01:00
20257df7f9 d/control: Remove deprecated check_ntp 2025-12-02 13:40:01 +01:00
9a01042a1f Raising alternative of check_curl over check_http. check_curl is prefered. 2025-12-02 13:09:30 +01:00
dfe02ab020 Adding d/p/27_check_mysql_fix_replica, Fixes reported regression for MariaDB 10.11.14-0+deb12u2 (Closes: #1116027) 2025-12-02 11:38:19 +00:00
Bas Couwenberg
861c613c8a Don't use test-build-validate-cleanup, fails where pbuilder --twice succeeds.
dpkg trolerates removal of generated autotools files, the CI job has no tolerance whatsoever.
2025-11-28 14:31:19 +01:00
Bas Couwenberg
f047b0543d Use debrebuild instead of reprotest. 2025-11-28 12:16:26 +01:00
Bas Couwenberg
52d9fc3bc3 Use test-build-validate-cleanup instead of test-build-twice. 2025-10-25 12:49:13 +02:00
2bd6e61e71 d/control: Drop libsystemd0 from build-deps, pulled by libsystemd-dev 2025-10-20 07:49:49 +02:00
fc0af495f8 New changelog 2025-10-06 12:04:55 +02:00
20d58b3cf9 Prepare release 2025-10-06 11:30:37 +02:00
3f438f9cff Adding d/p/26_check_mysql_replica from upstream (Closes: #1116027) 2025-10-06 10:48:11 +02:00
Bas Couwenberg
97009f5d6d Revert "Drop Priority: optional, default since dpkg 1.22.13."
This reverts commit 294841c276.
2025-10-01 11:16:13 +02:00
Bas Couwenberg
294841c276 Drop Priority: optional, default since dpkg 1.22.13. 2025-10-01 09:41:52 +02:00
Bas Couwenberg
4770fe3039 Update lintian overrides. 2025-09-12 17:54:16 +02:00
8cd52e30e9 Adding d/patches/25_check_users_sd_get_uids to fix user count 2025-08-11 21:42:55 +00:00
7236330ac9 d/control: Adding libsystemd-dev and libsystemd0 as build-dep (Closes: #1110265) 2025-08-10 21:18:04 +00:00
bee01b8716 d/control: Remove Alexander Wirt from Uploaders 2025-04-22 21:07:50 +02:00
a7037b2f06 New changelog 2025-04-22 16:31:14 +02:00
223a2060cb Prepare release 2025-04-22 16:26:10 +02:00
1e0ad80693 New changelog 2025-04-21 16:50:37 +02:00
dde9499b64 Prepare release 2025-04-21 16:30:31 +02:00
b724e41b3e d/NEWS: Add information about check_http deprecation 2025-04-21 16:22:30 +02:00
ddaa81fb4c check_curl: move to monitoring-plugins-basic package 2025-04-21 15:33:05 +02:00
6bb85804e1 Adjust debian/rules for check_http rename 2025-04-21 15:33:05 +02:00
baad659ea8 Add d/monitoring-plugins-basic.alternatives
Handle check_http alternatives
2025-04-21 15:32:59 +02:00
7e8c776bf5 Adding d/p/24_check_http_deprecation from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2118.patch
2025-04-21 11:11:55 +02:00
f8202f34c0 New changelog 2025-04-20 22:18:06 +02:00
d0b0db0bd7 Prepare release 2025-04-20 21:11:01 +02:00
2f5d0256ae Adding d/p/04_lmstat_path (Closes: #1053687)
Patching $PATH_TO_LMSTAT to /usr/local/bin/lmstat
2025-04-20 14:41:29 +02:00
55f87b7a39 Changing check_httpname to the intended check_http_hostname definition
(Closes: #1099028)
2025-04-20 09:55:21 +02:00
3a5f25020e debian/NEWS: Fix spelling error 2025-04-19 14:17:08 +02:00
b6a58eb919 Adding d/p/23_sslutils_fix_error_message from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2112.patch
2025-04-19 10:47:53 +02:00
45f91e2095 Adding d/p/22_check_by_ssh_missing_options from upstream
02adcbfa89.patch
2025-04-19 10:35:24 +02:00
e817fecb7d Adding d/p/21_check_http_state_regex from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2056.patch
2025-04-19 10:27:49 +02:00
38aec8e03d Adding d/p/20_check_icmp_fix_rtmin from upstream
e5f35d4055.patch
2025-04-19 10:19:43 +02:00
Bas Couwenberg
af69fcf310 Fix old FSF address in copyright file. 2025-03-29 07:34:10 +01:00
Bas Couwenberg
9cb7faeeaf Bump Standards-Version to 4.7.2, no changes. 2025-03-20 12:05:17 +01:00
86f8f03a5a Merge branch 'development' 2024-12-03 09:38:42 +01:00
bf6001384f Adding d/p/19_check_curl_cookie_handling from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2052.patch
2024-12-03 09:33:47 +01:00
043d328f4e Adding d/p/18_check_curl_fix_TLS_notes from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2050.patch
2024-12-03 09:25:14 +01:00
Bas Couwenberg
3c5882d3a9 Add check_curl to monitoring-plugins-standard description. 2024-12-02 12:57:14 +01:00
f3e127972c Adding d/p/17_check_fping_dontfrag_random from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2041.patch
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2042.patch
2024-11-19 17:08:26 +01:00
9c49b6f179 Adding d/p/16_check_curl_openssl_error from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2022.patch
2024-11-19 15:35:56 +01:00
1b018b3ee1 Adding d/p/15_check_curl_fix_regex from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2014.patch
2024-11-19 15:33:26 +01:00
01e11f9582 Adding d/p/14_check_curl_remove_experimental_state from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2017.diff
2024-09-08 20:36:05 +02:00
8b17915ecc Adding d/p/13_check_mysql_fix_variables from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2015.diff
2024-09-08 20:34:16 +02:00
a6b1db0c7c Adding d/p/12_check_curl_add_docu from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2012.patch
2024-08-19 23:53:46 +02:00
15760add88 Adding d/p/11_check_curl_raise_ssl_issue from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2011.patch
2024-08-14 11:29:30 +02:00
672d37c1af Adding d/p/10_check_curl_fix_redirects from upstream
https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2010.patch
2024-08-14 11:26:49 +02:00
Bas Couwenberg
2d414bd266 Bump Standards-Version to 4.7.0, no changes. 2024-07-28 20:10:52 +02:00
92ccdbc4b4 New changelog 2024-07-24 21:24:33 +00:00
b6f2ef0555 Prepare release 2024-07-23 22:35:13 +02:00
d4dccdaaa6 Update upstream source from tag 'upstream/2.4.0'
Update to upstream version '2.4.0'
with Debian dir 2bf1f6bfe0
2024-07-23 20:21:44 +00:00
600e193ca4 New upstream version 2.4.0 2024-07-23 20:21:44 +00:00
a005eec388 New changelog entry 2023-10-21 21:52:35 +02:00
acef571e14 Merge branch 'development' 2023-10-18 12:04:51 +02:00
f825ad4e2d Prepare release 2023-10-18 12:04:41 +02:00
f07f4dba33 Drop patches integrated by upstream 2023-10-18 12:03:33 +02:00
5956793b6b New upstream version 2.3.5 2023-10-18 11:53:43 +02:00
0ecc2867c3 Update d/changelog 2023-10-18 11:53:43 +02:00
30f882762f New upstream version 2.3.4 2023-10-18 11:53:43 +02:00
d5a5faa95b New upstream version 2.3.5 2023-10-18 09:45:11 +00:00
4028296763 Update upstream source from tag 'upstream/2.3.5'
Update to upstream version '2.3.5'
with Debian dir d7999c706a
2023-10-18 09:45:11 +00:00
11458e5731 Update upstream source from tag 'upstream/2.3.4'
Update to upstream version '2.3.4'
with Debian dir d7999c706a
2023-10-18 07:29:37 +00:00
Bas Couwenberg
7c86d65dc2 Explicitly enable test-build-twice job. 2023-08-26 07:31:40 +02:00
1381a2037b Remove left over d/p/31_checl_mailq_separate_submission_queue 2023-06-19 09:30:10 +02:00
0250eb9348 Adding d/p/37_check_smtp_Adding_SNI from upstream 2023-06-19 09:30:04 +02:00
a20810f737 Adding d/p/36_check_smtp_adding_proxy_header from upstream 2023-06-19 09:27:33 +02:00
aebd2cce94 New changelog 2023-06-12 21:55:17 +02:00
2f967041b9 Prepare release 2023-06-12 21:48:19 +02:00
02c716f52a d/p/31_check_mailq_separate_submission_queue: Fix filename 2023-06-12 21:40:22 +02:00
85a271e868 Adding d/p/24_check_disk_fix_SI_units from upstream 2023-06-12 21:29:53 +02:00
555d643b55 CI: Disable BLHC job 2023-06-12 10:53:28 +02:00
85d9e03ea0 Adding d/p/23_check_mysql_fix_error_handling from upstream 2023-05-31 16:38:05 +02:00
01be8ce8fe d/p/series: Fix typo 2023-05-23 10:04:36 +02:00
7cbe4b61e3 Adding d/p/22_check_disk_avoid_mount from upstream 2023-05-23 09:49:23 +02:00
3da21634e7 Adding d/p/21_check_pgsql_extra_output from upstream 2023-05-10 15:40:58 +00:00
e0cfe77e09 Adding d/p/20_chech_nt_fix_encoding from upstream 2023-05-10 15:39:06 +00:00
17688c79c2 Adding d/p/19_check_nwstat_fix_typo from upstream 2023-05-05 18:58:42 +00:00
3a0d875ccf Adding d/p/18_check_mysql_fix_typo from upstream 2023-05-05 18:56:38 +00:00
9225592be0 Adding d/p/17_fix_exit_codes from upstream 2023-05-05 18:53:57 +00:00
49df534b72 Merge branch 'master' into experimental 2023-04-14 14:23:44 +00:00
deeee85350 New changelog 2023-03-30 09:33:54 +00:00
e11debafd4 Prepare release 2023-03-30 08:52:13 +00:00
3ede3478c5 Adding d/p/16_check_snmp_disable_multiplier_when_unused from upstream 2023-03-30 08:36:08 +00:00
983507a144 Adding d/p/34_check_curl_fix_compare_warning from upstream 2023-03-27 14:02:54 +00:00
eab1e1d487 Adding d/p/15_check_swap_remove_includes from upstream 2023-03-24 19:11:41 +00:00
6fb8e25e42 Adding d/p/14_check_curl_fix_SSL_with_multiple_IPs from upstream 2023-03-24 19:10:07 +00:00
6f89be8380 Adding d/p/33_check_procs_exclude-process from upstream 2023-03-24 19:04:52 +00:00
47b7589ce4 Adding d/p/15_check_swap_remove_includes from upstream 2023-03-16 22:11:03 +00:00
567890c312 Adding d/p/32_check_disk_add_ignore_missing from upstream (Closes: #516097) 2023-03-13 08:43:42 +00:00
bd72df2522 Adding d/p/31_checl_mailq_separate_submission_queue from upstream 2023-03-13 08:38:20 +00:00
534d0c8842 Adding d/p/30_check_radius_radcli_1.3.1_support from upstream 2023-03-13 08:31:34 +00:00
e1f9786023 Adding d/p/14_check_curl_fix_SSL_with_multiple_IPs from upstream 2023-03-13 08:28:36 +00:00
aa5586d163 New changelog 2023-03-07 14:17:33 +00:00
d01691d96c Prepare Release 2023-03-07 14:06:49 +00:00
953ee52d81 Adding d/p/13_check_icmp_improvements from upstream 2023-03-07 11:24:50 +00:00
00de3fe5ea New changelog 2023-02-24 13:10:59 +00:00
0f6f1f9bf5 Prepare Release 2023-02-24 13:05:26 +00:00
15d0c56a47 Adding d/p/12_check_curl_improvements from upstream 2023-02-24 12:51:43 +00:00
82f33d01a3 Fixing empty changelog entry 2023-02-10 15:13:08 +00:00
29ec921976 New changelog 2023-02-10 11:26:11 +00:00
20d504d405 Prepare release 2023-02-10 10:28:24 +00:00
c1f3ca7ef3 Adding d/p/11_fallback_for_gnutls from upstream 2023-02-10 09:44:29 +00:00
01c9312d4b Adding d/p/10_check_http_chunked_wo_actual_content from upstream 2023-02-06 13:03:47 +00:00
c122ff0663 New changelog 2023-02-02 10:59:25 +00:00
d10d859457 Prepare release 2023-02-02 09:37:43 +00:00
c31ba979ad Drop patches applied upstream 2023-02-02 09:36:05 +00:00
dda4a52c26 Update upstream source from tag 'upstream/2.3.3'
Update to upstream version '2.3.3'
with Debian dir 39ec6a0f35
2023-02-02 09:13:25 +00:00
7c9d0d0bad New changelog 2023-01-31 13:29:37 +00:00
2b0c62c2be Prepare relesae 2023-01-31 13:15:16 +00:00
62a3be0901 Adding d/p/31_check_http_fix_memory_alloc_error_chunk_decod from upstream (Closes: #1029934) 2023-01-31 13:11:01 +00:00
c662ded6f7 Prepare release 2023-01-23 18:06:07 +00:00
4f7eea1cd1 Adding d/p/30_check_disk_clarify_usage_possibilites from upstream 2023-01-20 11:47:15 +00:00
4f70a9dd09 Adding d/p/29_check_log_polish from upstream 2023-01-20 11:44:45 +00:00
73742e9c44 Adding d/p/28_check_snmp_fix_regex_matches from upstream 2023-01-20 11:42:26 +00:00
e99bd7b1db Adding d/p/27_check_snmp_add_multiplier 2023-01-20 11:41:24 +00:00
ff160b6fe1 Adding d/p/26_check_mailq_fix_nullmailer_regex from upstream 2023-01-18 21:16:27 +00:00
405406dd0a d/rules: Set DH_VERBOSE=1 2023-01-18 13:28:57 +00:00
a0718c849a Merge branch 'development' 2023-01-18 06:25:43 +00:00
ccc552b767 Adding d/p/25_spell_fixes from upstream 2023-01-18 06:01:49 +00:00
f503139bf0 d/README.Debian: Fix typo 2023-01-17 13:48:28 +00:00
f064e9bf00 Adding d/p/23_check_http_chunked_encoding from upstream 2023-01-17 13:17:21 +00:00
1f6966d749 Merge branch 'development' into lintian-brush 2023-01-11 14:24:43 +00:00
2a9197254f Merge branch 'development' of github.com:waja/pkg-monitoring-plugins into development 2023-01-11 14:24:25 +00:00
ab165de3ca Update standards version to 4.6.2, no changes needed.
Changes-By: lintian-brush
Fixes: lintian: out-of-date-standards-version
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
2023-01-11 14:19:09 +00:00
298c20aee8 Bump debhelper from old 12 to 13.
Changes-By: lintian-brush
Fixes: lintian: package-uses-old-debhelper-compat-version
See-also: https://lintian.debian.org/tags/package-uses-old-debhelper-compat-version.html
2023-01-11 14:19:05 +00:00
003c3df244 Merge branch 'development' 2023-01-09 11:14:25 +00:00
95eeed8974 Adding d/p/24_check_apt_usage from upstream 2023-01-09 10:49:25 +00:00
788e03f103 Merge branch 'development' 2022-12-27 19:39:08 +00:00
c662b299a7 Adding gitlab CI 2022-12-27 19:38:48 +00:00
4ec49556ac Merge branch 'development' 2022-12-27 19:02:33 +00:00
d4c9e0bb1e Adding d/p/22_check_curl_faster_with_large_files from upstream 2022-12-27 18:10:31 +00:00
f95110eb99 Adding d/p/21_check_http_faster_with_large_files from upstream 2022-12-27 18:10:13 +00:00
f9e79dedec Adding d/p/20_check_apt_unknown_escape_sequence 2022-12-27 18:01:01 +00:00
50a6344388 Merge branch 'development' 2022-12-19 11:52:14 +00:00
f625b1ed77 Adding d/p/19_check_disk_fs_usage from upstream 2022-12-19 11:47:59 +00:00
76475e98e4 Adding d/p/18_check_icmp_help from upstream 2022-12-19 11:21:56 +00:00
08ddb1eb4c d/control: Drop 'pkg-' from Vcs-Headers 2022-12-14 09:08:15 +00:00
Bas Couwenberg
d6b03fd465 Add Rules-Requires-Root to control file. 2022-11-30 08:52:38 +01:00
waja
bcc90778ce
Merge pull request #11 from waja/dependabot-github_actions-dawidd6-action-debian-package-1.4.4
Bump dawidd6/action-debian-package from 1.4.2 to 1.4.4
2022-11-09 07:41:08 +01:00
dependabot[bot]
aeb4ae44bd
Bump dawidd6/action-debian-package from 1.4.2 to 1.4.4
Bumps [dawidd6/action-debian-package](https://github.com/dawidd6/action-debian-package) from 1.4.2 to 1.4.4.
- [Release notes](https://github.com/dawidd6/action-debian-package/releases)
- [Commits](https://github.com/dawidd6/action-debian-package/compare/v1.4.2...v1.4.4)

---
updated-dependencies:
- dependency-name: dawidd6/action-debian-package
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 04:12:55 +00:00
dependabot[bot]
9758f8880a Bump dawidd6/action-debian-package from 1.4.0 to 1.4.2
Bumps [dawidd6/action-debian-package](https://github.com/dawidd6/action-debian-package) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/dawidd6/action-debian-package/releases)
- [Commits](https://github.com/dawidd6/action-debian-package/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: dawidd6/action-debian-package
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 15:13:34 +00:00
73bd381852 Adding d/p/17_check_curl_detect_ipv6 2022-11-08 15:04:56 +00:00
b61a8ea7da Update d/patch/13_check_http_fix_superflous_crlf 2022-11-05 14:02:42 +00:00
1e0e230bb2 Adding d/patches/16_check_pgsql_dbname_too_strict (Closes: ##982847) 2022-11-05 10:10:14 +00:00
0543e439bc only removing github stuff 2022-11-03 12:43:24 +00:00
7d0e34a233 Use testing, since unstable has large transition ongoing 2022-11-03 12:43:24 +00:00
2a90f45f9c Adding github actions 2022-11-03 12:43:24 +00:00
5a11a70409 Adding upstream patches fixing (u)int64_t on 32-bit machines (Closes: #1023280) 2022-11-03 12:31:22 +00:00
556dc0f0fc New changelog 2022-11-01 20:23:07 +00:00
af99589125 Merge remote-tracking branch 'origin/master' 2022-11-01 20:15:48 +00:00
Bas Couwenberg
32fba014d2 Bump Standards-Version to 4.6.1, no changes. 2022-11-01 20:12:44 +00:00
cff91b1e3f Prepare release 2022-10-21 11:42:16 +02:00
a78d045008 d/changelog: Update 2022-10-19 21:12:33 +02:00
b7ffc1d8c7 Drop patches integrated upstream 2022-10-19 21:10:55 +02:00
ee77d9a19c Flush changelog 2022-10-19 17:28:03 +02:00
ea1902b0da Update upstream source from tag 'upstream/2.3.2'
Update to upstream version '2.3.2'
with Debian dir b1209ab07c
2022-10-19 17:24:24 +02:00
Bas Couwenberg
ca41c85879 Bump Standards-Version to 4.6.1, no changes. 2022-06-21 07:28:12 +02:00
6cf0b31b05 Remove constraints unnecessary since buster
* Build-Depends: Drop versioned constraint on libcurl4-gnutls-dev and libcurl4-nss-dev.
* monitoring-plugins-basic: Drop versioned constraint on inetutils-ping in Depends.

Changes-By: deb-scrub-obsolete
2022-02-20 11:15:41 +01:00
eb27aa76f3 Adding d/p/13_check_http_fix_superflous_crlf (Closes: #913142) 2022-01-30 11:30:56 +01:00
8b63362d41 Adding debian/patches/12_check_disk_fix_btrfs (Closes: #800345) 2022-01-30 11:19:50 +01:00
9e92541924 d/rules: Fix debhelper compat 12 by using '-a' instead '-s' 2022-01-30 11:03:02 +01:00
3ac1baa9ee Adding d/p/11_check_icmp_source_ip (Closes: #997849) 2022-01-30 10:52:36 +01:00
1fe8724bfe d/control: remove deprecated libradiusclient-ng-dev from build-deps 2022-01-22 20:34:23 +01:00
Bas Couwenberg
2d395244a3 Bump debhelper compat to 12, no changes. 2021-09-14 14:45:25 +02:00
Bas Couwenberg
81597f5dbc Bump Standards-Version to 4.6.0, no changes. 2021-09-08 17:52:51 +02:00
24c0cf8076 New changelog 2021-04-22 13:16:11 +02:00
7bc638edd8 Prepare release 2021-04-22 12:42:18 +02:00
bbd5771262 Prepare release 2021-04-13 13:07:05 +02:00
363955f257 Adding d/p/03_epn disable epn in check_disk_smb 2021-04-13 12:30:42 +02:00
eb7432cdf3 Adding d/p/10_check_curl_header fixing HTTP_ heqders 2021-04-13 12:22:22 +02:00
af0c79aa91 Prepare release 2021-04-11 12:22:05 +02:00
bfd2885b5b Revert "Adding d/p/10_check_pqsql_db_name_too_strict (Closes: #982847)"
This reverts commit c055b9a04a.
2021-04-11 11:59:27 +02:00
0e2c6501f1 Update upstream source from tag 'upstream/2.3.1'
Update to upstream version '2.3.1'
with Debian dir 59f263d469
2021-04-11 11:58:04 +02:00
c055b9a04a Adding d/p/10_check_pqsql_db_name_too_strict (Closes: #982847) 2021-04-07 17:24:41 +02:00
7576422c45 New changelog 2021-01-06 22:17:56 +01:00
d1fae5082b Prepare release 2021-01-06 22:10:59 +01:00
f175789f0d Merge branch 'development' into experimental 2020-12-27 23:07:01 +01:00
b3e9c5884b Enhancing github CI 2020-12-27 23:00:45 +01:00
821b75c412 Prepare release 2020-12-14 14:53:02 +01:00
6cbfc781cc check_uptime: Don't ship for now, check_uptime also exist in nagios-plugins-contrib 2020-12-13 18:34:58 +01:00
5e59ca1a6b Adding check_curl check commands 2020-12-10 23:04:09 +01:00
59b52dd55c d/rules: Adding check_curl to std_plugins 2020-12-10 22:06:40 +01:00
66c44c4f12 d/control: adding new build-deps fir check_curl 2020-12-10 22:00:03 +01:00
7840538d70 Updating changelog 2020-12-10 21:39:13 +01:00
61ef2d7fff Droping all patches commited upstream and beeing obsolete with 2.3 2020-12-10 21:30:48 +01:00
3031044324 New upstream version 2.3 2020-12-10 21:30:48 +01:00
0f5a7fe8f1 d/changelog: Updating package Version 2020-12-10 21:30:48 +01:00
91bee33068 New changelog 2020-12-08 21:11:24 +01:00
cb6bd07990 Prepare release 2020-12-08 19:53:23 +01:00
6ffbf14f22 Adding d/p/16_check_mailq_options from upstream (Closes: #954961) 2020-12-08 19:28:47 +01:00
45b13cf0e1 debian/monitoring-plugins-common.docs: Fixing NEWS filename 2020-12-08 19:28:36 +01:00
52473e9091 Rename debian/NEWS.Debian to debian/NEWS to make lintian happy 2020-12-04 13:17:18 +01:00
bb8ed44f0d d/s/option: drop travis and add github ignore 2020-12-04 13:02:45 +01:00
2d5aec31af Merge branch 'master' of salsa.debian.org:nagios-team/pkg-monitoring-plugins into development 2020-12-04 12:25:29 +01:00
Bas Couwenberg
4ddc077376 Bump Standards-Version to 4.5.1, no changes. 2020-11-28 14:34:56 +01:00
Bas Couwenberg
94db0e324e Drop obsolete ORed build dependency. 2020-11-20 11:02:25 +01:00
Bas Couwenberg
1407082cdd Don't set CFLAGS from noopt. 2020-11-20 11:02:25 +01:00
Bas Couwenberg
6086187c0e Drop obsolete autotools-dev build dependency. 2020-11-20 11:02:25 +01:00
Bas Couwenberg
4890f23aa5 Drop obsolete symlinks for icinga 1.x. 2020-11-20 10:56:30 +01:00
Bas Couwenberg
ed928307e4 Update gbp.conf for deprecated section. 2020-11-20 10:52:33 +01:00
Bas Couwenberg
3c972467df Update gbp.conf to use --source-only-changes by default. 2020-11-20 10:37:40 +01:00
23a92bf1db Remove debugging in ci workflow 2020-11-08 15:23:07 +01:00
waja
357f3cc183
Merge pull request #6 from waja/github_ci
Adding CI
2020-11-08 15:22:35 +01:00
7065705c88 Removing .travis.yml 2020-11-08 15:21:20 +01:00
e44da07749 Adding CI 2020-11-08 15:15:17 +01:00
Bas Couwenberg
122d9b7698 Bump watch file version to 4. 2020-11-06 20:05:45 +01:00
Debian Janitor
c852ee9514
Update standards version to 4.5.0, no changes needed.
Fixes: lintian: out-of-date-standards-version
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
2020-05-02 13:41:30 +00:00
Debian Janitor
f2b2a43365
Fix day-of-week for changelog entry 1.5-2.
Fixes: lintian: debian-changelog-has-wrong-day-of-week
See-also: https://lintian.debian.org/tags/debian-changelog-has-wrong-day-of-week.html
2020-05-02 13:40:52 +00:00
Debian Janitor
50e341775b
Rely on pre-initialized dpkg-architecture variables.
Fixes: lintian: debian-rules-sets-dpkg-architecture-variable
See-also: https://lintian.debian.org/tags/debian-rules-sets-dpkg-architecture-variable.html
2020-05-02 13:40:14 +00:00
Debian Janitor
9cb0c3cf69
Set upstream metadata fields: Bug-Database, Bug-Submit, Name (from ./configure), Repository, Repository-Browse.
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html


Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html


Fixes: lintian: upstream-metadata-missing-repository
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html
2020-05-02 13:39:33 +00:00
Debian Janitor
9ae7e55e3e
Bump debhelper from deprecated 5 to 10.
Fixes: lintian: package-uses-deprecated-debhelper-compat-version
See-also: https://lintian.debian.org/tags/package-uses-deprecated-debhelper-compat-version.html
2020-05-02 13:38:52 +00:00
Debian Janitor
9909d60aa8
Wrap long lines in changelog entries: 1.4-1.
Fixes: lintian: debian-changelog-line-too-long
See-also: https://lintian.debian.org/tags/debian-changelog-line-too-long.html
2020-05-02 13:38:14 +00:00
Debian Janitor
50e7b48e3d
Trim trailing whitespace.
Fixes: lintian: file-contains-trailing-whitespace
See-also: https://lintian.debian.org/tags/file-contains-trailing-whitespace.html
2020-05-02 13:37:34 +00:00
Christopher Huhn, GSI
ab5d5b972c Fix OID for snmp_users check 2020-04-08 20:41:11 +02:00
Bas Couwenberg
643c7923b5 Drop icinga from Suggests. 2019-07-18 13:00:45 +02:00
c5800701bf New changelog entry 2019-04-17 08:18:08 +02:00
30673c8dc3 Prepare release 2019-04-16 19:14:57 +02:00
7b5d4198bc d/rules: Explicitly call ping with -4 and -6 on linux arch (Closes: #863981) 2019-03-11 12:38:37 +01:00
697d611bc0 travis-ci: Remove trusty from definition 2019-02-02 16:38:36 +01:00
3c1187028f New changelog entry 2019-01-20 22:06:54 +01:00
84f93a48ec Prepare release 2019-01-20 19:53:28 +01:00
1fe1cd2ace Symlink /usr/lib/nagios/plugins/utils.* to /usr/lib/icinga/
(Closes: #879084, #907484)
2019-01-20 19:34:23 +01:00
d8a134e6b4 d/control: Add sudo to Recommends 2019-01-20 15:37:52 +01:00
61315eef49 d/rules: Configure with sudo (Closes: 905318) 2019-01-20 15:37:02 +01:00
4f75b28421 Add d/p/15_check_smtp_initialize to fix check_smtp with custom commands and SSL
Thanks to Iustin Pop <iustin@debian.org>! (Closes: #886888)
2019-01-20 15:17:59 +01:00
73f22736fc Add d/p/14_mariad to fix FTBFS with MariaDB 10.3. (Closes: #919375)
Taken from upstream
2019-01-18 21:32:02 +01:00
15f2a2be74 Revert "Add patch to fix FTBFS with MariaDB 10.3. (closes: #919375)"
This reverts commit 7fafae5386.
2019-01-18 21:17:36 +01:00
3fa4c45d8d Revert "Mark mariadb-10.3.patch as Forwarded."
This reverts commit 44a6583f23.
2019-01-18 21:17:30 +01:00
Bas Couwenberg
44a6583f23 Mark mariadb-10.3.patch as Forwarded.
Gbp-Dch: Ignore
2019-01-15 14:52:32 +01:00
Bas Couwenberg
7fafae5386 Add patch to fix FTBFS with MariaDB 10.3. (closes: #919375) 2019-01-15 14:40:15 +01:00
Bas Couwenberg
377eec3be3 Bump Standards-Version to 4.3.0, no changes. 2018-12-25 23:29:01 +01:00
Bas Couwenberg
c70710fc69 Apply path by Andreas Henriksson to fix usrmerge issue.
Pass PATH_TO_APTGET=/usr/bin/apt-get to configure
- fixes reproducible build on merged-usr vs non-merged systems.
(closes: #914092)
2018-12-02 09:23:52 +01:00
2949c60e92 Merge branch 'master' of salsa.debian.org:nagios-team/pkg-monitoring-plugins 2018-11-27 14:37:13 +01:00
56443b17a5 d/control: Add Provides for 'old' nagios-plugins 2018-11-27 14:30:56 +01:00
40b90045e6 travis-ci: Use xenial image 2018-11-08 16:48:01 +01:00
Bas Couwenberg
e07a06c1ca Bump Standards-Version to 4.2.1, no changes. 2018-08-28 18:47:52 +02:00
Bas Couwenberg
59073f6ae5 Bump Standards-Version to 4.2.0, no changes. 2018-08-05 21:10:50 +02:00
Bas Couwenberg
890cd8c8b8 Bump Standards-Version to 4.1.5, no changes. 2018-07-05 11:36:21 +02:00
95342bf76a d/changelog: New changelog 2018-05-13 19:18:26 +02:00
dbabaf266d d/changelog: Prepare release 2018-05-13 14:05:11 +02:00
d634e5ad8b d/functions: Fixing ucf register function 2018-05-13 14:04:25 +02:00
1fdd249bd3 d/changelog: Removing trailing whitespaces 2018-05-13 11:30:21 +02:00
6956bcc377 d/control: Bump Standards-Version to 4.1.4.0, no changes needed 2018-05-13 11:21:17 +02:00
90959231a5 d/control: Drop old nagios-plugins* transitional packages (Closes: #878769) 2018-05-13 10:38:34 +02:00
b024e21203 d/control: Priority extra is deprecated, using optional 2018-05-13 10:13:55 +02:00
22de1396a3 d/control: Update VCS-headers 2018-03-11 15:51:39 +01:00
878ceb9892 Using absolut paths when using ucf, debconf 1.5.62 changed it's behaviour (Closes: #867256) 2017-07-11 08:59:59 +02:00
97cb3c4f35 Drop symlinks to removed LEGAL file. (Closes: #856676) 2017-03-04 12:26:05 +01:00
5f2c12e928 New changelog entry 2017-01-19 09:00:09 +01:00
cdc2548d95 Prepare release 2017-01-19 08:15:12 +01:00
e4d7fd6be9 travis-ci: Reduce complexity 2017-01-17 17:51:58 +01:00
094efe4471 Adding d/p/12_check_apt_only_crit and d/p/13_check_apt_list_packages 2017-01-17 16:53:11 +01:00
e5adc236ee Update d/p/10_spell_fixes 2017-01-10 22:10:50 +01:00
760496bee8 d/control: Drop useless libssl1.0-dev build depend alternative 2016-12-14 11:27:41 +01:00
bf420787f6 d/changelog: New changelog 2016-12-11 16:28:22 +01:00
5ae6071e26 d/changelog: Prepare release 2016-12-11 16:18:06 +01:00
627d88a8c1 d/control: Explicit build-dep on libssl-dev or libssl1.0-dev (Closes: #847612) 2016-12-11 15:30:29 +01:00
52213810c7 d/changelog: New changelog 2016-12-08 16:23:10 +01:00
a4d0847bff d/changelog: Prepare release 2016-12-08 15:14:50 +01:00
4e87f4c3e3 d/control: Remove explicit dependency on libssl-dev 2016-12-08 14:40:54 +01:00
ed0d010286 Apply d/p/11_check_dhcp_MSG_PEAK 2016-12-08 13:50:48 +01:00
670b052e1e d/control: Update VCS-URLs to https and cgit 2016-12-05 10:36:44 +01:00
7fe2363524 d/control: Update Vcs-Browser URL to HTTPS 2016-12-05 03:19:24 +01:00
285759291e d/control: Add icinga2 as suggests alternative 2016-12-04 16:28:43 +01:00
abb379df95 d/control: Remove nagios3 from Suggests (Closes: #846874) 2016-12-04 13:50:12 +01:00
38c2cff192 Apply d/p/10_spell_fixes 2016-12-03 20:30:27 +01:00
be431d8efd Don't ship removed LEGAL file anymore 2016-12-01 11:31:48 +01:00
b7622f6d8b d/changelog: New changelog due new upstream version 2016-12-01 11:31:40 +01:00
79b42f53ea Drop patches integrated upstream 2016-11-30 16:07:53 +01:00
055195ca56 Merge tag 'upstream/2.2'
Upstream version 2.2
2016-11-30 16:07:15 +01:00
0bf4153204 travis-ci: Use include build matrix 2016-11-22 13:59:22 +01:00
fc1e7524d3 travis-ci: use distribution trusty 2016-11-22 13:42:30 +01:00
3978de28d4 travis-ci: Add my own trusty ppa for newer lintian 2016-11-18 18:05:26 +01:00
6f99654c49 Adding OpenSSL support by d/p/21_openssl11 (Closes: #844031), still build against openssl 1.0 2016-11-18 17:00:38 +01:00
6b545bd4dc New changelog entry 2016-11-18 12:47:21 +01:00
fe2dcfe4b3 Prepare release 2016-11-18 12:30:20 +01:00
438149a2ee Adjust check_radius command definition to use the correct radiusclient config file 2016-11-17 23:02:09 +01:00
bbb85281ce d/NEWS.Debian: Add a note about depencies for check_radius 2016-11-17 22:48:05 +01:00
1b1c5e9c29 Adding d/p/20_check_radius_radcli to add support for radcli (Closes: #822337) 2016-11-17 21:00:46 +01:00
c6141086f7 d/control: Adding libradcli-dev as first radius build-dep (Closes: #822337) 2016-11-17 21:00:46 +01:00
cccb5e279c travis-ci: Add stable to travis env 2016-11-17 20:50:40 +01:00
11ce4edafe d/control: Add libmysqlclient-dev as Build-depend alternative for backporting 2016-11-17 20:49:00 +01:00
51e0adea03 travis-ci: Allow to fail builds in testing 2016-11-17 13:57:50 +01:00
a3c46e338c travis-ci: Using httpredir.debian.org as mirror 2016-11-17 13:57:50 +01:00
7a42fe2df5 travis-ci: Also fetching all tags 2016-11-17 13:57:50 +01:00
a4b8d68a45 travis-ci: Adding jessie repo
To filfil freeradius-client build-dep.
2016-11-17 13:57:50 +01:00
0ee699837e travis-ci: Make use of travis.d.n 2016-11-17 13:57:50 +01:00
775a4dba58 d/control: Add libssl-dev (<< 1.1.0) as Build-depend alternative for backporting 2016-11-17 13:57:28 +01:00
767714f82e d/control: Build-depend on libssl1.0-dev 2016-11-16 11:36:56 +01:00
c15dfcce5f Remove dangling links for removed examples (Closes: #824599) 2016-11-14 22:06:02 +01:00
c272a5fbc1 Add trusty-backports 2016-11-14 13:35:07 +01:00
249944226e travis-ci: Do not autoremove packages 2016-11-14 13:25:17 +01:00
c40925bf83 d/control: Bump Standards-Version to 3.9.8, no changes needed 2016-11-13 23:49:56 +01:00
8bab78d98f d/control: Replacing build-dep libmysqlclient-dev with default-libmysqlclient-dev 2016-11-13 23:49:00 +01:00
aad71d5388 New changelog 2015-11-16 22:06:50 +01:00
43eaac1af7 Prepare release 2015-11-16 20:18:46 +01:00
093d9a4707 Drop hardening-wrapper, use dpkg-buildflags instead 2015-11-16 19:47:55 +01:00
8401f27d3f Use dh_prep instead of dh_clean -k 2015-11-16 18:21:15 +01:00
00b625a9e6 Merge remote-tracking branch 'waja_github/pr/5' 2015-11-16 18:03:27 +01:00
d0ed366fd2 Merge remote-tracking branch 'waja_github/pr/4' 2015-11-16 17:59:48 +01:00
Robie Basak
877f48ad91 Drop $(DEPSUBSTVARS) from dh_gencontrol call
This has no longer been needed since commit 3ca0202.
2015-11-16 16:45:41 +00:00
Robie Basak
db384327a9 Drop fping and qstat from Recommends to Suggests
As discussed with Jan on IRC. fping and qstat are in universe in Ubuntu,
and requires an extensive delta to add an -extras package in universe
for Ubuntu users to benefit. Instead we can drop the Recommends to a
Suggests in Debian to save Ubuntu from having to do this.
2015-11-16 16:45:28 +00:00
Klaus Ethgen
52ead1a6f8 Fix /proc check on systems that have hardened system 2015-10-28 00:44:42 +01:00
3fd4e78b3b travis-ci: automatically install dependencies 2015-10-19 17:00:35 +02:00
af23094fcc travis-ci: Droping backports 2015-10-19 17:00:05 +02:00
93b217d33b travis-ci: Adding requried arguments for trusty 2015-10-19 16:57:42 +02:00
54238ac01f Adding changelog entry including reference to Launchpad Bug 2015-10-17 12:17:57 +02:00
6bcfb6c932 Remove check_bgpstate and check_linux_raid from package description 2015-10-17 12:13:32 +02:00
82c3d74930 New changelog 2015-10-16 16:42:49 +02:00
37ac1570fb Prepare release 2.1.2-1 2015-10-16 15:13:48 +02:00
710c8df253 Imported Upstream version 2.1.2 2015-10-16 14:48:45 +02:00
78cd8cf0ca Prepare release 2015-10-12 16:23:43 +02:00
605543c9fa Update version 2015-10-12 16:03:35 +02:00
9e076d8641 Droping patches imported from upstream maint branch 2015-10-12 15:58:18 +02:00
cc58cc3f65 Merge tag 'upstream/2.1.1+git20151012'
Upstream version 2.1.1+git20151012
2015-10-12 15:49:08 +02:00
5d8b296234 Add patches/17_check_smtp_forcetls_on_cert from upstream master branch 2015-10-09 11:12:25 +02:00
0c7f9bf26f Add patches/16_check_smtp_quit from upstream master branch 2015-10-09 11:10:46 +02:00
f69aba4f8c Add patches/15_check_smtp_expect from upstream master branch 2015-10-09 10:56:35 +02:00
a9d2a52ed5 Add patches/14_sslutils_superfluous_parenthesis from upstream maint branch 2015-10-05 23:55:08 +02:00
fad70ed5f8 Add patches/13_check_snmp_timeout from upstream maint branch 2015-10-04 13:53:52 +02:00
0d487449b9 Add patches/12_check_ups_perf_data_hresholds from upstream maint branch 2015-10-04 12:45:33 +02:00
8e98d7f62f Add patches/11_check_dhcp_parsing_option from upstream maint branch (Closes: #784319) 2015-10-04 12:45:20 +02:00
608ba7503d Add patches/10_sslutils_checksslv3 from upstream maint branch 2015-10-04 12:37:22 +02:00
5dbc8cbf0c travis-ci: grab actual used upstream version 2015-08-21 11:14:49 +02:00
1353afabd7 Reformating with warp-and-sort the rest of debian/ 2015-08-20 13:18:45 +02:00
96ed330aa3 debian/control: reformating with warp-and-sort 2015-08-20 13:16:16 +02:00
25a6df7d37 debian/copyright: Deleting empty last line 2015-08-20 13:13:55 +02:00
f412e4abbb Convert the package to source format 3.0 (quilt) 2015-08-20 12:50:15 +02:00
96024d05ed Flushing changelog 2015-08-19 20:06:08 +02:00
1314f7b5fd Drop libmysqlclient16-dev and libmysqlclient15-dev as build-dep alternatives 2015-08-19 20:00:48 +02:00
e6de6c2cb1 travis-ci: cosmetical changes 2015-03-10 16:06:33 +01:00
3fda51beff travis-ci: build package with dpkg-buildpackage 2015-03-10 16:05:43 +01:00
b8377a8b42 travis-ci: don't install build-deps manual 2015-03-10 16:04:56 +01:00
ddb7f3a20c New changelog 2014-12-03 17:00:17 +01:00
7c5390cdea Prepare release 2014-12-02 05:42:56 +01:00
ace55d6f9e Droping all patches taken from upstream 'maint' branch
- 10_check_apt_fix_memset.dpatch
- 10_check_ntp_null_termination.dpatch
- 10_check_real_null_termination.dpatch
- 10_check_tcp_fix_help_escape.dpatch
- 11_check_ntp_revert_n-p_coverty_fix.dpatch
- 12_check_ntp_null_termination_jitter.dpatch
2014-12-02 05:40:31 +01:00
9461ddf083 Merge tag 'upstream/2.1.1'
Upstream version 2.1.1
2014-12-02 05:36:30 +01:00
83dffb877c Prepare release 2014-12-01 21:30:44 +01:00
92d5f60ea3 Fixing dpatch macro
- 10_check_ntp_null_termination.dpatch
- 10_check_real_null_termination.dpatch
2014-12-01 08:53:29 +01:00
fecca17e8c Applying more patches from upstream 'maint' branch fixing the check_ntp fix and a small escape in check_tcp
- 10_check_tcp_fix_help_escape.dpatch
- 11_check_ntp_revert_n-p_coverty_fix.dpatch
- 12_check_ntp_null_termination_jitter.dpatch
2014-12-01 08:51:10 +01:00
c3397d209e New changelog 2014-11-29 14:10:14 +01:00
b6e7d2bb78 Prepare release 2014-11-29 11:14:30 +01:00
d4bbd4cbaa Applying patches from upstream 'maint' branch fixing grave coding errors
- 10_check_apt_fix_memset.dpatch
- 10_check_ntp_null_termination.dpatch
- 10_check_real_null_termination.dpatch
2014-11-29 11:11:20 +01:00
0a45e6cf6a New changelog 2014-10-16 09:05:06 +02:00
143aaa3dee Update changelog 2014-10-15 23:26:58 +02:00
8f70394f09 Bump Standards-Version to 3.9.6, no changes needed 2014-10-15 23:13:31 +02:00
3e3b17522d Updating debian/changelog 2014-10-15 23:03:10 +02:00
cb61dd9958 Merge tag 'upstream/2.1'
Upstream version 2.1
2014-10-15 14:48:53 +02:00
2476c3182f Updating debian/changelog 2014-10-08 13:48:49 +02:00
72a77cbfb9 Drop patches applied upstream
- 10_check_oracle_tns_bad_string.dpatch
 - 11_check_log_fix_basename_path.dpatch
 - 12_PATH_in_scripts_first.dpatch
 - 13_check_jabber_openfire.dpatc
2014-10-08 13:42:42 +02:00
88b130b349 Add --disable-maintainer-mode to configure, for not running autotools foo 2014-10-07 21:48:28 +02:00
9a7840a3af Add 13_check_jabber_openfire.dpatch from upstream 2014-09-18 22:35:58 +02:00
96647a0373 Adding 12_PATH_in_scripts_first.dpatch from upstream maint branch 2014-08-20 22:17:54 +02:00
94ec5a983f check_log: Fixing basename path (Closes #758662)
- Adding 11_check_log_fix_basename_path.dpatch taken from upstream
2014-08-20 22:17:15 +02:00
5255a96129 Add icinga2 as another Suggests option 2014-08-12 00:01:57 +02:00
1a0b156572 New changelog 2014-08-11 15:40:19 +02:00
4902821738 Updating debian/changelog 2014-08-11 15:24:13 +02:00
b2a29995ab check_oracle: Fix --tns bad string matching
- Adding 10_check_oracle_tns_bad_string.dpatch
2014-08-03 14:45:55 +02:00
ec235b0316 travis-ci: use libfreeradius-client-dev as build-dep 2014-07-21 19:03:15 +02:00
3f5ec75fc4 Updating debian/changelog 2014-07-13 22:32:37 +02:00
1a9106e277 debian/control: Fixing and generalizing descriptions 2014-07-13 22:25:56 +02:00
a2bd5e7d3f NEWS.Debian: Fix typo, thanks Uli Martens 2014-07-13 21:55:36 +02:00
dd10a65949 Updating debian/changelog 2014-07-12 00:43:03 +02:00
ac1f79492c Updating debian/changelog 2014-07-11 23:17:53 +02:00
8d8e2d4777 debian/copyright: Add missing gl/m4/*.m4 2014-07-11 23:08:09 +02:00
1b7ece705a debian/copyright: syncing license notice from upstream README 2014-07-11 21:25:03 +02:00
1981082a4e Updating debian/changelog 2014-07-11 21:04:07 +02:00
7616f86458 Merge tag 'upstream/2.0'
Upstream version 2.0
2014-07-11 21:01:00 +02:00
9083aa4098 debian/bin/repack.sh: adjust for configure.ac 2014-07-11 20:43:11 +02:00
73fc1e67f3 travis-ci: droping m-p branch workaround 2014-07-11 20:43:11 +02:00
b798a92290 debian/bin/repack.sh: Fixing substitution 2014-07-11 20:43:11 +02:00
0f0aba7bcc debian/changelog: Fix spelling error 2014-07-08 08:52:18 +02:00
7119d017d7 README.Debian: Updating upstream documentation reference 2014-07-07 18:06:00 +02:00
a18aba77a6 Adding closed bugreports to changelog 2014-07-07 13:43:44 +02:00
4346d57720 Updating debian/changelog 2014-07-07 13:02:12 +02:00
e789ea3bd3 NEWS.Debian: Add a hint about negative values of check_snmp 2014-07-07 13:00:25 +02:00
aeed4b2c08 Adjust VCS-Headers to new pakage name 2014-07-07 09:00:32 +02:00
e7c0c6f4f3 Adjust Break and Replace version in debian/control 2014-07-07 08:59:23 +02:00
7f2013fab1 NEWS.Debian: Fix wording 2014-07-06 22:06:44 +02:00
6b6e1276ee NEWS.Debian: Adding some more details 2014-07-06 15:43:40 +02:00
a75bd42dca README.Debian: Lazy documentation how to set capabilities 2014-07-06 12:28:21 +02:00
90090cbc1b check_dhcp: Set proper capabilities 2014-07-06 12:28:21 +02:00
a6611b1e19 check_icmp/check_dhcp: Implementing setcap 2014-07-02 14:59:01 +02:00
9c42541756 Update changelog 2014-06-24 11:48:15 +02:00
d4ad20c17d Set -e in the body of the maintainers script 2014-06-24 11:45:47 +02:00
b1ef0e0f60 Update changelog 2014-06-24 10:04:45 +02:00
1742518bc9 Use canonical VCS-URIs 2014-06-24 09:55:29 +02:00
4e2ccd5b82 Adjust Debian version, next stable release will be 2.0 2014-06-24 09:33:10 +02:00
c3dd2cac1a Fixing typo in changelog 2014-06-24 09:25:30 +02:00
80871b051d Update changelog 2014-06-23 23:46:33 +02:00
803b3e31ee Add libfreeradius-client-dev as first build-dep option
(Closes: #721621)
2014-06-23 23:12:58 +02:00
dc2ddb19f7 Merge branch 'master' into m-p 2014-06-23 23:06:34 +02:00
7cb5f534d5 check_http: droping expect string from check_squid
(Closes: #742363), thanks Andreas B. Mundt
2014-06-21 21:39:38 +02:00
3d682f2570 Merge branch 'master' into m-p
Conflicts:
	debian/control
2014-06-21 13:53:42 +02:00
4580974bd2 check_fping: define fping6 command on compile time
(Closes: #751866), many thanks Nicolas Deefayet for bringing this up
2014-06-21 13:43:59 +02:00
1d11720ab0 Don't use Pre-Depends 2014-03-16 16:31:49 +01:00
9939d1fbe3 Breaks and Replaces against next upstream release 2014-03-16 14:21:59 +01:00
5965a354c4 Include correct bug report for latest close (just cosmetic change) 2014-03-05 20:48:20 +01:00
a444a84dd1 Merge branch 'master' into m-p 2014-02-27 21:48:11 +01:00
6fbf5374a0 travis-ci: Remove gawk from buildenv 2014-02-27 21:46:52 +01:00
0e523fe693 Merge branch 'master' into m-p 2014-02-25 14:08:42 +01:00
4e50939006 Add lintian checks after build 2014-02-25 14:08:08 +01:00
b207889c51 Remove 03_configure.in_remove_perlmods.dpatch
Unneeded since the repack scripts is fixed now.
2014-02-22 00:49:58 +01:00
033959719b Merge branch 'master' into m-p 2014-02-22 00:42:58 +01:00
9eceb00e0a Add travis config 2014-02-22 00:37:46 +01:00
ce560c981f Add travis config 2014-02-22 00:36:27 +01:00
a3145c91f1 Adjust repack.sh to latest upstream 2014-02-21 22:05:46 +01:00
9b0771520e Drop 13_check_proc_parent_process.dpatch
- Included upstream
2014-02-21 19:44:58 +01:00
3662a51778 Merge branch 'master' into m-p
Conflicts:
	debian/changelog
	debian/patches/00list
2014-02-21 19:40:48 +01:00
d4579f14e9 Add 03_configure.in_remove_perlmods.dpatch
to fix broken repack script for 1.5 tarball
2014-02-21 18:40:24 +01:00
1ea79f184d Fixing repack.sh script
When having automake and autoconf installed, configure is regenerated
and perlmods is not available anymore.
2014-02-21 18:40:12 +01:00
0ef43fefd7 Add 03_configure.in_remove_perlmods.dpatch
to fix broken repack script for 1.5 tarball
2014-02-21 16:34:42 +01:00
5ae316efbf Fixing repack.sh script
When having automake and autoconf installed, configure is regenerated
and perlmods is not available anymore.
2014-02-21 16:25:42 +01:00
f7a43e45a9 Update README.source 2014-02-21 11:37:09 +01:00
735117e9bc Repack upstream tarball on download 2014-02-21 11:36:53 +01:00
b49af7e4d0 Fix watch file to match further and actual releases 2014-02-21 11:36:35 +01:00
ab4c50f19f Update README.source 2014-02-21 11:35:48 +01:00
85dfaeb0f9 Repack upstream tarball on download 2014-02-21 11:33:53 +01:00
72f1e743a2 Fix watch file to match further and actual releases 2014-02-21 11:32:19 +01:00
f4a1ac09d2 Updating changelog and preparing release 2014-02-17 12:43:37 +01:00
7091aae478 check_ssh: Drop 12_check_ssh_read_socket.dpatch
(Closes: #734811), this seems to make more touble in the wild as
fixing #739254, Thanks Jim Barber
2014-02-17 12:35:59 +01:00
e20f49dee7 Fixing latest changelog timestamp 2014-02-05 17:28:12 +01:00
38d8f67198 Fixing latest changelog timestamp 2014-02-05 17:26:10 +01:00
bb55bcac29 adding last minute change
Conflicts:
	debian/changelog
2014-02-05 17:21:05 +01:00
a040c2cc2e Build again against libradiusclient-ng-dev, this Reopens: #721621
- libfreeradius-client-dev is actually not supported by upstream
2014-02-05 17:19:14 +01:00
2b58dc9abf Updating changelog, preparing release
Conflicts:
	debian/changelog
2014-02-05 17:18:39 +01:00
0edaf082da adding last minute change 2014-02-02 22:11:48 +01:00
e5fc80fe8d Build again against libradiusclient-ng-dev, this Reopens: #721621
- libfreeradius-client-dev is actually not supported by upstream
2014-02-02 21:52:18 +01:00
767f8f8e65 Updating changelog, preparing release 2014-02-02 21:47:25 +01:00
201bd0e2cb Adding 13_check_proc_parent_process.dpatch (Closes: 626913),
Thanks Anton Lofgren
2014-02-01 07:41:29 +01:00
fcf0c24cbd Updating standards version to 3.9.5
(no changes needed)

Conflicts:
	debian/control
2014-01-23 09:17:37 +01:00
e754328076 Fixing dependency relation 2014-01-23 08:13:28 +01:00
ff3a69078a Fix spelling error in debian/NEWS.Debian 2014-01-23 02:55:44 +01:00
5070f23c48 Droping patches applied upstream
- 11_check_http_arguments.dpatch
 - 12_check_ssh_read_socket.dpatch
2014-01-23 02:45:28 +01:00
03eb8d0215 Document our move due renamed upstream 2014-01-23 02:02:23 +01:00
e27f56ffda New changelog for new git snapshot 2014-01-23 01:53:03 +01:00
fb6d01c2e2 Fixing pathes in debian/rules and maintainers scripts 2014-01-23 01:38:10 +01:00
9f353b3b75 Fix package name in README.Debian* files 2014-01-23 01:24:44 +01:00
ffc2ec872d Rename all debian nagios-plugins* to monitoring-plugins* 2014-01-23 01:08:18 +01:00
243da0aad7 Fix URL in the watch file 2014-01-23 00:48:47 +01:00
1a03f825bc Fix URL in the watch file 2014-01-23 00:45:47 +01:00
cca2985362 Fix documentaion path in nt.cfg 2014-01-23 00:40:01 +01:00
b6aca40c46 Fixing our debian/README.source to recent state 2014-01-23 00:31:20 +01:00
a90fffdaf8 Fix install path in dependency helper 2014-01-22 23:55:34 +01:00
49be365d3f Starting transition toward monitoring-plugins with debian/control 2014-01-22 23:25:41 +01:00
de62798857 Changing upstream URLs 2014-01-15 12:55:38 +01:00
ec51a84594 Just missed a typo to fix in debian/control 2014-01-13 09:01:38 +01:00
0cc66f59cf Fix typo in package description (Closes: #734513), thanks Pascal De Vuyst 2014-01-10 16:19:49 +01:00
219a55a712 Add 12_check_ssh_read_socket.dpatch to fix socket read failure (Closes: #734811) 2014-01-10 16:16:01 +01:00
9bc7a29908 Add 11_check_http_arguments.dpatch to fix argument processing of check_http 2013-12-10 23:03:01 +01:00
e0ee45e188 Use check_ldap instead of check_ldaps for the check_ldaps* command definitions 2013-12-01 21:54:26 +01:00
1a95a530c2 Update Vcs-headers 2013-11-27 22:18:32 +01:00
3caa6f878d Merge tag 'upstream/1.5'
Upstream version 1.5
2013-11-27 00:01:37 +01:00
0b817e9db1 Merge tag 'upstream/1.4.16+git20130926'
Upstream version 1.4.16+git20130926
2013-11-27 00:01:15 +01:00
18d27b4ade Merge tag 'upstream/1.4.16+git20130919'
Upstream version 1.4.16+git20130919
2013-11-27 00:00:57 +01:00
4f4c7edb55 Merge tag 'upstream/1.4.16+git20130912'
Upstream version 1.4.16+git20130912
2013-11-27 00:00:47 +01:00
ca7663af19 Merge tag 'upstream/1.4.16+git20130911'
Upstream version 1.4.16+git20130911
2013-11-27 00:00:34 +01:00
8e5a8de3bf Merge tag 'upstream/1.4.16+git20130910'
Upstream version 1.4.16+git20130910
2013-11-27 00:00:26 +01:00
407f54d038 Merge tag 'upstream/1.4.16+git20130902'
Upstream version 1.4.16+git20130902
2013-11-26 23:59:47 +01:00
9906e1f431 Merge tag 'upstream/1.4.16'
Upstream version 1.4.16
2013-11-26 23:59:06 +01:00
ee0309f658 Merge tag 'upstream/1.4.16_pre1'
Upstream version 1.4.16_pre1
2013-11-26 23:58:53 +01:00
3d1856ea07 Merge tag 'upstream/1.4.15'
Upstream version 1.4.15
2013-11-26 23:57:29 +01:00
afcbadb9fc Merge tag 'upstream/1.4.14'
Upstream version 1.4.14
2013-11-26 23:57:14 +01:00
82025084d2 Merge tag 'upstream/1.4.13+git200906171200'
Upstream version 1.4.13+git200906171200
2013-11-26 23:56:50 +01:00
022b3c8d41 Merge tag 'upstream/1.4.12'
Upstream version 1.4.12
2013-11-26 23:55:28 +01:00
116dc37be7 Merge tag 'upstream/1.4.11'
Upstream version 1.4.11
2013-11-26 23:54:57 +01:00
34fcb605a8 Merge tag 'upstream/1.4.10'
Upstream version 1.4.10
2013-11-26 23:54:42 +01:00
763886f62e Merge tag 'upstream/1.4.8'
Upstream version 1.4.8
2013-11-26 23:53:45 +01:00
3b1c07639b Merge tag 'upstream/1.4.5'
Upstream version 1.4.5
2013-11-26 23:53:19 +01:00
64cde96ad7 Update Homepage 2013-11-20 20:33:46 +00:00
82d22ae3e4 Update Licensing text from upstream README 2013-11-04 14:18:02 +00:00
6a9f809d88 new changelog entry and adding forgotten bug close 2013-10-16 12:06:55 +00:00
73ce8b5d06 new release 2013-10-02 18:14:10 +00:00
700e626c42 new changelog 2013-09-27 15:16:37 +00:00
d5c563aa3f prepare release 2013-09-27 14:54:42 +00:00
0fe5192960 new changelog 2013-09-20 09:48:00 +00:00
64484aab16 new release 2013-09-20 09:41:42 +00:00
234ee2e4fc update changelog 2013-09-19 13:35:11 +00:00
3a8b508907 new changelog 2013-09-12 23:04:59 +00:00
d18bce6b9b new release 2013-09-12 23:04:30 +00:00
71638fef2f new changelog 2013-09-11 14:03:15 +00:00
014a8788e0 new snapshot 2013-09-11 10:53:38 +00:00
0d2c622e6a new changelog 2013-09-10 14:21:04 +00:00
e591e9446c new release 2013-09-10 12:02:17 +00:00
7971270a6f new changelog 2013-09-03 13:47:13 +00:00
02ee428065 prepare release 2013-09-03 13:45:34 +00:00
de8a3f59e2 command.cfg removed upstream 2013-09-03 13:09:53 +00:00
810cf7dad3 perlmods are removed from upstream tarball 2013-09-03 12:58:23 +00:00
4d4e3849e8 contrib/ was removed upstream 2013-09-03 12:57:10 +00:00
a1cb4a65a2 update to new snapshot 2013-09-03 12:54:17 +00:00
a2aa72a507 make backporting easier 2013-09-03 12:22:33 +00:00
d89094ad8d contrib/ is dropped in latest upstream scm 2013-09-02 20:11:33 +00:00
b954470fda build against libfreeradius-client-dev 2013-09-02 15:06:54 +00:00
2b676fad77 bumb standards to 3.9.4 2013-08-28 09:42:45 +00:00
61439c7999 move repack.sh to debian/bin/ 2013-08-28 09:14:18 +00:00
c56ce5227d update upstream tarball 2013-08-28 08:52:57 +00:00
70821795af how to create release tarball 2013-08-28 08:52:37 +00:00
f8fe01fdcd Add changelog for repackaging 2013-08-27 23:11:34 +00:00
d73db8a7d2 provide informations for repackaging 2013-08-27 23:07:58 +00:00
067f69f00f remove cruft 2013-08-26 00:02:29 +00:00
6e2d2950c7 remove whois 2013-08-25 23:58:47 +00:00
09387a9fd4 add check_dbi 2013-08-25 23:47:20 +00:00
43c9cc0390 update copyright 2013-08-25 23:34:04 +00:00
c0bb7868f2 Fix removing empty /usr/include 2013-08-25 13:30:31 +00:00
fdbe22492c new upstream (snapshot) 2013-08-25 13:29:53 +00:00
67e4560a2b new changelog 2013-08-23 20:49:08 +00:00
5ccb2c711f raise urgendcy 2013-08-23 20:45:01 +00:00
de9d033088 new changelog 2013-08-23 20:35:35 +00:00
efe9a215cb prepare release 2013-08-23 20:13:58 +00:00
15f1d99799 close another (duplicate) bug 2013-08-23 20:13:18 +00:00
bf60a9567f check_proc seems also have problems with empty additional arguments 2013-07-18 12:48:59 +00:00
6fb5ba3a4e fixing #717229 2013-07-18 12:35:49 +00:00
2d7c36b1c6 check_smtp: double threshold 2013-07-11 12:45:52 +00:00
012f62be3b check_squid* was broken with additional argument 2013-07-11 11:36:37 +00:00
13738ef8ed new changelog 2013-07-10 13:19:01 +00:00
b02cdfb56d prepare release 2013-07-10 13:11:02 +00:00
34404ee104 add additional argument to a couple of command definitions to be more flexible 2013-07-09 21:31:05 +00:00
8a21b52c7b adding debian bug number 2013-07-09 18:42:42 +00:00
0a5502a8da Fixing NULL pointer dereference in check_nt (Closes: #714281) 2013-07-08 11:16:49 +00:00
cdc1b29e69 Add performance data to check_apt 2013-06-25 14:09:06 +00:00
129ccbb3d4 patch out _GL_WARN_ON_USE 2013-06-24 16:20:15 +00:00
11f0f73ade add --enable-extra-opts to configure flags, #698119 2013-06-24 15:51:30 +00:00
3ca020224c Adjusting path of rpcbind to /usr/sbin and recommend rpcbind, droping ubuntu specific adjustments 2013-06-24 13:35:52 +00:00
192bef3aab fixing LP: #1086151 (rpcinfo) 2012-12-15 20:45:45 +00:00
1595b08210 move nagios-plugins-contrib from Recommends to Suggests 2012-07-11 08:30:26 +00:00
91932842d2 add versioned dependency to inetutils-ping 2012-07-11 08:27:48 +00:00
cd220a76c3 new changelog 2012-06-27 21:27:40 +00:00
6da8d0915b prepare release 2012-06-27 21:14:24 +00:00
4fab52aa71 fix fsf address 2012-06-27 21:06:50 +00:00
1ddf892fc0 update copyright 2012-06-27 20:29:06 +00:00
891a8f8cf4 new upstream release 2012-06-27 19:39:22 +00:00
ea745cdb08 new changelog 2012-06-14 08:56:45 +00:00
9b5128e5d2 prepare release 2012-06-14 08:56:08 +00:00
9d4ffeb978 fix patches 2012-06-14 06:36:25 +00:00
ef45c1c49d add some fixes from upstream for check_dhcp 2012-06-14 06:21:23 +00:00
e1dc4691a7 fixes ping6 related problems 2012-06-13 11:50:46 +00:00
b248f7fd51 fixing all version strings 2012-06-13 11:06:14 +00:00
3c3bee9df1 bump standards to 3.9.3 2012-06-13 11:01:25 +00:00
549ad2cc97 fix release version 2012-06-13 10:45:49 +00:00
87edb050c2 new upstream 2012-06-13 10:40:49 +00:00
b5131092bf new changelog 2012-05-22 19:08:21 +00:00
68bbbef07c make use of replaces 2012-05-22 18:03:55 +00:00
425c7443cf Recommand nagios-plugins-contrib 2012-05-18 11:05:14 +00:00
781e78fc4c new changelog 2012-05-18 10:28:37 +00:00
dced907ff0 prepare release 2012-05-18 09:41:41 +00:00
d6df906405 also move functions to common package and some minor stuff 2012-05-15 21:36:20 +00:00
8eecf37295 Remove check_snmp_bgpstate 2012-05-15 12:31:44 +00:00
03ee5d5edf recommand nagios-plugins-common 2012-05-15 12:18:18 +00:00
5f7798328e remove check_bgpstate and check_linux_raid 2012-05-15 12:01:24 +00:00
e6b4a0267d create nagios-plugins-common package 2012-05-15 11:38:37 +00:00
fd7b65e7a8 add check_mysql_slave command definition 2012-02-27 21:09:05 +00:00
4a1ebb8316 add check_jabber and check_jabber_4 command definitions 2012-02-27 14:37:37 +00:00
0ae23aacdf clarify that check_http won't verify certificates 2012-02-24 12:35:02 +00:00
0dd3b3534a updating Vcs-Browser field 2012-02-24 12:27:49 +00:00
49bd4b96a7 patch accepted upstream 2012-02-24 12:03:19 +00:00
117e9973f7 fix multiple labels 2012-02-24 00:52:05 +00:00
606f04878e add perfdata to check_disk_smb 2012-02-23 22:37:16 +00:00
670f07c81d add build-arch and build-indep 2012-02-23 21:40:10 +00:00
5594166bf3 add patches to patchlist of previous commit 2012-02-21 14:17:56 +00:00
c79d5ca02d check_tcp and check_smtp: fixing duplicate messages at cert errors 2012-02-21 14:04:16 +00:00
9f8b903c22 Add '-w %d' for inetutils-ping 2012-02-19 12:45:35 +00:00
a2e592aa15 icinga is als a possible recommand 2011-11-01 16:12:25 +00:00
ac17a36502 new release 2011-09-07 13:35:52 +00:00
4e419098e2 refresh 15_check_sensors_fault.dpatch from upstream 2011-09-07 12:23:19 +00:00
a99f2309f1 remove empty /usr/include 2011-09-07 12:00:59 +00:00
9f780381cf detect sensors in FAULT state 2011-09-07 10:28:20 +00:00
4a3a0d53c6 Fix error in check_radius when compiling with -Werror=format-security 2011-09-07 09:27:21 +00:00
d91bc94fc4 don't return 0 with UNKOWN 2011-09-07 09:08:26 +00:00
833e0160a4 updating package description 2011-09-02 10:35:13 +00:00
3487a22a9c Bump Standards-Version to 3.9.2 2011-05-29 11:20:51 +00:00
238e74a4d5 Enable hardening options (Closes: #542728) 2011-05-29 06:04:30 +00:00
05ba85cb9e new changelog 2011-05-18 14:57:13 +00:00
317f52b727 prepare release 2011-05-18 14:32:07 +00:00
4e53567e60 draft fixing #615133 2011-05-18 14:31:08 +00:00
4b15110b1e fix brocken changelog entry 2011-05-10 19:59:30 +00:00
a48887cae5 fix for #623702 2011-05-10 19:23:10 +00:00
94b4b82d48 fix the array 2011-05-10 19:16:35 +00:00
526aade228 move dependend libraries to recommanded once 2011-02-13 22:20:06 +00:00
5c0f63e2fa check_smtp: Abort on missing/unexpected greeting 2011-02-09 17:55:12 +00:00
fb68dc19d1 new changelog 2010-12-27 21:14:15 +00:00
c95b44200a integrate a single patch from upstream 2010-12-23 09:23:44 +00:00
6c76d84654 fix some regressions with check_snmp 2010-12-21 23:43:36 +00:00
b30adca432 fix broken symlink 2010-11-30 12:08:15 +00:00
604166c36e add patches for check_disk_smb 2010-11-30 11:50:44 +00:00
99e8c3603d new changelog 2010-09-23 09:25:35 +00:00
0e9b47de4c bump standards 2010-09-23 08:21:09 +00:00
a2b26cd594 fix raid01 and linear 2010-09-23 07:32:42 +00:00
Alexander Wirt
d9147433ed Call ps with two w (#596372) 2010-09-10 20:27:34 +00:00
7c14e93496 new changelog 2010-07-31 08:52:05 +00:00
176ecf4d38 prepare release 2010-07-31 08:34:24 +00:00
6b41c1af83 bug seems fixed 2010-07-29 13:12:52 +00:00
80699c70d0 new upstream release 2010-07-28 11:55:51 +00:00
45f4cff944 fix help of check_disk 2010-07-07 10:18:32 +00:00
404e495299 cleanup ssh_disk* 2010-05-20 11:07:56 +00:00
7b08b67dc9 add missing 42_check_linux_raid_fix_rebuild.dpatch 2010-05-12 05:48:20 +00:00
1c8dbebf9e rename 13_subst.in_again.dpatch to 01_subst.in.dpatch 2010-05-08 23:27:16 +00:00
cba17bcf65 new changelog 2010-05-08 20:22:50 +00:00
f4b9f7cfe9 prepare release 2010-05-08 20:21:45 +00:00
38090f28be providing bug and credit 2010-04-19 12:58:01 +00:00
a38a26543b add the help output of -F 2010-04-19 09:02:51 +00:00
79e99a75a5 update from git 2010-04-12 14:58:18 +00:00
a455dd188b update patch 2010-04-12 14:39:40 +00:00
3d271b079b drop 23_check_smb_password.dpatch 2010-04-11 19:25:23 +00:00
ebac29e6a0 not reverting 23_check_smb_password.dpatch anymore 2010-04-11 10:45:45 +00:00
cdb9a4fb1b Add upstream bugreports into patch description 2010-04-09 20:20:47 +00:00
56c1ad665c give credits 2010-04-09 20:09:27 +00:00
61ec046496 drop some more obsolete stuff 2010-04-09 20:07:04 +00:00
07d3a62573 Merge 13_subst.in_again.dpatch and 38_fix_libexec.dpatch 2010-04-09 19:48:42 +00:00
54d9c0272d drop 27_check_radius_segfault.dpatch 2010-04-09 19:40:00 +00:00
b5272998dc drop 26_implicit-basename.dpatch 2010-04-09 18:53:23 +00:00
0728e90759 drop 14_check_log_paths.dpatch 2010-04-09 18:07:03 +00:00
b3e198a475 Adding links to bugreports 2010-04-09 12:16:15 +00:00
9180364695 provide changelog 2010-04-08 21:54:23 +00:00
83b84451d1 prepare release 2010-04-08 21:17:41 +00:00
ff44890fbe check_http: fix regression related ssl/sni checks 2010-04-08 17:39:28 +00:00
5c04a14b72 Add 44_check_snmp_perfdata.dpatch to fix regression related perfdata 2010-04-01 07:17:31 +00:00
6e922d4d8f revert changes 2010-03-29 02:32:31 +00:00
e3c2de9367 Use dh_prep unstead of 'dh_clean -k' 2010-03-29 02:06:50 +00:00
e2801bf7ef restruture documentation 2010-03-29 01:22:49 +00:00
3249c4bdc0 Remove libmysqlclient12-dev from Build-Deps 2010-03-24 20:42:32 +00:00
29fb782779 new changelog 2010-03-24 19:25:45 +00:00
2bb131a8d4 prepare release 2010-03-24 19:06:38 +00:00
6464c1334f return Warning when rebuilding volume 2010-03-19 14:41:31 +00:00
d42ef6d01a install NEWS.Debian and README.Debian* 2010-03-19 13:53:14 +00:00
33e3671eb7 Move postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light to Suggests 2010-03-19 13:12:41 +00:00
8f9b0e2ee0 cleanup uploaders 2010-03-16 08:36:16 +00:00
0db6dd9fe0 new changelog 2010-03-15 21:58:00 +00:00
1bfc6d784b prepare release 2010-03-15 21:53:11 +00:00
f7a06da9e0 move a couple of packages to recommands 2010-03-11 21:40:40 +00:00
5ff987c954 Remove radiusclient1 from Dependencies 2010-03-11 14:54:12 +00:00
3b24d30fee move check_mailq to nagios-plugins-standard 2010-03-11 12:28:02 +00:00
f6c3da0b51 Add trailing trunk/ at Vcs-Svn-field 2010-03-10 08:10:38 +00:00
507277ff4c check_http: add fix for large files 2010-03-03 08:14:36 +00:00
d386a80069 * Bump Standards-Version to 3.8.4, no changes needed
* Add 1.0 to debian/source/format
2010-02-23 15:32:16 +00:00
5ac59a2adb some hints for non-linux archs 2010-01-23 23:10:47 +00:00
84277e723b added patch accidential 2010-01-23 12:17:43 +00:00
739e9ca1cc sometic changes to changelog 2010-01-23 12:15:09 +00:00
72a1713934 released and new changelog 2010-01-23 00:49:59 +00:00
8051b875ab prepare release 2010-01-23 00:09:26 +00:00
38a212b0d6 this patch fixes not 534604 2010-01-21 13:17:59 +00:00
b7b2119dcf missing change related to r1813 2010-01-21 13:17:17 +00:00
d056e2d95c just use inetutils-ping on non-linux 2010-01-12 21:46:33 +00:00
ffaf5adbfe add some lintian fixes 2010-01-12 21:27:18 +00:00
307e614e08 fix check-switch-alive* checks 2010-01-12 20:53:20 +00:00
5213f02a63 provide check_host and check_rta_multi 2010-01-10 20:44:18 +00:00
9b5e080456 qstat as recommandation 2009-12-20 19:06:02 +00:00
66a36fbb0e also fixes ping6 parse problems 2009-12-08 18:59:51 +00:00
8f0c07fa46 fix raid levels with more than one digit 2009-12-08 18:51:11 +00:00
354922bdcb removal hint for check_linux_raid.pl and check_bgpstate 2009-12-07 13:50:58 +00:00
8367d1ffe7 update dpatch header 2009-12-06 16:29:10 +00:00
8dc34671a1 fix the patch 2009-12-05 20:49:50 +00:00
393c1c00c1 fix typo 2009-12-05 01:55:31 +00:00
466c887bee depend on inetutils-ping 2009-12-05 01:51:36 +00:00
ab3ba9033c revert r1788, since check_ping is segfaulting, needs more investigating 2009-11-18 20:17:16 +00:00
51c56ab00b migrate over to inetutils-ping 2009-11-12 01:19:50 +00:00
d9aea4d0ef we release 2009-11-11 21:37:33 +00:00
26eb3322ec fix proxy patch 2009-10-15 22:28:37 +00:00
4447badd94 update changelog 2009-10-14 23:01:12 +00:00
c5502bfe33 add proxy auth 2009-10-14 21:21:41 +00:00
ba575ac4de update 06_checkircd.dpatch 2009-10-14 21:13:11 +00:00
4c56464a2d new upstream release and compat 5 2009-10-14 20:54:59 +00:00
3a9ffa118f remove coreutils from build-depends 2009-09-23 12:36:24 +00:00
47e1f21829 fix epn in check_ircd 2009-09-23 11:59:15 +00:00
ca127377d5 drop unused patches 2009-09-23 10:43:54 +00:00
2f89fd7851 bump version, add README.source 2009-08-29 14:03:58 +00:00
762072b78b removing check_vsz check command 2009-08-24 15:48:30 +00:00
450865202e make use of etime when calling ps via check_proc 2009-08-05 22:22:43 +00:00
526d4e67f5 be prepared for mysql-dfsg-5.1 upload into unstable 2009-07-25 22:04:55 +00:00
bdda29d397 we released 2009-07-07 09:15:11 +00:00
3cbd821b98 bump standards 2009-07-06 19:06:54 +00:00
0e3cb8598e adjust packaging for latest git upstream tree 2009-06-22 15:15:15 +00:00
e405699f11 explanation about predefined check commands 2009-05-14 21:42:36 +00:00
591967c72c fix buffer overflow 2009-05-14 19:54:24 +00:00
b880fb744a add check_nscp 2009-05-12 20:31:17 +00:00
e68f1332b5 add informations into README.Debian how to use plugins 2009-04-23 12:45:13 +00:00
e8c178eb51 fix check_httpname 2009-04-20 14:01:50 +00:00
95064a738a new version 2009-02-01 02:20:19 +00:00
043c1099e5 prepare release 2009-01-30 21:58:18 +00:00
e55ac6cafe fix logout problems 2009-01-30 21:40:48 +00:00
eb6daf88f1 fix changelog 2009-01-30 20:28:44 +00:00
27f5c281e7 just reduce output to failing partitions 2009-01-30 19:40:04 +00:00
5b163cd80d fixing check_cups 2008-11-17 21:36:58 +00:00
452539f283 add missing auth pair parameter 2008-11-13 09:23:50 +00:00
db0560ad6a new version 2008-10-01 22:45:45 +00:00
aa8a46bc9f release 2008-10-01 22:40:35 +00:00
ab5825b820 add credits 2008-10-01 12:37:52 +00:00
70481241a2 fix v4 switch 2008-10-01 12:27:05 +00:00
04e4d36f7a fix check_http?_hostname* 2008-09-22 15:06:52 +00:00
e6ca5446ce add warning and critical threshold 2008-09-22 15:02:26 +00:00
7d50ab9177 readd server_port 2008-09-22 12:46:42 +00:00
b5bfa65b34 new version 2008-08-24 05:40:45 +00:00
421c65a32d maybe we release new package 2008-08-23 15:30:41 +00:00
ae251d3e02 add support for virtual servers 2008-08-23 14:20:27 +00:00
5182895704 let the patch apply 2008-08-23 13:41:17 +00:00
508f0a350e really fix #486932 2008-08-23 13:31:26 +00:00
b44829480d new version 2008-07-04 15:04:24 +00:00
83969a2f43 release 2008-07-04 15:02:53 +00:00
f84baee39c fix check_disk_smb 2008-07-03 08:29:00 +00:00
cecb795f6c remove reject files from patches 2008-06-19 21:01:38 +00:00
ac38a0f73a add status_line to check_http output 2008-06-19 14:06:58 +00:00
f56b6b97f5 release 2008-06-18 11:52:16 +00:00
55b1fb9ccc never miss the credits 2008-06-09 21:25:48 +00:00
fa8f9047f4 fix check_dig 2008-06-09 21:14:30 +00:00
b107590420 Updating standards version to 3.8.0 2008-06-07 09:32:31 +00:00
97803e4b14 add check_linux_raid 2008-06-06 14:28:26 +00:00
af42444698 update check_radius command definition 2008-06-06 13:47:14 +00:00
05e51472aa provide new checks for check_http which makes use of -H 'schuhkarton' 2008-06-06 13:24:43 +00:00
93d4faf21a add add nas-ip-address option to check_radius 2008-06-06 13:10:32 +00:00
efa65d0ee2 adding ' around arguments in plugin confs 2008-06-06 12:45:04 +00:00
5cc06623c7 allow empty ldap base 2008-06-06 11:47:27 +00:00
eed6fd1682 give credits 2008-06-06 11:12:38 +00:00
fa35916c1a fix check_http 2008-06-06 11:10:58 +00:00
7806d01e88 fix usage of smbclient 2008-06-06 10:35:51 +00:00
31be3d3d44 fix processing via embedded perl of check_disk_smb 2008-06-06 10:03:40 +00:00
b02868c0c9 build depend on libradiusclient-ng-dev, since libradius1-dev seems to have known issues and upstream is unmaintained 2008-06-05 14:27:04 +00:00
b61c89660d include some upstream fixes 2008-06-05 10:33:29 +00:00
d3933ed22d some files are GPL3 2008-06-05 08:26:44 +00:00
421caf516c drop more patches 2008-06-03 11:49:05 +00:00
9ae19105a9 adjust copyright 2008-06-03 11:31:42 +00:00
060f1e2a49 fix 'spelling error' and make lintian happy 2008-06-03 10:10:12 +00:00
b720ccfd62 make lintian happy 2008-06-03 09:33:59 +00:00
87b8a5867d adjust for new upstream 2008-06-03 09:24:23 +00:00
9c8abb798e drop a couple of patches 2008-06-03 09:06:54 +00:00
da8030e738 new upstream 2008-06-03 08:21:10 +00:00
16e05ae517 also remove nagios2 from suggests, since suggests aren't influence backporting 2008-05-04 12:20:10 +00:00
3a284fec6c remove nagios and nagios-text from suggests and add nagios3 2008-05-04 11:56:51 +00:00
Alexander Wirt
721938b405 Add patch from Josep Rodin to check_smb_disk (#425129) 2008-05-02 05:37:40 +00:00
9f5862629d remove sarge handholding 2008-03-09 09:12:15 +00:00
16dc82c697 add check_ldaps 2008-03-09 01:02:59 +00:00
4f3f873aa3 add missing descriptions 2008-03-08 19:47:01 +00:00
8e4a2a1ecb remove senseless comments 2008-03-08 08:25:27 +00:00
6baa70b1e6 remove unneeded debhelper scripts 2008-03-08 08:20:28 +00:00
d82a016c1e new changelog entry 2008-03-07 16:41:23 +00:00
2e2fb552f4 released 2008-03-07 16:34:34 +00:00
20252a1c9d fix typo 2008-03-06 21:07:26 +00:00
8a0fab2ab6 remove postgresql-dev from build-depends 2008-03-06 19:45:42 +00:00
3a959d78de build arch: all package in binary-indep and debhelper cleanup 2008-03-06 16:54:50 +00:00
7b2c9ed304 include OpenSSL exception 2008-03-06 14:13:11 +00:00
e44f7f1596 fixup copyright 2008-03-06 10:34:38 +00:00
b59a29946b make use of old libldap API 2008-03-06 10:00:15 +00:00
d8a6072c8a fix check_disk --local, doesn't need an argument 2008-02-05 21:31:32 +00:00
8570a498bb fix #429778 (remove snmp build-dep) 2008-02-03 16:34:56 +00:00
Sean Finney
1785a1ef24 new chglog 2008-01-26 14:08:15 +00:00
Sean Finney
4241d4b1b6 clarify it was jan's work and prep an upload 2008-01-26 14:03:52 +00:00
51ae39eb6e prepare release 2008-01-26 11:09:35 +00:00
4879d5bcca migrate ntp.cfg to new check_ntp_peer 2008-01-26 01:34:21 +00:00
18ab211500 fix some options help for check_ntp_peer and check_ntp_time 2008-01-25 23:14:24 +00:00
94058be412 include segfault fix 2008-01-25 22:37:40 +00:00
161671e2f9 add close for #462509 2008-01-25 11:25:13 +00:00
48e18b390b update for new upstream release + typo fix 2008-01-24 15:09:19 +00:00
86dc2c445b fix #405244 2007-12-09 23:33:47 +00:00
d2842ff9c3 fix Vcs- fields 2007-12-09 22:30:36 +00:00
Sean Finney
d8fa0a997d clarify changes in last upload were jans 2007-12-07 07:43:44 +00:00
Sean Finney
58681c8ea1 new chglog 2007-12-07 00:01:49 +00:00
Sean Finney
7ad1569f95 prep sign and tag jan's work 2007-12-06 23:56:26 +00:00
e973b6ac33 add myself to uploaders 2007-12-06 13:55:01 +00:00
fb660ea84f remove libsnmp5-dev from depency and reorder libsnmp-dev and libsnmp9-dev 2007-12-06 13:48:40 +00:00
691bbce0e4 prepare new release 2007-12-06 13:41:42 +00:00
a5760cde1a drop patches included upstream and modify existing for new upstream 2007-12-06 13:39:25 +00:00
1cd5a5ef84 new upstream 2007-12-06 13:37:22 +00:00
a51354bd19 fix reference to 06_checkircd.dpatch 2007-12-06 12:14:40 +00:00
f86acb4d31 fix watch file .. seems c&p problem at first time 2007-12-06 11:02:19 +00:00
9b389ecd62 make lintian happy and add some usefull informations into control 2007-12-06 10:54:08 +00:00
2349359929 import NMUs 2007-12-06 09:46:30 +00:00
42cd3331b3 integrate typo fixes via dpatch 2007-12-06 09:24:29 +00:00
198d9f4353 include fix for watch file. thanks Raphael 2007-11-26 08:43:59 +00:00
c06f4074d0 adjust changelog 2007-07-09 10:18:34 +00:00
6b772e3a9c add ssh check with possibility of port specification 2007-07-09 10:15:44 +00:00
075f41fdf2 add interface check with exclude 2007-07-09 10:13:56 +00:00
Sean Finney
2049c540eb new chglog 2007-05-28 17:53:38 +00:00
Sean Finney
5871cf8279 go ahead and throw this at unstable 2007-05-28 17:39:23 +00:00
Sean Finney
a41b4f529e fix for disappeared check_pgsql 2007-05-27 20:37:26 +00:00
Sean Finney
2a2efcb154 fix for disappeared check_pgsql 2007-05-27 20:36:52 +00:00
Sean Finney
1136265cca new chglog 2007-05-20 18:36:16 +00:00
Sean Finney
af7ceb0c36 okay, lets fire this at unstable 2007-05-20 18:31:22 +00:00
Sean Finney
841dde796c config.sub fix 2007-05-20 18:29:27 +00:00
Sean Finney
6034fcc499 new upstream changes 2007-05-20 18:19:43 +00:00
Sean Finney
fa586d0ddb merge NMU, new upstream release 2007-05-20 18:14:28 +00:00
Sean Finney
c1eba7d7a4 fix arch for n-p 2007-05-08 19:14:57 +00:00
8b38a91d0b add missing changelog entry 2007-04-26 11:13:10 +00:00
3c838fb70c add check for cups webinterface 2007-04-26 09:38:27 +00:00
34af7b47d9 add check command for checking mysql database 2007-02-27 08:00:22 +00:00
b4c51ee6e4 add check command for checking mysql database 2007-02-27 07:57:50 +00:00
4c54273558 fix return of check_jabber 2007-01-31 08:15:29 +00:00
2e3c362a88 fix broken response for check_jabber 2007-01-30 09:05:24 +00:00
485fcac980 fix template and typo 2007-01-11 14:43:20 +00:00
7c29bd37f0 remove static community string in ifstatus.cfg and leave notice in NEWS.Debian 2007-01-11 14:10:59 +00:00
680a8d32ad add ipv4 checks and check_bgpstate 2007-01-08 08:17:57 +00:00
8b4814e41a add check_bgpstate, since the template was allready there 2007-01-08 08:17:15 +00:00
0795932b01 add ipv4 specific checks and some minor cosmetic fixes 2007-01-08 08:15:52 +00:00
e21f5b4966 fix command names 2007-01-05 12:55:49 +00:00
eb46f0d0f1 be more polite, sorry! 2006-12-21 22:35:07 +00:00
b18c1da6a5 add explicit IPv6 checks to ping.cfg 2006-12-21 22:27:14 +00:00
Sean Finney
1c86c06f37 new chglog 2006-12-06 22:47:52 +00:00
Sean Finney
24af972d61 another ucf fix 2006-12-06 22:33:38 +00:00
Sean Finney
398bf9d4c0 test for file before md5summing it 2006-12-06 21:55:29 +00:00
Sean Finney
ac95ff54c7 remove the -x 2006-12-06 21:52:25 +00:00
Sean Finney
fc766fbaf0 prep for upload 2006-12-06 21:40:42 +00:00
Sean Finney
c2bfddce96 okay, this one does it, really 2006-12-06 18:13:07 +00:00
Sean Finney
f0bf0b77eb a little more work for sarge transitioning 2006-12-06 17:35:02 +00:00
Sean Finney
200334e244 adding sarge md5sums, just in case i need them 2006-12-05 22:19:37 +00:00
Sean Finney
bf67bec2f0 set perms correctly on functions hook 2006-12-05 18:56:37 +00:00
Sean Finney
5cc5d66652 testing fix for conffile prompts 2006-12-05 18:34:39 +00:00
Sean Finney
0ef129fa86 crap, i never committed the changes for 1.5.1 even though i uploaded it.
"whoops" my bad.
2006-12-05 18:25:10 +00:00
Sean Finney
37cb311f16 new chglog 2006-11-17 08:42:50 +00:00
Sean Finney
98af9a058a few fixes 2006-11-17 08:37:39 +00:00
Sean Finney
06c4a2abb7 new chglog 2006-11-01 22:03:33 +00:00
Sean Finney
6a87420d32 really prep for upload 2006-11-01 21:57:30 +00:00
Sean Finney
2d4b037705 check_tcp fix 2006-11-01 21:28:30 +00:00
Sean Finney
395ff43598 prep for upload 2006-11-01 21:14:21 +00:00
Sean Finney
b8bb2c0e92 changing build deps and other control info 2006-11-01 21:02:04 +00:00
Sean Finney
9a8ecd976d no longer need this 2006-11-01 20:34:49 +00:00
Sean Finney
b55c88a9c3 update to configure cmdline 2006-11-01 20:29:24 +00:00
Sean Finney
d1ba348672 update to configure cmdline 2006-11-01 20:24:45 +00:00
Sean Finney
2c18a0bbd6 merge with upstream, check_ups fix 2006-11-01 19:18:32 +00:00
Sean Finney
b81765360f missed another pluginconfig 2006-09-20 22:22:10 +00:00
Sean Finney
5d6de60109 add a missing conffile, and add extensions to stuff in the postrms 2006-09-20 22:09:35 +00:00
Sean Finney
f762463ecd whoops, output the same postrm twice 2006-09-20 21:49:37 +00:00
Sean Finney
de9389c7f1 will need these too, i guess 2006-09-20 21:38:05 +00:00
Sean Finney
1bc469da67 first stab at ucf-izing the plugin configs 2006-09-20 21:28:35 +00:00
Sean Finney
70c0368c56 + * include fix for braindead behaviour in check_tcp based plugins
+    such as check_simap (closes: #351847).
(note: fix also committed in upstream CVS)
2006-09-02 21:04:24 +00:00
Sean Finney
93ba32ae79 new chglog 2006-08-04 16:01:47 +00:00
Sean Finney
acd58ee8dd prep for upload 2006-08-04 15:57:50 +00:00
Sean Finney
94e4bbf7f0 remove fix for breakage with check_ldaps, as it is causing breakage. go figure. 2006-08-04 07:54:46 +00:00
Sean Finney
4c696b9327 updated build-deps to be more backporting friendly 2006-08-03 19:17:52 +00:00
Sean Finney
6ebebb2676 fix accidental dependency introduction in -basic 2006-07-09 16:52:18 +00:00
Sean Finney
4b4e1d17d9 new chglog 2006-07-09 15:44:07 +00:00
Sean Finney
5ef0b4381b to unstable we go 2006-07-09 15:38:04 +00:00
Sean Finney
1bd95a2f5b first version of apt.cfg for check_apt 2006-07-08 11:09:59 +00:00
Sean Finney
80b4865f58 - updated debiandefaults patch to apply against snapshot
- martin pitt's libpq changes.
2006-07-08 10:00:34 +00:00
Sean Finney
b2d8bca35e we should no longer need this file with the new snapshot 2006-07-07 21:48:35 +00:00
Marc Haber
37db2d68a0 * make package build fail if /proc is not mounted, before I end up
filing that bug a fourth time. Closes: #344389, #354215, #372316
2006-06-09 13:43:27 +00:00
Sean Finney
7665456a9c new changelog 2006-05-28 21:26:32 +00:00
Sean Finney
ea66194ad7 * upstream now uses libtool, but the shipped libtool is out of date and
has problems building against radiusclient1-dev (which might not be
    our fault, but...).  so, for the time being we're shipping an updated
    version of ltmain.sh in the diff (build depending on the newest version
    of libtool is subobtimal for backporting).
  * add --disable-rpath to configure options... arg, and i had to apply
    another patch to ./configure to keep a -R from sneaking in and
    deactivating it.
  * upstream ./configure fails to automagically detect mysql installation now,
    so modify debian/rules accordingly.
  * modify debian/control to be more explicit about build-dependencies to
    make life easier for backporting.
2006-05-27 21:48:17 +00:00
Sean Finney
2a3c7a1d0c Bug#368718: nagios-plugins: Cleanup of dependencies 2006-05-24 15:48:39 +00:00
Sean Finney
d9bacc718a merge with upstream 1.4.3 2006-05-18 17:40:55 +00:00
Sean Finney
f38b2e70c9 new changlelog 2006-02-18 13:13:18 +00:00
Sean Finney
8bd868ec49 LC_NUMERIC fix for check_procs 2006-02-18 13:08:32 +00:00
Sean Finney
06b7682676 update to libmysqlclient15-dev build-dep 2006-02-18 12:48:46 +00:00
Sean Finney
1eb8ee92cb wheee. next release 2006-01-23 22:30:20 +00:00
Sean Finney
d1950d5026 add a Replaces in -basic for -standard 2006-01-23 19:43:06 +00:00
Sean Finney
bcf6c6d586 moved check_ping over, and some more cleanup in the build-deps 2006-01-23 19:31:28 +00:00
Marc Haber
cb16874e63 * add build-dependency on autotools-dev, add code to automatically
link in current config.guess, config.sub
2006-01-20 19:05:43 +00:00
Marc Haber
427cb051d8 * add 23_check_axis.dpatch, making the package suiteable to
debian/-only layout
2006-01-20 19:02:08 +00:00
Marc Haber
688e51d260 prepare new version 2006-01-20 19:00:14 +00:00
Marc Haber
938b99ef86 remove upstream sources 2006-01-20 18:51:59 +00:00
Marc Haber
27dcec3fa7 remove source-dist branch 2006-01-20 18:48:40 +00:00
196 changed files with 21604 additions and 31772 deletions

View file

@ -1,8 +1,8 @@
Installation Instructions
*************************
Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
Foundation, Inc.
Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@ -225,7 +225,7 @@ order to use an ANSI C compiler:
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
HP-UX 'make' updates targets which have the same time stamps as their
HP-UX 'make' updates targets which have the same timestamps as their
prerequisites, which makes it generally unusable when shipped generated
files such as 'configure' are involved. Use GNU 'make' instead.

View file

@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = gl tap lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@
SUBDIRS = gl tap lib plugins plugins-scripts plugins-root @PERLMODS_DIR@
EXTRA_DIST = config.rpath \
ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog FAQ NEWS \

View file

@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.16.3 from Makefile.am.
# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@ -163,8 +163,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/libcurl.m4 \
$(top_srcdir)/gl/m4/nocrash.m4 $(top_srcdir)/gl/m4/off_t.m4 \
$(top_srcdir)/gl/m4/open-cloexec.m4 \
$(top_srcdir)/gl/m4/open-slash.m4 $(top_srcdir)/gl/m4/open.m4 \
$(top_srcdir)/gl/m4/pathmax.m4 $(top_srcdir)/gl/m4/pid_t.m4 \
$(top_srcdir)/gl/m4/printf.m4 \
$(top_srcdir)/gl/m4/pathmax.m4 $(top_srcdir)/gl/m4/printf.m4 \
$(top_srcdir)/gl/m4/pthread_rwlock_rdlock.m4 \
$(top_srcdir)/gl/m4/realloc.m4 \
$(top_srcdir)/gl/m4/reallocarray.m4 \
@ -177,7 +176,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/libcurl.m4 \
$(top_srcdir)/gl/m4/sockets.m4 $(top_srcdir)/gl/m4/socklen.m4 \
$(top_srcdir)/gl/m4/sockpfaf.m4 $(top_srcdir)/gl/m4/ssize_t.m4 \
$(top_srcdir)/gl/m4/stat-time.m4 $(top_srcdir)/gl/m4/stat.m4 \
$(top_srcdir)/gl/m4/std-gnu11.m4 \
$(top_srcdir)/gl/m4/stdalign.m4 \
$(top_srcdir)/gl/m4/stddef_h.m4 $(top_srcdir)/gl/m4/stdint.m4 \
$(top_srcdir)/gl/m4/stdint_h.m4 $(top_srcdir)/gl/m4/stdio_h.m4 \
@ -195,7 +193,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/libcurl.m4 \
$(top_srcdir)/gl/m4/time_r.m4 $(top_srcdir)/gl/m4/timegm.m4 \
$(top_srcdir)/gl/m4/ungetc.m4 $(top_srcdir)/gl/m4/unistd_h.m4 \
$(top_srcdir)/gl/m4/unlocked-io.m4 \
$(top_srcdir)/gl/m4/vararrays.m4 \
$(top_srcdir)/gl/m4/vasnprintf.m4 \
$(top_srcdir)/gl/m4/vasprintf.m4 \
$(top_srcdir)/gl/m4/visibility.m4 \
@ -269,12 +266,10 @@ am__define_uniq_tagged_files = \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/test.pl.in $(top_srcdir)/build-aux/config.guess \
$(srcdir)/test.pl.in $(top_srcdir)/build-aux/compile \
$(top_srcdir)/build-aux/config.guess \
$(top_srcdir)/build-aux/config.rpath \
$(top_srcdir)/build-aux/config.sub \
$(top_srcdir)/build-aux/install-sh \
@ -282,10 +277,11 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/build-aux/missing \
$(top_srcdir)/build-aux/mkinstalldirs \
$(top_srcdir)/pkg/solaris/pkginfo.in ABOUT-NLS AUTHORS COPYING \
ChangeLog INSTALL NEWS README THANKS build-aux/config.guess \
build-aux/config.rpath build-aux/config.sub \
build-aux/install-sh build-aux/ltmain.sh build-aux/missing \
build-aux/mkinstalldirs config.rpath mkinstalldirs
ChangeLog INSTALL NEWS README THANKS build-aux/compile \
build-aux/config.guess build-aux/config.rpath \
build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh \
build-aux/missing build-aux/mkinstalldirs config.rpath \
mkinstalldirs
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@ -356,6 +352,8 @@ CFLAGS = @CFLAGS@
CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DBILIBS = @DBILIBS@
DEFS = -DLOCALEDIR=\"$(localedir)\"
@ -375,6 +373,7 @@ ENOLINK_VALUE = @ENOLINK_VALUE@
EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
ERRNO_H = @ERRNO_H@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
EXTRAS = @EXTRAS@
EXTRAS_ROOT = @EXTRAS_ROOT@
@ -1746,6 +1745,8 @@ install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = $(datadir)/locale
localedir_c = @localedir_c@
localedir_c_make = @localedir_c_make@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
@ -1765,7 +1766,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
with_trusted_path = @with_trusted_path@
SUBDIRS = gl tap lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@
SUBDIRS = gl tap lib plugins plugins-scripts plugins-root @PERLMODS_DIR@
EXTRA_DIST = config.rpath \
ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog FAQ NEWS \
NP-VERSION-GEN REQUIREMENTS SUPPORT THANKS \
@ -1951,7 +1952,6 @@ cscopelist-am: $(am__tagged_files)
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am

63
NEWS
View file

@ -1,5 +1,68 @@
This file documents the major additions and syntax changes between releases.
2.4.0 25th Jul 2024
FIXES
* check_dbi: Compiler warning for uninitialized variable
* check_curl: Initialize pointer before usage
* check_ntp: Initialize intermediate results in any case
* Fixes for -Wsign-compare
* check_tcp: Fixes an error with using the wrong type for a variable
* check_mailq: exit on empty strings and exit early
* check_users: Change option for sanity checking arguments to avoid segfault
* check_users: Update help to properly show that thresholds are ranges
* check_users: fix segfault
* check_dbi: Fix compiler warning for uninitialized variable
* check_curl: Initialize pointer before usage
* check_ntp: Initialize intermediate results in any case
* Fix logic in is_uint64_t to fix type-limit warning
* check_ntp_peer: Fixes for Wmaybe-unitialized and some restructuring
* check_dns: Remove unused variable
* check_ntp_peer: Fixes for Wmaybe-unitialized and some restructuring
* check_dns: Remove unused variable
* check_disk: fix ignore-missing in combination with includes
* check_procs: ignore our own children
* Prevent -lcrypto from showing up in Makefile dependencies
* Change irritating NULL assignment
* check_http: Remove self assignment of a variable and add some comments
* check_snmp: Remove unused variable
* check_dhcp: Make implicit conversion explicit to dismiss warning
* check_http: Remove self assignment of a variable and add some comments
* check_dhcp: Make implicit conversion explicit to dismiss warning
* Ini Parser: Avoid freeing symbols from text section
* check_icmp: keep performance data order in case of none-reachable hosts
* check_swap: Change another fake boolean to a real one
* check_swap: Rename type since *_t is reserved for C standard types
* check_ssh: Fix a typo in "remote-protocol parameter
* check_ssh: Handle non-alpha software versions
* check_ssh: properly parse a delayed version control string
* check_disk: Fail on missing arguments for --warning and --critical and fix a test case
* check_disk: Use new test function for percentage expressions
* check_load: remove unused code
* check_curl/check_http: clarified format of POST data
ENHANCEMENTS
* Use C99 booleans
* check_mailq: remove trailing whitespaces
* check_mailq: unify tabs/spaces
* check_oracle: Shellcheck fixes
* check_ups: output ups.realpower if supported
* check_disk: add -n short option for --ignore-missing
* check_procs: Improve help text, mentioning excluded processes
* check_procs: Generalise wording, remove mentioning of nrpe
* check_curl: add haproxy protocol option
* Improve negate plugin helptext
* check_disk: increase alert precision
* check_ircd: IPv6 support
* check_nwstat: adds percentage used space
* Add new test function for percentage expressions
* check_swap: Possibility to run check_swap without thresholds
* check_ups: additional alarm conditions
* check_http/check_curl: added a --regex-state option to change the state of a regex check
2.3.5 18th Oct 2023
FIXES
* Include maxfd.h in lib Makefile
2.3.4 18th Oct 2023
ENHANCEMENTS
* check_curl: added --cookie-jar and doing proper cleanup of libcurl

View file

@ -6,7 +6,7 @@
SRC_ROOT=`dirname $0`
NPVF=NP-VERSION-FILE
DEF_VER=2.3.4
DEF_VER=2.4.0
LF='
'

27
THANKS
View file

@ -2,19 +2,19 @@ This software is brought to you by the Monitoring Plugins Development Team. Howe
there have been many contributors to this project. Everyone below has helped in
raising bug reports, creating patches or contributing new plugins.
Thoralf Rickert-Wendt
Matthias Hähnel
Randy O'Meara
dag rob?le
Marc Sánchez
Arkadiusz Miśkiewicz
Diego Elio Pettenò
Elan Ruusamäe
Thoralf Rickert-Wendt
Aksel Sjögren
fabiodds
Diego Elio Pettenò
Nicolai Søborg
Elan Ruusamäe
Matthias Döhler
Arkadiusz Miśkiewicz
Wolfgang Karall-Ahlborn
Matthias Döhler
Marc Sánchez
Randy O'Meara
Oskar Ahner
Lance Albertson
David Alden
@ -25,8 +25,8 @@ Felipe Gustavo de Almeida
Michael Almond
Michael Anthon
Bernd Apfel
Bernd Arnold
Paula Arnold
Bernd Arnold
Kondoros Attila
Daniel Austin
Karol Babioch
@ -89,8 +89,8 @@ Lee Clemens
Ben Clewett
Jean-Claude Computing
Lionel Cons
Garry Cook
Charlie Cook
Garry Cook
Ollie Cook
Luca Corti
Greg Cox
@ -130,8 +130,8 @@ Reuben Farrelly
Mark Favas
Duncan Ferguson
Juan Carlos Fernandez
Paulo Fessel
Paulo Afonso Graner Fessel
Paulo Fessel
James Fidell
Tobias Fiebig
Roman Fiedler
@ -154,6 +154,7 @@ Flo Gleixner
Evgeni Golov
Joseph Gooch
Aravind Gottipati
Ralph Gottschalkson
Kev Green
Steve Greenland
Roberto Greiner
@ -170,6 +171,7 @@ Jacob Hansen
Ask Bjoern Hansen
Sebastian Harl
Michael Haro
Sven Hartge
Olli Hauer
Gunnar Hellekson
Stuart Henderson
@ -204,6 +206,7 @@ Konstantin Khomoutov
Serhan Kiymaz
Alexander A. Klimov
Denis Knauf
Eric Knibbe
Harald Koch
Tilman Koschnick
John Koyle
@ -293,6 +296,7 @@ Remi Paulmier
Tom Payerle
Nick Peelman
Fabian Pehla
Alvar Penning
Chris Pepper
Matt Perry
Matthew Peters
@ -318,6 +322,7 @@ Abid Rasheed
Patrick Rauscher
Jeremy Reed
Spenser Reinhardt
Eunice Remoquillo
Marc Remy
Alessandro Ren
Joe Rhett
@ -325,6 +330,7 @@ Cliff Rice
Alain Richard
Didi Rieder
Steve Rigler
Emmanuel Riviere
Josip Rodin
Kenny Root
Wolfgang Rosenauer
@ -335,6 +341,7 @@ Sascha Runschke
Dietmar Ruzicka
Ralph Rye
Alen Salamun
Louis Sautier
Sven Schaffranneck
Christoph Schell
Thomas Schimpke

707
aclocal.m4 vendored

File diff suppressed because it is too large Load diff

348
build-aux/compile Executable file
View file

@ -0,0 +1,348 @@
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2018-03-07.03; # UTC
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl='
'
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent tools from complaining about whitespace usage.
IFS=" "" $nl"
file_conv=
# func_file_conv build_file lazy
# Convert a $build file to $host form and store it in $file
# Currently only supports Windows hosts. If the determined conversion
# type is listed in (the comma separated) LAZY, no conversion will
# take place.
func_file_conv ()
{
file=$1
case $file in
/ | /[!/]*) # absolute file, and not a UNC file
if test -z "$file_conv"; then
# lazily determine how to convert abs files
case `uname -s` in
MINGW*)
file_conv=mingw
;;
CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
file_conv=wine
;;
esac
fi
case $file_conv/,$2, in
*,$file_conv,*)
;;
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/* | msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
file=`winepath -w "$file" || echo "$file"`
;;
esac
;;
esac
}
# func_cl_dashL linkdir
# Make cl look for libraries in LINKDIR
func_cl_dashL ()
{
func_file_conv "$1"
if test -z "$lib_path"; then
lib_path=$file
else
lib_path="$lib_path;$file"
fi
linker_opts="$linker_opts -LIBPATH:$file"
}
# func_cl_dashl library
# Do a library search-path lookup for cl
func_cl_dashl ()
{
lib=$1
found=no
save_IFS=$IFS
IFS=';'
for dir in $lib_path $LIB
do
IFS=$save_IFS
if $shared && test -f "$dir/$lib.dll.lib"; then
found=yes
lib=$dir/$lib.dll.lib
break
fi
if test -f "$dir/$lib.lib"; then
found=yes
lib=$dir/$lib.lib
break
fi
if test -f "$dir/lib$lib.a"; then
found=yes
lib=$dir/lib$lib.a
break
fi
done
IFS=$save_IFS
if test "$found" != yes; then
lib=$lib.lib
fi
}
# func_cl_wrapper cl arg...
# Adjust compile command to suit cl
func_cl_wrapper ()
{
# Assume a capable shell
lib_path=
shared=:
linker_opts=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
*.o | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
;;
*)
func_file_conv "$2"
set x "$@" -Fe"$file"
shift
;;
esac
;;
-I)
eat=1
func_file_conv "$2" mingw
set x "$@" -I"$file"
shift
;;
-I*)
func_file_conv "${1#-I}" mingw
set x "$@" -I"$file"
shift
;;
-l)
eat=1
func_cl_dashl "$2"
set x "$@" "$lib"
shift
;;
-l*)
func_cl_dashl "${1#-l}"
set x "$@" "$lib"
shift
;;
-L)
eat=1
func_cl_dashL "$2"
;;
-L*)
func_cl_dashL "${1#-L}"
;;
-static)
shared=false
;;
-Wl,*)
arg=${1#-Wl,}
save_ifs="$IFS"; IFS=','
for flag in $arg; do
IFS="$save_ifs"
linker_opts="$linker_opts $flag"
done
IFS="$save_ifs"
;;
-Xlinker)
eat=1
linker_opts="$linker_opts $2"
;;
-*)
set x "$@" "$1"
shift
;;
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
func_file_conv "$1"
set x "$@" -Tp"$file"
shift
;;
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
func_file_conv "$1" mingw
set x "$@" "$file"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -n "$linker_opts"; then
linker_opts="-link$linker_opts"
fi
exec "$@" $linker_opts
exit 1
}
eat=
case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand '-c -o'.
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file 'INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
ofile=
cfile=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
# So we strip '-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no '-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# '.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC0"
# time-stamp-end: "; # UTC"
# End:

1454
build-aux/config.guess vendored

File diff suppressed because it is too large Load diff

2849
build-aux/config.sub vendored

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,7 @@
scriptversion=2018-03-07.03; # UTC
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View file

@ -3,7 +3,7 @@
scriptversion=2018-03-07.03; # UTC
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify

View file

@ -3,7 +3,7 @@
scriptversion=2018-03-07.03; # UTC
# Copyright (C) 2011-2020 Free Software Foundation, Inc.
# Copyright (C) 2011-2021 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -105,8 +105,11 @@ trap "st=130; $do_exit" 2
trap "st=141; $do_exit" 13
trap "st=143; $do_exit" 15
# Test script is run here.
"$@" >$log_file 2>&1
# Test script is run here. We create the file first, then append to it,
# to ameliorate tests themselves also writing to the log file. Our tests
# don't, but others can (automake bug#35762).
: >"$log_file"
"$@" >>"$log_file" 2>&1
estatus=$?
if test $enable_hard_errors = no && test $estatus -eq 99; then
@ -128,7 +131,7 @@ esac
# know whether the test passed or failed simply by looking at the '.log'
# file, without the need of also peaking into the corresponding '.trs'
# file (automake bug#11814).
echo "$res $test_name (exit status: $estatus)" >>$log_file
echo "$res $test_name (exit status: $estatus)" >>"$log_file"
# Report outcome to console.
echo "${col}${res}${std}: $test_name"

View file

@ -338,8 +338,7 @@
may be supplied by this distribution. */
#undef HAVE_ALLOCA
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
/* Define to 1 if <alloca.h> works. */
#undef HAVE_ALLOCA_H
/* Define to 1 if you have the <arpa/inet.h> header file. */
@ -860,9 +859,6 @@
/* Define to 1 if you have the `memmove' function. */
#undef HAVE_MEMMOVE
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <minix/config.h> header file. */
#undef HAVE_MINIX_CONFIG_H
@ -1064,6 +1060,9 @@
/* Define to 1 if you have the <stdio_ext.h> header file. */
#undef HAVE_STDIO_EXT_H
/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
@ -1076,7 +1075,7 @@
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP
/* Define to 1 if you have the `strerror_r' function. */
/* Define if you have `strerror_r'. */
#undef HAVE_STRERROR_R
/* Define to 1 if you have the <strings.h> header file. */
@ -1874,7 +1873,9 @@
/* Define if statvfs64 should be preferred over statvfs. */
#undef STAT_STATVFS64
/* Define to 1 if you have the ANSI C header files. */
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#undef STDC_HEADERS
/* Define to 1 if strerror_r returns char *. */
@ -1895,7 +1896,8 @@
/* Define to 1 if time_t is signed. */
#undef TIME_T_IS_SIGNED
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This
macro is obsolete. */
#undef TIME_WITH_SYS_TIME
/* Define to 1 if your <sys/time.h> declares `struct tm'. */

20364
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.64)
AC_INIT(monitoring-plugins,2.3.4)
AC_INIT(monitoring-plugins,2.4.0)
AC_CONFIG_SRCDIR(NPTest.pm)
AC_CONFIG_FILES([gl/Makefile])
AC_CONFIG_AUX_DIR(build-aux)
@ -1923,7 +1923,6 @@ AC_OUTPUT(
plugins-scripts/utils.sh
test.pl
pkg/solaris/pkginfo
po/Makefile.in
)

14
debian/.gitlab-ci.yml vendored Normal file
View file

@ -0,0 +1,14 @@
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
variables:
RELEASE: 'unstable'
SALSA_CI_DISABLE_APTLY: 0
SALSA_CI_DISABLE_AUTOPKGTEST: 0
SALSA_CI_DISABLE_BLHC: 1
SALSA_CI_DISABLE_LINTIAN: 0
SALSA_CI_DISABLE_PIUPARTS: 0
SALSA_CI_DISABLE_DEBREBUILD: 0
SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 0
SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 0

123
debian/NEWS vendored Normal file
View file

@ -0,0 +1,123 @@
monitoring-plugins (2.4.0-5) unstable; urgency=medium
Priority of check_curl alternative for check_http is now higher
then check_http.deprecated, which means calling check_http is now
check_curl. You can change that by: update-alternatives --config check_http
Removed also deprecated check_ntp from package.
-- Jan Wagner <waja@cyconet.org> Thu, 2 Dec 2025 12:49:36 +0100
monitoring-plugins (2.4.0-3) unstable; urgency=medium
The check_http plugin was deprecated. Please migrate the check command
definitions over to the drop-in replacement check_curl. It should be
sufficient to replace check_http with check_curl in your command definitions.
The check_curl plugin was moved to the monitoring-plugins-basic package for
a smoother migration path. For making things easy, update-alternatives can
be used to change the check_http alternative. This can be done with the
command: update-alternatives --config check_http
-- Jan Wagner <waja@cyconet.org> Mon, 21 Apr 2025 11:00:59 +0200
monitoring-plugins (2.1.2-3) unstable; urgency=medium
We switched again over to another radius library. This time radcli
to fix #822337. This makes it again necessary to migrate your radius
credentials from /etc/radiusclient/servers to /etc/radcli/servers
in case you are using check_radius.
Please install the new dependencies in this case if you don't install
Recommends by default. Those dependencies can be found in
/usr/share/doc/monitoring-plugins-standard/README.Debian.plugins.
-- Jan Wagner <waja@cyconet.org> Wed, 02 Nov 2016 23:59:10 +0100
monitoring-plugins (2.0-1) unstable; urgency=medium
This software project was renamed by upstream. For more information
see https://www.monitoring-plugins.org/news/new-project-name.html.
We renamed the package(s) also, but we kept the directories
/etc/nagios-plugins/ and /usr/lib/nagios/plugins for now, cause
many other packages rely on them. Maybe we have to change that later.
We decided to set capabilities(7) for check_icmp and check_dhcp, when
possible. This means libcap2-bin needs to be installed and the
kernel (in our case this is linux) needs to support that. This
makes it possible to avoid suid bit set for those plugins.
We even switched over to freeradius-client to fix #721621. This makes
it necessary to migrate you radius credentials from
/etc/radiusclient-ng/servers to /etc/radiusclient/servers in case you
are using check_radius.
check_snmp is now evaluating negative values properly, but it might be
returning CRITICALs where it used to return OK and was ignored, if a
negative value turns out to actually be a valid value.
If negative values are valid, this can be worked around, by adding "~:"
to the warning/critical threshold : 100 -> ~:100
-- Jan Wagner <waja@cyconet.org> Mon, 23 Jun 2014 08:34:45 +0200
nagios-plugins (1.4.15-6) unstable; urgency=low
Created a nagios-plugins-common package which ships files possibly needed
also by other plugin packages and should installed as dependency
Removed check_bgpstate and check_linux_raid, which are shiped in upstream
contrib/ and are not maintained there anymore. If you need a replacement
for check_linux_raid, have a look into check_raid from
nagios-plugins-contrib package.
-- Jan Wagner <waja@cyconet.org> Tue, 15 May 2012 13:41:33 +0200
nagios-plugins (1.4.15-4) unstable; urgency=low
Moved linked libraries against nagios-plugins-standard from Depends to
Recommends and mention them in
/usr/share/doc/nagios-plugins-standard/README.Debian.plugins.
-- Jan Wagner <waja@cyconet.org> Sun, 13 Feb 2011 22:51:54 +0100
nagios-plugins (1.4.14-2) unstable; urgency=low
Moved check_mailq to nagios-plugins-standard, because it requires the mailq
binary and it is shipped with postfix, exim, sendmail and qmail, which is
the plugin is intended to check.
-- Jan Wagner <waja@cyconet.org> Thu, 11 Mar 2010 13:24:23 +0100
nagios-plugins (1.4.14-1) unstable; urgency=low
If your are using check_linux_raid.pl or check_bgpstate (respectively the
check_snmp_bgpstate), they will be removed sometime in the future, as
upstream will remove they shortly ... so be prepared!
The qstat package is not a dependency any more but recommanded. As Recommands
installed by default these days, there shouldn't much users effected. If you
have turned off the installation of recommanded packages and you are using
check_quake, please install the qstat package again.
For all non linux archs, we depend on inetutils-ping, since now. As actually
inetutils-ping doesn't support a deadlines option (see #565137), it will be
likely, that you will get plugin timeouts from check_ping. As iputils-ping
is not an option here, due it's not available, you have to deal with that.
The suggestion would be in this case, to migrate over to check_icmp.
-- Jan Wagner <waja@cyconet.org> Sun, 20 Dec 2009 20:01:07 +0100
nagios-plugins (1.4.12-1) unstable; urgency=low
Removed default port of check_radius definition in favor of the ability to
specify it as 4th argument.
-- Jan Wagner <waja@cyconet.org> Fri, 06 Jun 2008 12:25:59 +0200
nagios-plugins (1.4.5-3) unstable; urgency=low
ifstatus.cfg has changed. Now you have to provide a community in the first
argument ($ARG1$). Description and IfIndex moved to second argument ($ARG2$).
E.g.: use "check_ifstatus!public" instead of "check_ifstatus" as
check_command!
-- Jan Wagner <waja@cyconet.org> Thu, 11 Jan 2007 14:56:47 +0100

95
debian/README.Debian vendored Normal file
View file

@ -0,0 +1,95 @@
================================================================================
monitoring-plugins for Debian
================================================================================
below is a collection of various bits of information that might be
helpful to users of monitoring-plugins in debian.
================================================================================
plugins and dependencies
================================================================================
some plugins require additional libraries and programs. to prevent you from
having to install dozens of further packages that you don't actually need,
there is no strict dependency on some of them.
see /usr/share/doc/monitoring-plugins-standard/README.Debian.plugins for details.
================================================================================
how to use plugins
================================================================================
- you can invoke the plugins with "--help" to get help how to use the plugins
- a short usage can be usually obtained by just running the check without
arguments
- if you need more information, how to use plugins, have a look at:
http://www.monitoring-plugins.org/doc/faq/index.html
================================================================================
predefined / shipped check commands
================================================================================
we are shipping predefined checks, to make users life easier. at the first look,
this seems really nice. providing checks for every special case (see check_http)
may end up in a unsupportable state of our package.
for example one check is testing a service on a special port, where we provide
a check command. after some time, this service changes its port after some time,
cause the developers of this software decided for any reason to do so. changing
the port in the existing check will break installations, which are using the
service with the old behavior. new users will getting confused of not using the
correct port for their shiny service.
cause of this conflict, we try to provide flexible checks, which may look
complicated at first, but giving the user more power.
a good example for using such a general approach is check_nt / check_nscp. some
3rd party sources (guessing they can traced back to one) are suggesting using
two args in some way like:
define command {
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
}
beside specifying not the port, we are not using "$ARG2$", cause all arguments
of "$ARG2$" can just be used in "$ARG1$" without any problem.
this gives you the possibility to use every check in your service definition,
without the problem about changes in your environment. you can easily change
your service definition as soon your environment changes without breaking the
command definition.
================================================================================
different plugin packages and how to avoid installing massive dependencies
================================================================================
if you're frustrated by all the crap being brought in by monitoring-plugins (for
example if you're installing nrpe or nsca on a remote host), try the
monitoring-plugins-basic package.
================================================================================
plugins needing root privilege or capabilities(7) set
================================================================================
the check_dhcp, check_icmp and maybe others plugins require root privileges or
capabilities(7) to run, because of the low-level packet mangling that they
perform. but, in the interest of the "safe default", these plugins will not
be installed with the suid bit set.
if setcap is able set the necessary capabilities, you are fine. if the setcap
binary is not installed or not able to set the capabilities, you need to
either set the capabilities (eg. cap_net_raw+ep) for your own or provide root
privileges. You could go the lazy way and install libcap2-bin and run the
following afterwards:
# /var/lib/dpkg/info/monitoring-plugins-basic.postinst configure
there are two recommended ways about providing root priviles to your plugins
on your system:
- set the suid bit with dpkg-statoverride:
# dpkg-statoverride --update --add root nagios 4750 $plugin
where $plugin is the specific plugin you want to grant such privileges.
- use sudo to grant the permissions and modify your plugin config
of these two, the first is recommended because it's the simplest and
has the same effect as the second.

61
debian/README.Debian.plugins.in vendored Normal file
View file

@ -0,0 +1,61 @@
monitoring-plugins on Debian
============================
Some plugins require additional libraries and programs. To prevent you from
having to install dozens of further packages that you don't actually need,
there is no strict dependency on some of them. Rather, they are listed as
recommendations and suggests.
apt-get(8) and aptitude(8) will install recommended packages automatically by
default. If you did not disable this feature you will have everything in place
to operate all plugins when installing the "monitoring-plugins-standard"
package, beside the packages listed as suggests.
Else you have to install missing dependencies manually (see the section "Plugin
dependencies" below).
Plugin dependencies:
--------------------
check_bgpstate:
* libnet-snmp-perl
* whois
check_breeze:
* snmp
check_disk_smb:
* smbclient
check_dns:
* dnsutils
check_fping:
* fping
check_game:
* qstat
check_ifoperstatus:
* libnet-snmp-perl
check_ifstatus:
* libnet-snmp-perl
check_mailq:
* sendmail binary of qmail or one of the following packages
- postfix
- sendmail-bin
- exim4-daemon-heavy
- exim4-daemon-light
* sudo
check_oracle:
* procps
check_rpc:
* rpcbind
check_wave:
* snmp
@PLUGIN_DEPS@

24
debian/README.source vendored Normal file
View file

@ -0,0 +1,24 @@
We use dpatch for patch handling inside our package(s). Please see
/usr/share/doc/dpatch/README.source.gz (if you have installed dpatch) for
documentation about dpatch.
Since Version 1.5.0 we are repackaging the upstream tarball to stop providing:
* perlmods/
Therefor you should use the script debian/bin/repack.sh:
repack.sh <upstream-tarball>
This can also be automatically done with 'uscan --force-download'
Creating a sufficiant tarball from latest git snapshot:
* Install 'autoconf automake' beside the build-depends
* Following RELEASING[1] you need
- cd /tmp/monitoringlug
- tools/setup
- ./configure
- make dist
[1] https://github.com/monitoring-plugins/monitoring-plugins/blob/master/doc/RELEASING

106
debian/bin/gen_plugin_deps.pl vendored Normal file
View file

@ -0,0 +1,106 @@
#! /usr/bin/perl
#
# collectd - gen_plugin_deps.pl
# Copyright (C) 2007 Sebastian Harl
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; only version 2 of the License is applicable.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Author:
# Sebastian Harl <sh at tokkee.org>
use strict;
use warnings;
# actual not needed
my $extra_deps = {
# sensors => [ 'lm-sensors' ],
};
my $infile = "debian/README.Debian.plugins.in";
my $outfile = "debian/README.Debian.plugins";
my ($ifile, $ofile);
if (! open($ifile, "<", $infile)) {
print STDERR "Could not open file '$infile': $!\n";
exit 1;
}
if (! open($ofile, ">", $outfile)) {
print STDERR "Could not open file '$outfile': $!\n";
exit 1;
}
while (my $line = <$ifile>) {
if ($line !~ m/^\@PLUGIN_DEPS\@\n$/) {
print $ofile $line;
}
else {
print_plugin_deps($ofile);
}
}
close($ofile);
close($ifile);
sub print_plugin_deps
{
my $fh = shift;
my $pdir = undef;
my $i = 0;
my $plugindir = "debian/monitoring-plugins-standard/usr/lib/nagios/plugins/";
if (! opendir($pdir, $plugindir)) {
print STDERR "Could not open directory '$plugindir': $!\n";
exit 1;
}
foreach my $dirent (sort readdir($pdir)) {
# if ($dirent !~ m/^(\w+).so$/) {
if ($dirent !~ m/^check_(\w+)$/) {
next;
}
my $name = $1;
my $deps = `dpkg-shlibdeps -O $plugindir/$dirent`;
chomp $deps;
$deps =~ s/^shlibs:Depends=//;
my @deps = grep !m/^libc6\b/, split m/, /, $deps;
if (scalar @deps) {
if (0 < $i) {
print $fh "\n";
}
++$i;
print $fh "check_$name:\n";
if (defined $extra_deps->{$name}) {
unshift @deps, @{$extra_deps->{$name}};
}
foreach my $dep (@deps) {
print $fh " * $dep\n";
}
}
}
}
# vim: set tw=78 sw=4 ts=4 noexpandtab :

39
debian/bin/repack.sh vendored Executable file
View file

@ -0,0 +1,39 @@
#!/bin/bash
# Borrowed from Raphael Geissert's Debian PHP repack script.
set -e
if [ ! -f "$3" ] && [ ! -f "$1" ]; then
echo "This script must be run via uscan or by manually specifying the tarball" >&2
exit 1
fi
tarball=
[ -f "$3" ] && tarball="$3"
[ -z "$tarball" -a -f "$1" ] && tarball="$1"
tarball="$(readlink -f "$tarball")"
tdir="$(mktemp -d)"
trap '[ ! -d "$tdir" ] || rm -r "$tdir"' EXIT
tar -xzf $tarball -C $tdir
cp -a "$tarball" "$tarball.orig"
distdir="$(basename $(ls -d $tdir/*))"
srcdir="$tdir/$distdir"
#echo "Adjusting $srcdir/configure"
sed -i 's/perlmods\/Makefile\ //' $srcdir/configure
sed -i '/perlmods\/Makefile/d' $srcdir/configure
#echo "Adjusting $srcdir/configure.in"
[ -f $srcdir/configure.in ] && sed -i '/perlmods\/Makefile/d' $srcdir/configure.in
#echo "Adjusting $srcdir/configure.am"
[ -f $srcdir/configure.ac ] && sed -i '/perlmods\/Makefile/d' $srcdir/configure.ac
#echo "Adjusting $srcdir/Makefile*"
sed -i 's/perlmods\ //' $srcdir/Makefile*
#echo "Removing $srcdir/perlmods/
rm -rf $srcdir/perlmods/
tar -cof "${tarball%.*}" -C $tdir/ $distdir
gzip -f9 "${tarball%.*}"

1860
debian/changelog vendored Normal file

File diff suppressed because it is too large Load diff

115
debian/control vendored Normal file
View file

@ -0,0 +1,115 @@
Source: monitoring-plugins
Section: net
Priority: optional
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
Uploaders: Jan Wagner <waja@cyconet.org>
Build-Depends: debhelper-compat (= 13),
libcurl4-openssl-dev | libcurl4-nss-dev | libcurl4-gnutls-dev,
libdbi-dev,
libradcli-dev | libfreeradius-client-dev,
libkrb5-dev,
libldap2-dev,
default-libmysqlclient-dev,
libnet-snmp-perl,
libpq-dev,
libssl-dev,
libsystemd-dev,
liburiparser-dev,
mawk | awk,
perl,
procps
Standards-Version: 4.7.2
Vcs-Browser: https://salsa.debian.org/nagios-team/monitoring-plugins
Vcs-Git: https://salsa.debian.org/nagios-team/monitoring-plugins.git
Homepage: https://www.monitoring-plugins.org
Rules-Requires-Root: binary-targets
Package: monitoring-plugins
Architecture: all
Depends: monitoring-plugins-basic, monitoring-plugins-standard, ${misc:Depends}
Suggests: icinga2, nagios-plugins-contrib
Provides: nagios-plugins
Description: Plugins for nagios compatible monitoring systems (metapackage)
Plugins for nagios compatible monitoring systems like Naemon and Icinga.
.
This metapackage will install the entire suite of plugins for nagios
compatible monitoring systems.
If you are installing monitoring plugins on a remote "satellite" server
(using nagios-nrpe-server or nsca), you may be interested in the
monitoring-plugins-basic package.
Package: monitoring-plugins-common
Architecture: any
Depends: ucf, ${misc:Depends}, ${shlibs:Depends}
Suggests: icinga2
Description: Common files for plugins for nagios compatible monitoring
Common files for plugins for nagios compatible monitoring systems like Naemon
and Icinga.
.
This package contains common files which maybe needed for plugins.
Package: monitoring-plugins-basic
Architecture: any
Depends: inetutils-ping [kfreebsd-any hurd-any],
iputils-ping [linux-any],
monitoring-plugins-common,
procps,
ucf,
${misc:Depends},
${shlibs:Depends}
Recommends: libcap2-bin [linux-any]
Suggests: icinga2
Breaks: monitoring-plugins-standard (<< 2.4.0-3~)
Replaces: monitoring-plugins-standard (<< 2.4.0-3~)
Provides: nagios-plugins-basic
Description: Plugins for nagios compatible monitoring systems (basic)
Plugins for nagios compatible monitoring systems like Naemon and Icinga. It
contains the following plugins:
.
check_apt, check_by_ssh, check_clamd, check_cluster,
check_curl, check_dhcp, check_disk, check_dummy,
check_file_age, check_ftp, check_host, check_http,
check_icmp, check_ide_smart, check_imap, check_ircd,
check_jabber, check_load, check_log, check_mrtg,
check_mrtgtraf, check_nagios, check_nntp, check_nntps,
check_nt, check_ntp, check_ntp_peer, check_ntp_time,
check_nwstat, check_overcr, check_ping, check_pop,
check_procs, check_real, check_rta_multi, check_sensors,
check_simap, check_smtp, check_spop, check_ssh,
check_ssmtp, check_swap, check_tcp, check_time, check_udp,
check_ups, check_users
.
This package provides a basic set of plugins with minimal external
dependencies. It is not likely to be useful by itself unless you are
using a remote "satellite" system (using nagios-nrpe-server, check_by_ssh or
nsca, for example).
Package: monitoring-plugins-standard
Architecture: any
Depends: monitoring-plugins-basic, ucf, ${misc:Depends}, ${shlibs:Depends}
Recommends: bind9-host | host,
dnsutils,
libnet-snmp-perl,
rpcbind,
smbclient,
snmp,
sudo,
${shlibs:Recommends}
Suggests: fping,
icinga2,
postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light,
qstat
Provides: nagios-plugins-standard
Description: Plugins for nagios compatible monitoring systems (standard)
Plugins for nagios compatible monitoring systems like Naemon and Icinga. It
contains the following plugins:
.
check_breeze, check_dbi, check_dig, check_disk_smb, check_dns,
check_flexlm, check_fping, check_game, check_hpjd, check_ifoperstatus,
check_ifstatus, check_ldap, check_ldaps, check_mailq, check_mysql,
check_mysql_query, check_oracle, check_pgsql, check_radius, check_rpc,
check_snmp, check_wave
.
This package provides the suite of plugins that are most likely to be
useful on a central monitoring host. Some scripts need more packages installed
to work, which is implemented as recommends.

287
debian/copyright vendored Normal file
View file

@ -0,0 +1,287 @@
This package was debianized by Guido Trotter <ultrotter@debian.org> on
Sun, 1 Feb 2004 10:05:51 +0100.
It was downloaded from https://www.monitoring-plugins.org/
Upstream Authors: Felipe Gustavo de Almeida
Ian Cass
Robert Dale
Karl DeBisschop
Ragnar Hojland Espinosa
Ethan Galstad
Bo Kersey
Pedro Leite
Richard Mayhew
Remi Paulmier
Didi Rieder
Tom Shields
Sean Finney
Jeremy T Bouse
Peter Bray
Gavin Carr
Matthias Eble
Subhendu Ghosh
Thomas Guyot-Sionnest
Stanley Hopcroft
Matthew Kent
Harper Mann
Benoit Mortier
Sven Nierlein
Nathan Vonnahme
Ton Voon
Holger Weiss
Michael Wirtgen
Copyright:
Copyright (C) 1985, 2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
From upstream README:
You can redistribute and/or modify this software under the terms of the GNU
General Public License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version; with the
additional exemption that compiling, linking, and/or using OpenSSL is
allowed.
This software is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
Files with different Licenses:
build-aux/config.guess
build-aux/config.sub
build-aux/ltmain.sh
plugins-scripts/check_mailq.pl
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <https://www.gnu.org/licenses/>.
gl/alloca.in.h
gl/as*
gl/base64*
gl/basename.c
gl/cloexec.c
gl/config.charset
gl/creat-safer.c
gl/c-strtod.c
gl/d*
gl/e*
gl/fcntl*
gl/fd-safer.c
gl/float.*
gl/float
gl/floorf.c
gl/fsusage*
gl/full*
gl/gai_strerror.c
gl/getaddrinfo*
gl/gethostname.c
gl/getloadavg.c
gl/getopt*
gl/gettext.h
gl/inet_ntop*
gl/intprops.h
gl/localcharset*
gl/malloc.c
gl/math.in.h
gl/mountlist*
gl/netinet_in.in.h
gl/printf-*
gl/ref-*
gl/safe-*
gl/size_max.h
gl/snprintf.c
gl/stdbool.in.h
gl/stdint.in.h
gl/stdio.in.h
gl/stdlib.in.h
gl/strerror.c
gl/string.in.h
gl/stripslash.c
gl/strndup.c
gl/strnlen.c
gl/sys_socket.in.h
gl/unistd.in.h
gl/v*
gl/wchar.in.h
gl/wctype.in.h
gl/xalloc.h
gl/xalloc-die.c
gl/xmalloc.c
gl/xsize.h
gl/xstrndup*
gl/xsize.h
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program; if not, see
<https://www.gnu.org/licenses/>.
gl/reg*
gl/mktime.c
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>.
Makefile.in
gl/Makefile.in
gl/m4/*.m4
lib/Makefile.in
lib/tests/Makefile.in
plugins/Makefile.in
plugins-root/Makefile.in
plugins-scripts/Makefile.in
tap/Makefile.in
This Makefile.in is free software; the Free Software Foundation
gives unlimited permission to copy and/or distribute it,
with or without modifications, as long as this notice is preserved.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY, to the extent permitted by law; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
aclocal.m4
This file is free software; the Free Software Foundation
gives unlimited permission to copy and/or distribute it,
with or without modifications, as long as this notice is preserved.
gl/m4/00gnulib.m4
gl/m4/a*.m4
gl/m4/b*.m4
gl/m4/c*.m4
gl/m4/d*.m4
gl/m4/e*.m4
gl/m4/f*.m4
gl/m4/getaddrinfo.m4
gl/m4/gethostname.m4
gl/m4/getloadavg.m4
gl/m4/getopt.m4
gl/m4/gettext.m4
gl/m4/glibc21.m4
gl/m4/gnulib-common.m4
gl/m4/h*.m4
gl/m4/i*.m4
gl/m4/l*.m4
gl/m4/m*.m4
gl/m4/n*.m4
gl/m4/off_t.m4
gl/m4/p*.m4
gl/m4/r*.m4
gl/m4/s*.m4
gl/m4/t*.m4
gl/m4/u*.m4
gl/m4/v*.m4
gl/m4/w*.m4
gl/m4/x*.m4
m4/np_mysqlclient.m4
This file is free software; the Free Software Foundation
gives unlimited permission to copy and/or distribute it,
with or without modifications, as long as this notice is preserved.
build-aux/install-sh
Copyright (C) 1994 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall not
be used in advertising or otherwise to promote the sale, use or other deal-
ings in this Software without prior written authorization from the X Consor-
tium.
FSF changes to this file are in the public domain.
tap/tap.*
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.

1
debian/dirs vendored Normal file
View file

@ -0,0 +1 @@
etc/nagios-plugins/config

14
debian/functions vendored Normal file
View file

@ -0,0 +1,14 @@
# functions for use by nagios plugins maintainer scripts
npconfdir=/etc/nagios-plugins/config
# we now register all n-p config files via ucf.
register_cfgs(){
# do this in a subshell so we don't screw up cwd
(
for file in ${templdir}/*cfg; do
ucf ${templdir}/$(basename $file) ${npconfdir}/$(basename $file)
done
);
}

3
debian/gbp.conf vendored Normal file
View file

@ -0,0 +1,3 @@
[buildpackage]
postbuild = lintian --info --display-info --display-experimental --pedantic --show-overrides $GBP_CHANGES_FILE
pbuilder-options = --source-only-changes

View file

@ -0,0 +1,12 @@
Name: check_http
Link: /usr/lib/nagios/plugins/check_http
Status: auto
Best: /usr/lib/nagios/plugins/check_http.deprecated
Value: /usr/lib/nagios/plugins/check_http.deprecated
Alternative: /usr/lib/nagios/plugins/check_http.deprecated
Priority: 50
Name: check_http
Link: /usr/lib/nagios/plugins/check_http
Alternative: /usr/lib/nagios/plugins/check_curl
Priority: 100

3
debian/monitoring-plugins-basic.dirs vendored Normal file
View file

@ -0,0 +1,3 @@
etc/nagios-plugins/config
usr/lib/nagios/plugins
usr/share/monitoring-plugins/templates-basic

7
debian/monitoring-plugins-basic.links vendored Normal file
View file

@ -0,0 +1,7 @@
usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins-basic/NEWS.Debian.gz
usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins-basic/NEWS.gz
usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins-basic/README
usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins-basic/README.Debian.gz
usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins-basic/REQUIREMENTS
usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins-basic/SUPPORT
usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins-basic/changelog.gz

View file

@ -0,0 +1,29 @@
#!/bin/sh
set -e
templdir=/usr/share/monitoring-plugins/templates-basic
. /usr/share/monitoring-plugins/dpkg/functions
plugindir=/usr/lib/nagios/plugins/
if [ "$1" = "configure" ]; then
register_cfgs $2
# If we have setcap is installed, try setting cap_net_raw+ep,
# which allows us to make our binaries working without the
# setuid bit
if command -v setcap > /dev/null; then
if setcap "cap_net_raw+ep" ${plugindir}/check_icmp "cap_net_bind_service=+ep cap_net_raw=+ep" ${plugindir}/check_dhcp; then
echo "Setcap for check_icmp and check_dhcp worked!"
else
echo "Setcap for check_icmp and check_dhcp failed." >&2
echo "Please refer README.Debian.gz for using plugins needing" >&2
echo "higher privileges!" >&2
fi
else
echo "Setcap is not installed, please refer README.Debian.gz for using" >&2
echo "plugins needing higher privileges!" >&2
fi
fi
#DEBHELPER#

View file

@ -0,0 +1,19 @@
#!/bin/sh
set -e
BASIC_PLUGINS="@BASIC_PLUGINS@"
if [ "$1" = "purge" ]; then
if which ucf >/dev/null 2>&1; then
have_ucf="yes"
fi
for f in $BASIC_PLUGINS; do
rm -f /etc/nagios-plugins/config/${f}.cfg
if [ "$have_ucf" = "yes" ]; then
ucf --purge /etc/nagios-plugins/config/${f}.cfg
fi
done
fi
#DEBHELPER#

1
debian/monitoring-plugins-common.dirs vendored Normal file
View file

@ -0,0 +1 @@
usr/lib/nagios/plugins

7
debian/monitoring-plugins-common.docs vendored Normal file
View file

@ -0,0 +1,7 @@
FAQ
NEWS
README
REQUIREMENTS
SUPPORT
debian/NEWS
debian/README.Debian

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,3 @@
etc/nagios-plugins/config
usr/lib/nagios/plugins
usr/share/monitoring-plugins/templates-standard

View file

@ -0,0 +1 @@
debian/README.Debian.plugins

View file

@ -0,0 +1,8 @@
usr/share/doc/monitoring-plugins-common/FAQ usr/share/doc/monitoring-plugins-standard/FAQ
usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins-standard/NEWS.Debian.gz
usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins-standard/NEWS.gz
usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins-standard/README
usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins-standard/README.Debian.gz
usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins-standard/REQUIREMENTS
usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins-standard/SUPPORT
usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins-standard/changelog.gz

View file

@ -0,0 +1,12 @@
#!/bin/sh
set -e
. /usr/share/monitoring-plugins/dpkg/functions
templdir=/usr/share/monitoring-plugins/templates-standard
if [ "$1" = "configure" ]; then
register_cfgs $2
fi
#DEBHELPER#

View file

@ -0,0 +1,19 @@
#!/bin/sh
set -e
STD_PLUGINS="@STD_PLUGINS@"
if [ "$1" = "purge" ]; then
if which ucf >/dev/null 2>&1; then
have_ucf="yes"
fi
for f in $STD_PLUGINS; do
rm -f /etc/nagios-plugins/config/${f}.cfg
if [ "$have_ucf" = "yes" ]; then
ucf --purge /etc/nagios-plugins/config/${f}.cfg
fi
done
fi
#DEBHELPER#

9
debian/monitoring-plugins.links vendored Normal file
View file

@ -0,0 +1,9 @@
usr/share/doc/monitoring-plugins-common/FAQ usr/share/doc/monitoring-plugins/FAQ
usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins/NEWS.Debian.gz
usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins/NEWS.gz
usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins/README
usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins/README.Debian.gz
usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins/REQUIREMENTS
usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins/SUPPORT
usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins/changelog.gz
usr/share/doc/monitoring-plugins-standard/README.Debian.plugins usr/share/doc/monitoring-plugins/README.Debian.plugins

30
debian/patches/02_check_icmp_links vendored Normal file
View file

@ -0,0 +1,30 @@
## 02_check_icmp_links by Jan Wagner <waja@cyconet.org>
##
## DP: Create symlinks for check_icmp to provide default values for some situations
diff -urNad nagios-plugins-1.4.14~/plugins-root/Makefile.am nagios-plugins-1.4.14/plugins-root/Makefile.am
--- nagios-plugins-1.4.14~/plugins-root/Makefile.am 2008-11-30 22:23:18.000000000 +0100
+++ nagios-plugins-1.4.14/plugins-root/Makefile.am 2010-01-10 20:39:03.000000000 +0100
@@ -71,7 +71,8 @@
else \
echo "WARNING: insufficient access; not installing setuid plugins"; \
echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
- fi
+ fi ; \
+ if [ -x $(DESTDIR)$(libexecdir)/check_icmp ] ; then rm -f $(DESTDIR)$(libexecdir)/check_host $(DESTDIR)$(libexecdir)/check_rta_multi ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_host ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_rta_multi ; fi
# /* Author Coreutils team sub-citation */
diff -urNad nagios-plugins-1.4.14~/plugins-root/Makefile.in nagios-plugins-1.4.14/plugins-root/Makefile.in
--- nagios-plugins-1.4.14~/plugins-root/Makefile.in 2009-09-16 10:37:59.000000000 +0200
+++ nagios-plugins-1.4.14/plugins-root/Makefile.in 2010-01-10 20:39:13.000000000 +0100
@@ -1162,7 +1162,8 @@
else \
echo "WARNING: insufficient access; not installing setuid plugins"; \
echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
- fi
+ fi ; \
+ if [ -x $(DESTDIR)$(libexecdir)/check_icmp ] ; then rm -f $(DESTDIR)$(libexecdir)/check_host $(DESTDIR)$(libexecdir)/check_rta_multi ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_host ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_rta_multi ; fi
clean-local:
rm -f NP-VERSION-FILE

8
debian/patches/03_epn vendored Normal file
View file

@ -0,0 +1,8 @@
--- a/plugins-scripts/check_disk_smb.pl
+++ b/plugins-scripts/check_disk_smb.pl
@@ -1,4 +1,5 @@
#!@PERL@ -w
+# nagios: -epn
#
#
# check_disk.pl <host> <share> <user> <pass> [warn] [critical] [port]

11
debian/patches/04_lmstat_path vendored Normal file
View file

@ -0,0 +1,11 @@
--- a/plugins-scripts/utils.pm.in
+++ b/plugins-scripts/utils.pm.in
@@ -19,7 +19,7 @@
## updated by autoconf
$PATH_TO_SUDO = "@PATH_TO_SUDO@";
$PATH_TO_RPCINFO = "@PATH_TO_RPCINFO@" ;
-$PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ;
+$PATH_TO_LMSTAT = "/usr/local/bin/lmstat" ;
$PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ;
$PATH_TO_MAILQ = "@PATH_TO_MAILQ@";
$PATH_TO_QMAIL_QSTAT = "@PATH_TO_QMAIL_QSTAT@";

View file

@ -0,0 +1,164 @@
From 17549189ae6864203a48a2b2488db35a9e020e0e Mon Sep 17 00:00:00 2001
From: Sven Nierlein <sven@consol.de>
Date: Mon, 29 Jul 2024 20:53:32 +0200
Subject: [PATCH] check_curl: fix relative redirects on non-standard port
Having a webserver respond with a relative redirect as for ex. in `Location: /path/to.html`
check_curl would use the wrong standard http/https port instead
of crafting the absolute url using the given scheme/hostname and port.
Adding a new test case for this for check_http and check_curl. check_http did
it correct already, so no fix necessary there.
before:
%>./check_curl -H 127.0.0.1 -p 50493 -f follow -u /redirect_rel -s redirected -vvv
**** HEADER ****
HTTP/1.1 302 Found
...
Location: /redirect2
...
* Seen redirect location /redirect2
** scheme: (null)
** host: (null)
** port: (null)
** path: /redirect2
Redirection to http://127.0.0.1:80/redirect2
fixed:
%>./check_curl -H 127.0.0.1 -p 50493 -f follow -u /redirect_rel -s redirected -vvv
**** HEADER ****
HTTP/1.1 302 Found
...
Location: /redirect2
...
* Seen redirect location /redirect2
** scheme: (null)
** host: (null)
** port: (null)
** path: /redirect2
Redirection to http://127.0.0.1:50493/redirect2
Signed-off-by: Sven Nierlein <sven@nierlein.de>
---
plugins/check_curl.c | 15 ++++++++++-----
plugins/tests/check_curl.t | 14 +++++++++++---
plugins/tests/check_http.t | 12 +++++++++++-
3 files changed, 32 insertions(+), 9 deletions(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index c54be5e4f..01e2770e3 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1285,10 +1285,12 @@ redir (curlhelp_write_curlbuf* header_buf)
}
}
- if (!uri_strcmp (uri.scheme, "https"))
- use_ssl = true;
- else
- use_ssl = false;
+ if (uri.scheme.first) {
+ if (!uri_strcmp (uri.scheme, "https"))
+ use_ssl = true;
+ else
+ use_ssl = false;
+ }
/* we do a sloppy test here only, because uriparser would have failed
* above, if the port would be invalid, we just check for MAX_PORT
@@ -1306,10 +1308,13 @@ redir (curlhelp_write_curlbuf* header_buf)
MAX_PORT, location, display_html ? "</A>" : "");
/* by RFC 7231 relative URLs in Location should be taken relative to
- * the original URL, so wy try to form a new absolute URL here
+ * the original URL, so we try to form a new absolute URL here
*/
if (!uri.scheme.first && !uri.hostText.first) {
new_host = strdup (host_name ? host_name : server_address);
+ new_port = server_port;
+ if(use_ssl)
+ uri_string (uri.scheme, "https", DEFAULT_BUFFER_SIZE);
} else {
new_host = strdup (uri_string (uri.hostText, buf, DEFAULT_BUFFER_SIZE));
}
diff --git a/plugins/tests/check_curl.t b/plugins/tests/check_curl.t
index 3c9148308..eaa9f5183 100755
--- a/plugins/tests/check_curl.t
+++ b/plugins/tests/check_curl.t
@@ -21,7 +21,7 @@ use FindBin qw($Bin);
$ENV{'LC_TIME'} = "C";
-my $common_tests = 73;
+my $common_tests = 75;
my $ssl_only_tests = 8;
# Check that all dependent modules are available
eval "use HTTP::Daemon 6.01;";
@@ -178,6 +178,11 @@ sub run_server {
$c->send_basic_header;
$c->send_crlf;
$c->send_response(HTTP::Response->new( 200, 'OK', undef, 'redirected' ));
+ } elsif ($r->url->path eq "/redirect_rel") {
+ $c->send_basic_header(302);
+ $c->send_header("Location", "/redirect2" );
+ $c->send_crlf;
+ $c->send_response('moved to /redirect2');
} elsif ($r->url->path eq "/redir_timeout") {
$c->send_redirect( "/timeout" );
} elsif ($r->url->path eq "/timeout") {
@@ -471,9 +476,12 @@ sub run_common_tests {
is( $result->return_code, 0, $cmd);
like( $result->output, '/^HTTP OK: HTTP/1.1 200 OK - \d+ bytes in [\d\.]+ second/', "Output correct: ".$result->output );
- # These tests may block
- print "ALRM\n";
+ $cmd = "$command -f follow -u /redirect_rel -s redirected";
+ $result = NPTest->testCmd( $cmd );
+ is( $result->return_code, 0, $cmd);
+ like( $result->output, '/^HTTP OK: HTTP/1.1 200 OK - \d+ bytes in [\d\.]+ second/', "Output correct: ".$result->output );
+ # These tests may block
# stickyport - on full urlS port is set back to 80 otherwise
$cmd = "$command -f stickyport -u /redir_external -t 5 -s redirected";
eval {
diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t
index 6078b2745..6eaf85b29 100755
--- a/plugins/tests/check_http.t
+++ b/plugins/tests/check_http.t
@@ -13,7 +13,7 @@ use IO::Socket::INET;
$ENV{'LC_TIME'} = "C";
-my $common_tests = 71;
+my $common_tests = 73;
my $virtual_port_tests = 8;
my $ssl_only_tests = 12;
my $chunked_encoding_special_tests = 1;
@@ -199,6 +199,11 @@ sub run_server {
$c->send_basic_header;
$c->send_crlf;
$c->send_response(HTTP::Response->new( 200, 'OK', undef, 'redirected' ));
+ } elsif ($r->url->path eq "/redirect_rel") {
+ $c->send_basic_header(302);
+ $c->send_header("Location", "/redirect2" );
+ $c->send_crlf;
+ $c->send_response('moved to /redirect2');
} elsif ($r->url->path eq "/redir_timeout") {
$c->send_redirect( "/timeout" );
} elsif ($r->url->path eq "/timeout") {
@@ -515,6 +520,11 @@ sub run_common_tests {
is( $result->return_code, 0, $cmd);
like( $result->output, '/^HTTP OK: HTTP/1.1 200 OK - \d+ bytes in [\d\.]+ second/', "Output correct: ".$result->output );
+ $cmd = "$command -f follow -u /redirect_rel -s redirected";
+ $result = NPTest->testCmd( $cmd );
+ is( $result->return_code, 0, $cmd);
+ like( $result->output, '/^HTTP OK: HTTP/1.1 200 OK - \d+ bytes in [\d\.]+ second/', "Output correct: ".$result->output );
+
# These tests may block
print "ALRM\n";

View file

@ -0,0 +1,87 @@
From ca40cf81fb94cf57a82df938ed2aa2843691be3a Mon Sep 17 00:00:00 2001
From: Yannick Martin <yannick.martin@ovhcloud.com>
Date: Fri, 9 Aug 2024 12:14:28 +0200
Subject: [PATCH] check_curl: raise SSL issue when --continue-after-certificate
is used
This change aims to raise the worst status between the SSL check and the HTTP check.
before:
check_curl -H www.google.fr -S --continue-after-certificate --certificate 4000,4000 ; echo $?
CRITICAL - Certificate '*.google.fr' expires in 74 day(s) (Tue 22 Oct 2024 12:53:52 PM GMT +0000).
HTTP OK: HTTP/2 200 - 22807 bytes in 0.076 second response time |time=0.075516s;;;0.000000;10.000000 size=22807B;;;0;
0
after:
/usr/lib/nagios/ovh/check_curl -H www.google.fr -S --continue-after-certificate --certificate 4000,4000 ; echo $?
CRITICAL - Certificate '*.google.fr' expires in 74 day(s) (Tue 22 Oct 2024 12:53:52 PM GMT +0000).
HTTP OK: HTTP/2 200 - 22840 bytes in 0.090 second response time |time=0.090463s;;;0.000000;10.000000 size=22840B;;;0;
2
---
plugins/check_curl.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 01e2770e3..4522e6c9f 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -468,6 +468,7 @@ int
check_http (void)
{
int result = STATE_OK;
+ int result_ssl = STATE_OK;
int page_len = 0;
int i;
char *force_host_header = NULL;
@@ -852,9 +853,9 @@ check_http (void)
/* check certificate with OpenSSL functions, curl has been built against OpenSSL
* and we actually have OpenSSL in the monitoring tools
*/
- result = np_net_ssl_check_certificate(cert, days_till_exp_warn, days_till_exp_crit);
+ result_ssl = np_net_ssl_check_certificate(cert, days_till_exp_warn, days_till_exp_crit);
if (!continue_after_check_cert) {
- return result;
+ return result_ssl;
}
#else /* USE_OPENSSL */
die (STATE_CRITICAL, "HTTP CRITICAL - Cannot retrieve certificates - OpenSSL callback used and not linked against OpenSSL\n");
@@ -898,17 +899,17 @@ check_http (void)
die (STATE_CRITICAL, "HTTP CRITICAL - %s\n", msg);
}
BIO_free (cert_BIO);
- result = np_net_ssl_check_certificate(cert, days_till_exp_warn, days_till_exp_crit);
+ result_ssl = np_net_ssl_check_certificate(cert, days_till_exp_warn, days_till_exp_crit);
if (!continue_after_check_cert) {
- return result;
+ return result_ssl;
}
#else /* USE_OPENSSL */
/* We assume we don't have OpenSSL and np_net_ssl_check_certificate at our disposal,
* so we use the libcurl CURLINFO data
*/
- result = net_noopenssl_check_certificate(&cert_ptr, days_till_exp_warn, days_till_exp_crit);
+ result_ssl = net_noopenssl_check_certificate(&cert_ptr, days_till_exp_warn, days_till_exp_crit);
if (!continue_after_check_cert) {
- return result;
+ return result_ssl;
}
#endif /* USE_OPENSSL */
} else {
@@ -1176,7 +1177,7 @@ check_http (void)
}
/* TODO: separate _() msg and status code: die (result, "HTTP %s: %s\n", state_text(result), msg); */
- die (result, "HTTP %s: %s %d %s%s%s - %d bytes in %.3f second response time %s|%s\n%s%s",
+ die (max_state_alt(result, result_ssl), "HTTP %s: %s %d %s%s%s - %d bytes in %.3f second response time %s|%s\n%s%s",
state_text(result), string_statuscode (status_line.http_major, status_line.http_minor),
status_line.http_code, status_line.msg,
strlen(msg) > 0 ? " - " : "",
@@ -1186,7 +1187,7 @@ check_http (void)
(show_body ? body_buf.buf : ""),
(show_body ? "\n" : "") );
- return result;
+ return max_state_alt(result, result_ssl);
}
int

42
debian/patches/12_check_curl_add_docu vendored Normal file
View file

@ -0,0 +1,42 @@
From 9cdf2aec7fa3277237c078fc9da32f40d0292299 Mon Sep 17 00:00:00 2001
From: Alvar Penning <alvar.penning@icinga.com>
Date: Fri, 16 Aug 2024 10:38:02 +0200
Subject: [PATCH] check_curl: Documentation for --certificate, --cookie-jar
From the mere help output for -C / --certificate, I was confused about
what its two integer parameters do. Unfortunately, I also missed out on
the explaining examples later. Since I like to have basic documentation
for each flag, I tried to make the arguments as short as possible.
The other fix was one hyphen too many for the --cookie-jar option.
---
plugins/check_curl.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 4522e6c9f..e9c15e648 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -2008,8 +2008,11 @@ print_help (void)
printf (" %s\n", _("Note: SNI is not supported in libcurl before 7.18.1"));
#endif
printf (" %s\n", "-C, --certificate=INTEGER[,INTEGER]");
- printf (" %s\n", _("Minimum number of days a certificate has to be valid. Port defaults to 443"));
- printf (" %s\n", _("(when this option is used the URL is not checked by default. You can use"));
+ printf (" %s\n", _("Minimum number of days a certificate has to be valid. Port defaults to 443."));
+ printf (" %s\n", _("A STATE_WARNING is returned if the certificate has a validity less than the"));
+ printf (" %s\n", _("first agument's value. If there is a second argument and the certificate's"));
+ printf (" %s\n", _("validity is less than its value, a STATE_CRITICAL is returned."));
+ printf (" %s\n", _("(When this option is used the URL is not checked by default. You can use"));
printf (" %s\n", _(" --continue-after-certificate to override this behavior)"));
printf (" %s\n", "--continue-after-certificate");
printf (" %s\n", _("Allows the HTTP check to continue after performing the certificate check."));
@@ -2092,7 +2095,7 @@ print_help (void)
printf (" %s\n", _("Enable automatic decompression of body (CURLOPT_ACCEPT_ENCODING)."));
printf(" %s\n", "--haproxy-protocol");
printf(" %s\n", _("Send HAProxy proxy protocol v1 header (CURLOPT_HAPROXYPROTOCOL)."));
- printf (" %s\n", "---cookie-jar=FILE");
+ printf (" %s\n", "--cookie-jar=FILE");
printf (" %s\n", _("Store cookies in the cookie jar and send them out when requested."));
printf ("\n");

View file

@ -0,0 +1,28 @@
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 6a7daf11a..15ec04c04 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -59,8 +59,8 @@ bool ssl = false;
char *opt_file = NULL;
char *opt_group = NULL;
unsigned int db_port = MYSQL_PORT;
-int check_slave = 0, warn_sec = 0, crit_sec = 0;
-int ignore_auth = 0;
+bool check_slave = false;
+bool ignore_auth = false;
int verbose = 0;
static double warning_time = 0;
@@ -456,10 +456,10 @@ process_arguments (int argc, char **argv)
db_port = atoi (optarg);
break;
case 'S':
- check_slave = 1; /* check-slave */
+ check_slave = true; /* check-slave */
break;
case 'n':
- ignore_auth = 1; /* ignore-auth */
+ ignore_auth = true; /* ignore-auth */
break;
case 'w':
warning = optarg;

View file

@ -0,0 +1,13 @@
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index e9c15e648..e25d7a79a 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -2190,8 +2190,6 @@ print_usage (void)
printf ("%s\n", _("In the first form, make an HTTP request."));
printf ("%s\n\n", _("In the second form, connect to the server and check the TLS certificate."));
#endif
- printf ("%s\n", _("WARNING: check_curl is experimental. Please use"));
- printf ("%s\n\n", _("check_http if you need a stable version."));
}
void

82
debian/patches/15_check_curl_fix_regex vendored Normal file
View file

@ -0,0 +1,82 @@
From 46efe803cf8e7b769ca112afc158b76510b01e46 Mon Sep 17 00:00:00 2001
From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com>
Date: Mon, 19 Aug 2024 15:23:41 +0200
Subject: [PATCH 1/3] check_curl: Fix help for state regex option
The help output of `check-curl` contained a typo,
the real option is `state-regex` and not `regex-state` as
the help suggests.
Also added the two possible options to avoid confusion.
---
plugins/check_curl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index e9c15e648..bf46b2261 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -2061,8 +2061,8 @@ print_help (void)
printf (" %s\n", "--invert-regex");
printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)"));
printf (" %s\n", _("can be changed with --state--regex)"));
- printf (" %s\n", "--regex-state=STATE");
- printf (" %s\n", _("Return STATE if regex is found, OK if not\n"));
+ printf (" %s\n", "--state-regex=STATE");
+ printf (" %s\n", _("Return STATE if regex is found, OK if not\nSTATE can be one of \"critical\",\"warning\""));
printf (" %s\n", "-a, --authorization=AUTH_PAIR");
printf (" %s\n", _("Username:password on sites with basic authentication"));
printf (" %s\n", "-b, --proxy-authorization=AUTH_PAIR");
From b6c72064a53da8b173b7406a0a535922dc0cc1b3 Mon Sep 17 00:00:00 2001
From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com>
Date: Mon, 19 Aug 2024 15:26:52 +0200
Subject: [PATCH 2/3] check_curl: Parse state-regex option ignoring case
Previously the --state-regex option accepted only "critical" and
"warning" as values.
This commit changes the strcmp there to strcasecmp to be more tolerant
regarding the input.
---
plugins/check_curl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index bf46b2261..38c971093 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1775,9 +1775,9 @@ process_arguments (int argc, char **argv)
invert_regex = true;
break;
case STATE_REGEX:
- if (!strcmp (optarg, "critical"))
+ if (!strcasecmp (optarg, "critical"))
state_regex = STATE_CRITICAL;
- else if (!strcmp (optarg, "warning"))
+ else if (!strcasecmp (optarg, "warning"))
state_regex = STATE_WARNING;
else usage2 (_("Invalid state-regex option"), optarg);
break;
From af097aa3642174a2111f0bbcbc8236fff0901e17 Mon Sep 17 00:00:00 2001
From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com>
Date: Mon, 19 Aug 2024 15:33:17 +0200
Subject: [PATCH 3/3] check_curl: change help for --state-regex again to fix
formatting
---
plugins/check_curl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 38c971093..214ba74f9 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -2062,7 +2062,7 @@ print_help (void)
printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)"));
printf (" %s\n", _("can be changed with --state--regex)"));
printf (" %s\n", "--state-regex=STATE");
- printf (" %s\n", _("Return STATE if regex is found, OK if not\nSTATE can be one of \"critical\",\"warning\""));
+ printf (" %s\n", _("Return STATE if regex is found, OK if not. STATE can be one of \"critical\",\"warning\""));
printf (" %s\n", "-a, --authorization=AUTH_PAIR");
printf (" %s\n", _("Username:password on sites with basic authentication"));
printf (" %s\n", "-b, --proxy-authorization=AUTH_PAIR");

View file

@ -0,0 +1,115 @@
From 528e92c180148703ee2cb90d7291f4edbfc270d4 Mon Sep 17 00:00:00 2001
From: Sven Nierlein <sven@consol.de>
Date: Wed, 9 Oct 2024 09:50:39 +0200
Subject: [PATCH] fix check_curl: OpenSSL SSL_read: error:0A000126:SSL
routines::unexpected eof while reading, errno 0
using check_curl on a probably embedded device responding as 'Server: GoAhead-Webs'
%> check_curl -H ... -S -vvv
> GET / HTTP/1.1
Host: ...
User-Agent: check_curl/v2.4.0 (monitoring-plugins 2.4.0, libcurl/7.76.1 OpenSSL/3.0.7 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh/0.10.4/openssl/zlib nghttp2/1.43.0)
Accept: */*
Connection: close
* Mark bundle as not supporting multiuse
* HTTP 1.0, assume close after body
< HTTP/1.0 302 Redirect
< Server: GoAhead-Webs
< Date: Tue Mar 26 17:57:16 2019
< Cache-Control: no-cache, no-store, must-revalidate,private
< Pragma: no-cache
< Expires: 0
< Content-Type: text/html
< X-Frame-Options: sameorigin
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Location: https://...
<
* OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
* Closing connection 0
reading the discussion on https://github.com/openssl/openssl/discussions/22690 suggest to set the option SSL_OP_IGNORE_UNEXPECTED_EOF
which makes check_curl behave like check_http at this point.
Since this is a rather new flag, fencing it in ifdefs.
And since there can only be one ssl ctx function, we need to move both tasks into one function.
---
plugins/check_curl.c | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 7f45b5a79..d3bddacd2 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -214,6 +214,7 @@ char *client_privkey = NULL;
char *ca_cert = NULL;
bool verify_peer_and_host = false;
bool is_openssl_callback = false;
+bool add_sslctx_verify_fun = false;
#if defined(HAVE_SSL) && defined(USE_OPENSSL)
X509 *cert = NULL;
#endif /* defined(HAVE_SSL) && defined(USE_OPENSSL) */
@@ -299,7 +300,7 @@ main (int argc, char **argv)
int verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx)
{
- (void) preverify_ok;
+ (void) preverify_ok;
/* TODO: we get all certificates of the chain, so which ones
* should we test?
* TODO: is the last certificate always the server certificate?
@@ -324,9 +325,18 @@ int verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx)
CURLcode sslctxfun(CURL *curl, SSL_CTX *sslctx, void *parm)
{
- (void) curl; // ignore unused parameter
- (void) parm; // ignore unused parameter
- SSL_CTX_set_verify(sslctx, SSL_VERIFY_PEER, verify_callback);
+ (void) curl; // ignore unused parameter
+ (void) parm; // ignore unused parameter
+ if(add_sslctx_verify_fun) {
+ SSL_CTX_set_verify(sslctx, SSL_VERIFY_PEER, verify_callback);
+ }
+
+ // workaround for issue:
+ // OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
+ // see discussion https://github.com/openssl/openssl/discussions/22690
+#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF
+ SSL_CTX_set_options(sslctx, SSL_OP_IGNORE_UNEXPECTED_EOF);
+#endif
return CURLE_OK;
}
@@ -678,9 +688,8 @@ check_http (void)
* OpenSSL-style libraries only!) */
#ifdef USE_OPENSSL
/* libcurl and monitoring plugins built with OpenSSL, good */
- handle_curl_option_return_code (curl_easy_setopt(curl, CURLOPT_SSL_CTX_FUNCTION, sslctxfun), "CURLOPT_SSL_CTX_FUNCTION");
+ add_sslctx_verify_fun = true;
is_openssl_callback = true;
-#else /* USE_OPENSSL */
#endif /* USE_OPENSSL */
/* libcurl is built with OpenSSL, monitoring plugins, so falling
* back to manually extracting certificate information */
@@ -713,12 +722,18 @@ check_http (void)
#else /* LIBCURL_VERSION_NUM >= MAKE_LIBCURL_VERSION(7, 19, 1) */
/* old libcurl, our only hope is OpenSSL, otherwise we are out of luck */
if (ssl_library == CURLHELP_SSL_LIBRARY_OPENSSL || ssl_library == CURLHELP_SSL_LIBRARY_LIBRESSL)
- handle_curl_option_return_code (curl_easy_setopt(curl, CURLOPT_SSL_CTX_FUNCTION, sslctxfun), "CURLOPT_SSL_CTX_FUNCTION");
+ add_sslctx_verify_fun = true;
else
die (STATE_CRITICAL, "HTTP CRITICAL - Cannot retrieve certificates (no CURLOPT_SSL_CTX_FUNCTION, no OpenSSL library or libcurl too old and has no CURLOPT_CERTINFO)\n");
#endif /* LIBCURL_VERSION_NUM >= MAKE_LIBCURL_VERSION(7, 19, 1) */
}
+#if LIBCURL_VERSION_NUM >= MAKE_LIBCURL_VERSION(7, 10, 6) /* required for CURLOPT_SSL_CTX_FUNCTION */
+ // ssl ctx function is not available with all ssl backends
+ if (curl_easy_setopt(curl, CURLOPT_SSL_CTX_FUNCTION, NULL) != CURLE_UNKNOWN_OPTION)
+ handle_curl_option_return_code (curl_easy_setopt(curl, CURLOPT_SSL_CTX_FUNCTION, sslctxfun), "CURLOPT_SSL_CTX_FUNCTION");
+#endif
+
#endif /* LIBCURL_FEATURE_SSL */
/* set default or user-given user agent identification */

View file

@ -0,0 +1,83 @@
From 88d991773b6d8ac416ad2931ea8debc949555c7a Mon Sep 17 00:00:00 2001
From: William <william@blackhats.net.au>
Date: Wed, 6 Nov 2024 14:00:23 +1000
Subject: [PATCH] Add dontfrag/random for fping
Support the dont fragment and randomise packet data options for check_fping
---
plugins/check_fping.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
--- a/plugins/check_fping.c
+++ b/plugins/check_fping.c
@@ -7,7 +7,7 @@
*
* Description:
*
-* This file contains the check_disk plugin
+* This file contains the check_fping plugin
*
* This plugin will use the fping command to ping the specified host for a
* fast check
@@ -60,6 +60,8 @@
int target_timeout = 0;
int packet_interval = 0;
bool verbose = false;
+bool dontfrag = false;
+bool randomize_packet_data = false;
int cpl;
int wpl;
double crta;
@@ -105,6 +107,10 @@
xasprintf(&option_string, "%s-S %s ", option_string, sourceip);
if (sourceif)
xasprintf(&option_string, "%s-I %s ", option_string, sourceif);
+ if (dontfrag)
+ xasprintf(&option_string, "%s-M ", option_string);
+ if (randomize_packet_data)
+ xasprintf(&option_string, "%s-R ", option_string);
#ifdef PATH_TO_FPING6
if (address_family != AF_INET && is_inet6_addr(server))
@@ -303,6 +309,8 @@
{"help", no_argument, 0, 'h'},
{"use-ipv4", no_argument, 0, '4'},
{"use-ipv6", no_argument, 0, '6'},
+ {"dontfrag", no_argument, 0, 'M'},
+ {"random", no_argument, 0, 'R'},
{0, 0, 0, 0}
};
@@ -320,7 +328,7 @@
}
while (1) {
- c = getopt_long (argc, argv, "+hVvaH:S:c:w:b:n:T:i:I:46", longopts, &option);
+ c = getopt_long (argc, argv, "+hVvaH:S:c:w:b:n:T:i:I:M:R:46", longopts, &option);
if (c == -1 || c == EOF || c == 1)
break;
@@ -415,6 +423,12 @@
else
usage (_("Interval must be a positive integer"));
break;
+ case 'R':
+ randomize_packet_data = true;
+ break;
+ case 'M':
+ dontfrag = true;
+ break;
}
}
@@ -506,6 +520,10 @@
printf (" %s\n", _("name or IP Address of sourceip"));
printf (" %s\n", "-I, --sourceif=IF");
printf (" %s\n", _("source interface name"));
+ printf(" %s\n", "-M, --dontfrag");
+ printf(" %s\n", _("set the Don't Fragment flag"));
+ printf(" %s\n", "-R, --random");
+ printf(" %s\n", _("random packet data (to foil link data compression)"));
printf (UT_VERBOSE);
printf ("\n");
printf (" %s\n", _("THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time (ms)"));

View file

@ -0,0 +1,21 @@
From 8de299308c52d083b893a87e6924405b652f1f7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?=
<12514511+RincewindsHat@users.noreply.github.com>
Date: Wed, 27 Nov 2024 14:22:02 +0100
Subject: [PATCH] check_curl: update TLS notification notes
---
plugins/check_curl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -2013,7 +2013,7 @@
printf (" %s\n", _("Connect via SSL. Port defaults to 443. VERSION is optional, and prevents"));
printf (" %s\n", _("auto-negotiation (2 = SSLv2, 3 = SSLv3, 1 = TLSv1, 1.1 = TLSv1.1,"));
printf (" %s\n", _("1.2 = TLSv1.2, 1.3 = TLSv1.3). With a '+' suffix, newer versions are also accepted."));
- printf (" %s\n", _("Note: SSLv2 and SSLv3 are deprecated and are usually disabled in libcurl"));
+ printf (" %s\n", _("Note: SSLv2, SSLv3, TLSv1.0 and TLSv1.1 are deprecated and are usually disabled in libcurl"));
printf (" %s\n", "--sni");
printf (" %s\n", _("Enable SSL/TLS hostname extension support (SNI)"));
#if LIBCURL_VERSION_NUM >= 0x071801

View file

@ -0,0 +1,46 @@
From 191d15354ba32a483fd4f8017595c7eb82ee5650 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andre=20Kl=C3=A4rner?= <kandre@ak-online.be>
Date: Fri, 29 Nov 2024 10:34:16 +0100
Subject: [PATCH] check_curl: enable internal cookie handling
This enables us to enable curl cookie engine by specifying an empty
filename as the cookie jar file.
This works, since curl's CURLOPT_COOKIEFILE option allows passing an
empty string as filename, which it interprets as a request to enable the
cookie processing. But since CURLOPT_COOKIEJAR would now attempt to
write to a file named by an empty filename, it would break again (or at
least produce a warning in verbose output).
Overall this is allows to handle checking URLs with cookie based
sessions without persisting the cookies to disk, by using the
curl-internal redirect following.
---
plugins/check_curl.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -831,8 +831,11 @@
/* cookie handling */
if (cookie_jar_file != NULL) {
- handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_COOKIEJAR, cookie_jar_file), "CURLOPT_COOKIEJAR");
+ /* enable reading cookies from a file, and if the filename is an empty string, only enable the curl cookie engine */
handle_curl_option_return_code (curl_easy_setopt (curl, CURLOPT_COOKIEFILE, cookie_jar_file), "CURLOPT_COOKIEFILE");
+ /* now enable saving cookies to a file, but only if the filename is not an empty string, since writing it would fail */
+ if (*cookie_jar_file)
+ handle_curl_option_return_code(curl_easy_setopt(curl, CURLOPT_COOKIEJAR, cookie_jar_file), "CURLOPT_COOKIEJAR");
}
/* do the request */
@@ -2111,6 +2114,9 @@
printf(" %s\n", "--haproxy-protocol");
printf(" %s\n", _("Send HAProxy proxy protocol v1 header (CURLOPT_HAPROXYPROTOCOL)."));
printf (" %s\n", "--cookie-jar=FILE");
+ printf (" %s\n", _("Specify an empty string as FILE to enable curl's cookie engine without saving"));
+ printf (" %s\n", _("the cookies to disk. Only enabling the engine without saving to disk requires"));
+ printf (" %s\n", _("handling multiple requests internally to curl, so use it with --onredirect=curl"));
printf (" %s\n", _("Store cookies in the cookie jar and send them out when requested."));
printf ("\n");

29
debian/patches/20_check_icmp_fix_rtmin vendored Normal file
View file

@ -0,0 +1,29 @@
From e5f35d40556468fcdebccae847cfc19380952ca0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?=
<12514511+RincewindsHat@users.noreply.github.com>
Date: Wed, 27 Nov 2024 15:29:19 +0100
Subject: [PATCH] check_icmp: set rtmin initially
---
plugins-root/check_icmp.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -64,6 +64,7 @@
#include <netinet/ip_icmp.h>
#include <netinet/icmp6.h>
#include <arpa/inet.h>
+#include <math.h>
/** sometimes undefined system macros (quite a few, actually) **/
@@ -1051,7 +1052,7 @@
icmp_recv++;
if (tdiff > (unsigned int)host->rtmax)
host->rtmax = tdiff;
- if (tdiff < (unsigned int)host->rtmin)
+ if ((host->rtmin == INFINITY) || (tdiff < (unsigned int)host->rtmin))
host->rtmin = tdiff;
if(debug) {

View file

@ -0,0 +1,22 @@
From e445a386f8ad1166b05fcdfdb5b9cde4622a8632 Mon Sep 17 00:00:00 2001
From: Andreas Baumann <mail@andreasbaumann.cc>
Date: Fri, 27 Dec 2024 15:32:24 +0100
Subject: [PATCH] check_http: fix documentation for --state-regex
---
plugins/check_http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 97c0e39ad..baff682a7 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1805,7 +1805,7 @@ print_help (void)
printf (" %s\n", "--invert-regex");
printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)"));
printf (" %s\n", _("can be changed with --state--regex)"));
- printf (" %s\n", "--regex-state=STATE");
+ printf (" %s\n", "--state-regex=STATE");
printf (" %s\n", _("Return STATE if regex is found, OK if not\n"));
printf (" %s\n", "-a, --authorization=AUTH_PAIR");

View file

@ -0,0 +1,20 @@
From 02adcbfa896eb726c59ca647eb4cf6909c690f37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?=
<12514511+RincewindsHat@users.noreply.github.com>
Date: Mon, 24 Feb 2025 20:32:19 +0100
Subject: [PATCH] check_by_ssh: Remove warning/critical from help
---
plugins/check_by_ssh.c | 1 -
1 file changed, 1 deletion(-)
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -454,7 +454,6 @@
printf (" %s\n", _("Tell ssh to use this configfile [optional]"));
printf (" %s\n","-q, --quiet");
printf (" %s\n", _("Tell ssh to suppress warning and diagnostic messages [optional]"));
- printf (UT_WARN_CRIT);
printf (UT_CONN_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf (" %s\n","-U, --unknown-timeout");
printf (" %s\n", _("Make connection problems return UNKNOWN instead of CRITICAL"));

View file

@ -0,0 +1,23 @@
From ef3045b97eea23a4dec3197277e5ff4e5afc5c71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andre=20Kl=C3=A4rner?= <kandre@ak-online.be>
Date: Mon, 17 Mar 2025 16:13:46 +0100
Subject: [PATCH] change error message for missing certificate
The old error message is quite similar to the openssl `failed to retrieve issuer certificate` and can mislead users to troubleshooting certificate stores.
The new message should be distinct enough to make it clear to users that this is not a problem raised by the underlying SSL implementation, but a problem inside monitoring-plugins.
---
plugins/sslutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/plugins/sslutils.c
+++ b/plugins/sslutils.c
@@ -208,7 +208,7 @@
time_t tm_t;
if (!certificate) {
- printf("%s\n",_("CRITICAL - Cannot retrieve server certificate."));
+ printf("%s\n",_("CRITICAL - No server certificate present to inspect."));
return STATE_CRITICAL;
}

View file

@ -0,0 +1,30 @@
From 14169fe5a11b94a9f9ab44336fdb5170ee98be66 Mon Sep 17 00:00:00 2001
From: Jan Wagner <waja@cyconet.org>
Date: Sat, 19 Apr 2025 14:37:46 +0200
Subject: [PATCH] check_http: Adding deprecation text
---
plugins/check_http.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/plugins/check_http.c b/plugins/check_http.c
index baff682a7..8e0c15ec9 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1724,6 +1724,16 @@ print_help (void)
printf ("%s\n", _("strings and regular expressions, check connection times, and report on"));
printf ("%s\n", _("certificate expiration times."));
+ printf ("\n");
+ printf ("%s\n", _("ATTENTION!"));
+ printf ("\n");
+ printf ("%s\n", _("THIS PLUGIN IS DEPRECATED. The functionality was reimplemented by the"));
+ printf ("%s\n", _("check_curl plugin, which can be used as a drop-in replacement. You should"));
+ printf ("%s\n", _("migrate your checks over to check_curl, because check_http is going to be"));
+ printf ("%s\n", _("removed sooner than later. Just replace check_http with check_curl in your"));
+ printf ("%s\n", _("check command definitions."));
+ printf ("%s\n", _("Report issues to: https://github.com/monitoring-plugins/monitoring-plugins/issues"));
+
printf ("\n\n");
print_usage ();

View file

@ -0,0 +1,28 @@
From fb39f96ac6f72bb56d17f3e8694134dfea9186e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?=
<12514511+RincewindsHat@users.noreply.github.com>
Date: Mon, 11 Aug 2025 21:49:20 +0200
Subject: [PATCH] check_users: Use sd_get_uids instead of sd_get_session
Previously check_users in combination with systemd used
sd_get_sessions (3) to aquire the number of users, probably
with the idea that every users opens a session.
Turns out, that a user can have multiple sessions and we only really
want to know how many users there are.
This commit changes to sd_get_uids (3) to achieve that target.
---
plugins/check_users.d/users.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
@@ -92,7 +92,7 @@
#ifdef HAVE_LIBSYSTEMD
if (sd_booted () > 0)
- users = sd_get_sessions (NULL);
+ users = sd_get_uids(NULL);
else {
#endif
#if HAVE_WTSAPI32_H

188
debian/patches/26_check_mysql_replica vendored Normal file
View file

@ -0,0 +1,188 @@
From 4886fa3debf79aa2faac9d0180e8ddb4bb1d4aaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?=
<12514511+RincewindsHat@users.noreply.github.com>
Date: Mon, 24 Feb 2025 19:52:08 +0100
Subject: [PATCH 1/2] Add MySQL server version dectection and adaptive replica
query
---
Taken from https://github.com/monitoring-plugins/monitoring-plugins/compare/master...maintenance-2.4.0-check_mysql.patch
---
plugins/check_mysql.c | 51 +++++++++++++++++++++++++++++++++++++++++--
1 file changed, 49 insertions(+), 2 deletions(-)
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 6a7daf11a..1b7403f7b 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -211,8 +211,55 @@ main (int argc, char **argv)
}
if(check_slave) {
- /* check the slave status */
- if (mysql_query (&mysql, "show slave status") != 0) {
+ // Detect which version we are, on older version
+ // "show slave status" should work, on newer ones
+ // "show replica status"
+ // But first we have to find out whether this is
+ // MySQL or MariaDB since the version numbering scheme
+ // is different
+ bool use_deprecated_slave_status = false;
+ const char *server_version = mysql_get_server_info(&mysql);
+ unsigned long server_verion_int = mysql_get_server_version(&mysql);
+ unsigned long major_version = server_verion_int / 10000;
+ unsigned long minor_version = (server_verion_int % 10000) / 100;
+ unsigned long patch_version = (server_verion_int % 100);
+ if (verbose) {
+ printf("Found MariaDB: %s, main version: %lu, minor version: %lu, patch version: %lu\n", server_version, major_version,
+ minor_version, patch_version);
+ }
+
+ if (strstr(server_version, "MariaDB") != NULL) {
+ // Looks like MariaDB, new commands should be available after 10.5.1
+ if (major_version < 10) {
+ use_deprecated_slave_status = true;
+ } else if (major_version == 10) {
+ if (minor_version < 5) {
+ use_deprecated_slave_status = true;
+ } else if (minor_version == 5 && patch_version < 1) {
+ use_deprecated_slave_status = true;
+ }
+ }
+ } else if (strstr(server_version, "MySQL") != NULL) {
+ // Looks like MySQL
+ if (major_version < 8) {
+ use_deprecated_slave_status = true;
+ } else if (major_version == 10 && minor_version < 4) {
+ use_deprecated_slave_status = true;
+ }
+ } else {
+ printf("Not a known sever implementation: %s\n", server_version);
+ exit(STATE_UNKNOWN);
+ }
+
+ char *replica_query = NULL;
+ if (use_deprecated_slave_status) {
+ replica_query = "show slave status";
+ } else {
+ replica_query = "show replica status";
+ }
+
+ /* check the replica status */
+ if (mysql_query(&mysql, replica_query) != 0) {
error = strdup(mysql_error(&mysql));
mysql_close (&mysql);
die (STATE_CRITICAL, _("slave query error: %s\n"), error);
From 291a704bcf738f6ceb7a1f46c69b8332b33dbd70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?=
<12514511+RincewindsHat@users.noreply.github.com>
Date: Fri, 26 Sep 2025 08:57:19 +0200
Subject: [PATCH 2/2] check_mysql: Assume MySQL server by default (in replica
check)
In the Debian Bug tracker (and then Github) a person pointed out,
that a MySQL server does not respond with a hint that is indeed the
MySQL software, but only with the version string.
Which makes sense if one assumes to be the only implementation.
This commit changes the behaviour of the Replica check to assume
that the counterpart is a MySQL server if there are not hints that
it is a MariaDB server.
---
plugins/check_mysql.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 1b7403f7b..951a96f93 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -239,16 +239,13 @@ main (int argc, char **argv)
use_deprecated_slave_status = true;
}
}
- } else if (strstr(server_version, "MySQL") != NULL) {
- // Looks like MySQL
+ } else {
+ // Looks like MySQL (or at least not like MariaDB)
if (major_version < 8) {
use_deprecated_slave_status = true;
} else if (major_version == 10 && minor_version < 4) {
use_deprecated_slave_status = true;
}
- } else {
- printf("Not a known sever implementation: %s\n", server_version);
- exit(STATE_UNKNOWN);
}
char *replica_query = NULL;
From 392c945966d96d1dba9c68ac7a73450c2ad72d85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= <lorenz.kaestle@netways.de>
Date: Tue, 30 Sep 2025 14:51:39 +0200
Subject: [PATCH] More renaming due to MySQL name chances
Due to MySQL changing several term in Version 8.0.22 the way to
determine the status of replicas has changed.
To adapt to these changes in a517dc614e44650a7e9204c4202feec7a40fd37f
check_mysql was modified to adapt to different versions.
Some parts were missed though which results in failures to detect
the replica status properly.
This parts should be contained in this commit.
---
Taken from https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2163.patch
---
plugins/check_mysql.c | 37 ++++++++++++++++++++++++++-----------
1 file changed, 26 insertions(+), 11 deletions(-)
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -300,17 +300,32 @@
num_fields = mysql_num_fields(res);
fields = mysql_fetch_fields(res);
for(i = 0; i < num_fields; i++) {
- if (strcmp(fields[i].name, "Slave_IO_Running") == 0) {
- slave_io_field = i;
- continue;
- }
- if (strcmp(fields[i].name, "Slave_SQL_Running") == 0) {
- slave_sql_field = i;
- continue;
- }
- if (strcmp(fields[i].name, "Seconds_Behind_Master") == 0) {
- seconds_behind_field = i;
- continue;
+ if (use_deprecated_slave_status) {
+ if (strcmp(fields[i].name, "Slave_IO_Running") == 0) {
+ slave_io_field = i;
+ continue;
+ }
+ if (strcmp(fields[i].name, "Slave_SQL_Running") == 0) {
+ slave_sql_field = i;
+ continue;
+ }
+ if (strcmp(fields[i].name, "Seconds_Behind_Master") == 0) {
+ seconds_behind_field = i;
+ continue;
+ }
+ } else {
+ if (strcmp(fields[i].name, "Replica_IO_Running") == 0) {
+ slave_io_field = i;
+ continue;
+ }
+ if (strcmp(fields[i].name, "Replica_SQL_Running") == 0) {
+ slave_sql_field = i;
+ continue;
+ }
+ if (strcmp(fields[i].name, "Seconds_Behind_Source") == 0) {
+ seconds_behind_field = i;
+ continue;
+ }
}
}

View file

@ -0,0 +1,51 @@
Backport of https://patch-diff.githubusercontent.com/raw/monitoring-plugins/monitoring-plugins/pull/2184.patch
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -300,32 +300,20 @@
num_fields = mysql_num_fields(res);
fields = mysql_fetch_fields(res);
for(i = 0; i < num_fields; i++) {
- if (use_deprecated_slave_status) {
- if (strcmp(fields[i].name, "Slave_IO_Running") == 0) {
- slave_io_field = i;
- continue;
- }
- if (strcmp(fields[i].name, "Slave_SQL_Running") == 0) {
- slave_sql_field = i;
- continue;
- }
- if (strcmp(fields[i].name, "Seconds_Behind_Master") == 0) {
- seconds_behind_field = i;
- continue;
- }
- } else {
- if (strcmp(fields[i].name, "Replica_IO_Running") == 0) {
- slave_io_field = i;
- continue;
- }
- if (strcmp(fields[i].name, "Replica_SQL_Running") == 0) {
- slave_sql_field = i;
- continue;
- }
- if (strcmp(fields[i].name, "Seconds_Behind_Source") == 0) {
- seconds_behind_field = i;
- continue;
- }
+ if ((strcmp(fields[i].name, "Slave_IO_Running") == 0) ||
+ (strcmp(fields[i].name, "Replica_IO_Running") == 0)) {
+ slave_io_field = i;
+ continue;
+ }
+ if ((strcmp(fields[i].name, "Slave_SQL_Running") == 0) ||
+ (strcmp(fields[i].name, "Replica_SQL_Running") == 0)) {
+ slave_sql_field = i;
+ continue;
+ }
+ if ((strcmp(fields[i].name, "Seconds_Behind_Master") == 0) ||
+ (strcmp(fields[i].name, "Seconds_Behind_Source") == 0)) {
+ seconds_behind_field = i;
+ continue;
}
}

23
debian/patches/series vendored Normal file
View file

@ -0,0 +1,23 @@
02_check_icmp_links
03_epn
04_lmstat_path
# commited upstream
10_check_curl_fix_redirects
11_check_curl_raise_ssl_issue
12_check_curl_add_docu
13_check_mysql_fix_variables
14_check_curl_remove_experimental_state
15_check_curl_fix_regex
16_check_curl_openssl_error
17_check_fping_dontfrag_random
18_check_curl_fix_TLS_notes
19_check_curl_cookie_handling
20_check_icmp_fix_rtmin
21_check_http_state_regex
22_check_by_ssh_missing_options
23_sslutils_fix_error_message
24_check_http_deprecation
25_check_users_sd_get_uids
26_check_mysql_replica
# feature patches
27_check_mysql_fix_replica

12
debian/pluginconfig/apt.cfg vendored Normal file
View file

@ -0,0 +1,12 @@
# 'check_apt' command definition
define command{
command_name check_apt
command_line /usr/lib/nagios/plugins/check_apt
}
# 'check_apt_distupgrade' command definition
define command{
command_name check_apt_distupgrade
command_line /usr/lib/nagios/plugins/check_apt -d
}

5
debian/pluginconfig/breeze.cfg vendored Normal file
View file

@ -0,0 +1,5 @@
# 'check_breeze' command definition
define command {
command_name check_breeze
command_line /usr/lib/nagios/plugins/check_breeze -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
}

111
debian/pluginconfig/curl-http.cfg vendored Normal file
View file

@ -0,0 +1,111 @@
# 'check_curl_http' command definition
define command{
command_name check_curl_http
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
}
# 'check_curl_httpname' command definition
define command{
command_name check_curl_httpname
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
}
# 'check_curl_http2' command definition
define command{
command_name check_curl_http2
command_line /usr/lib/nagios/plugins/check_curl -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' '$ARG4$'
}
# 'check_curl_squid' command definition
define command{
command_name check_curl_squid
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$'
}
# 'check_curl_https' command definition
define command{
command_name check_curl_https
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
}
# 'check_curl_https_httpname' command definition
define command{
command_name check_curl_https_hostname
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
}
# 'check_curl_https_auth' command definition
define command{
command_name check_curl_https_auth
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
}
# 'check_curl_https_auth_hostname' command definition
define command{
command_name check_curl_https_auth_hostname
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
}
# 'check_curl_cups' command definition
define command{
command_name check_curl_cups
command_line /usr/lib/nagios/plugins/check_curl -I '$HOSTADDRESS$' -p 631 '$ARG1$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_curl_http_4' command definition
define command{
command_name check_curl_http_4
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_curl_httpname_4' command definition
define command{
command_name check_curl_httpname_4
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_curl_http2_4' command definition
define command{
command_name check_curl_http2_4
command_line /usr/lib/nagios/plugins/check_curl -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4 '$ARG4$'
}
# 'check_curl_squid_4' command definition
define command{
command_name check_curl_squid_4
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -4
}
# 'check_curl_https_4' command definition
define command{
command_name check_curl_https_4
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_curls_https_hostname_4' command definition
define command{
command_name check_curl_https_hostname_4
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_curl_https_auth_4' command definition
define command{
command_name check_curl_https_auth_4
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
}
# 'check_curl_https_auth_hostname_4' command definition
define command{
command_name check_curl_https_auth_hostname_4
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
}
# 'check_curl_cups_4' command definition
define command{
command_name check_curl_cups_4
command_line /usr/lib/nagios/plugins/check_curl -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$'
}

15
debian/pluginconfig/dhcp.cfg vendored Normal file
View file

@ -0,0 +1,15 @@
# note: these plugins require root privilege. see README.Debian for
# more information on how it is recommended that you do this.
# 'check_dhcp' command definition
define command{
command_name check_dhcp
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' '$ARG1$'
}
# 'check_dhcp_interface' command definition
define command{
command_name check_dhcp_interface
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' -i '$ARG1$' '$ARG2$'
}

54
debian/pluginconfig/disk-smb.cfg vendored Normal file
View file

@ -0,0 +1,54 @@
# 'check_disk_smb' command definition
define command{
command_name check_disk_smb
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$'
}
# 'check_disk_smb_workgroup' command definition
define command{
command_name check_disk_smb_workgroup
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$'
}
# 'check_disk_smb_host' command definition
define command{
command_name check_disk_smb_host
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$'
}
# 'check_disk_smb_workgroup_host' command definition
define command{
command_name check_disk_smb_workgroup_host
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$'
}
# 'check_disk_smb_user' command definition
define command{
command_name check_disk_smb_user
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$' -w '$ARG5$' -c '$ARG6$'
}
# 'check_disk_smb_workgroup_user' command definition
define command{
command_name check_disk_smb_workgroup_user
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$'
}
# 'check_disk_smb_host_user' command definition
define command{
command_name check_disk_smb_host_user
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$'
}
# 'check_disk_smb_workgroup_host_user' command definition
define command{
command_name check_disk_smb_workgroup_host_user
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$'
}

27
debian/pluginconfig/disk.cfg vendored Normal file
View file

@ -0,0 +1,27 @@
# 'check_disk' command definition
define command{
command_name check_disk
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'
}
# 'check_all_disks' command definition
define command{
command_name check_all_disks
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e
}
# 'ssh_disk' command definition
define command{
command_name ssh_disk
command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C "/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'"
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'ssh_disk_4' command definition
define command{
command_name ssh_disk_4
command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C "/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'" -4
}

11
debian/pluginconfig/dns.cfg vendored Normal file
View file

@ -0,0 +1,11 @@
# 'check_dns' command definition
define command{
command_name check_dns
command_line /usr/lib/nagios/plugins/check_dns -H www.google.com -s '$HOSTADDRESS$' '$ARG1$'
}
# 'check_dig' command definition
define command{
command_name check_dig
command_line /usr/lib/nagios/plugins/check_dig -H '$HOSTADDRESS$' -l '$ARG1$' '$ARG2$'
}

29
debian/pluginconfig/dummy.cfg vendored Normal file
View file

@ -0,0 +1,29 @@
# return-ok definition
define command {
command_name return-ok
command_line /usr/lib/nagios/plugins/check_dummy 0
}
# return-warning definition
define command {
command_name return-warning
command_line /usr/lib/nagios/plugins/check_dummy 1
}
# return-critical definition
define command {
command_name return-critical
command_line /usr/lib/nagios/plugins/check_dummy 2
}
# return-unknown definition
define command {
command_name return-unknown
command_line /usr/lib/nagios/plugins/check_dummy 3
}
# return-numeric definition
define command {
command_name return-numeric
command_line /usr/lib/nagios/plugins/check_dummy '$ARG1$'
}

6
debian/pluginconfig/flexlm.cfg vendored Normal file
View file

@ -0,0 +1,6 @@
# 'check_flexlm' command definition
define command{
command_name check_flexlm
command_line /usr/lib/nagios/plugins/check_flexlm -F '$ARG1$'
}

5
debian/pluginconfig/fping.cfg vendored Normal file
View file

@ -0,0 +1,5 @@
# 'check-fast-alive' command definition
define command{
command_name check-fast-alive
command_line /usr/lib/nagios/plugins/check_fping -H '$HOSTADDRESS$'
}

15
debian/pluginconfig/ftp.cfg vendored Normal file
View file

@ -0,0 +1,15 @@
# 'check_ftp' command definition
define command{
command_name check_ftp
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' '$ARG1$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_ftp_4' command definition
define command{
command_name check_ftp_4
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' -4 '$ARG1$'
}

14
debian/pluginconfig/games.cfg vendored Normal file
View file

@ -0,0 +1,14 @@
# 'check_quake' command definition
define command{
command_name check_quake
command_line /usr/lib/nagios/plugins/check_game qs '$HOSTADDRESS$'
}
# 'check_unreal' command definition
define command{
command_name check_unreal
command_line /usr/lib/nagios/plugins/check_game uns '$HOSTADDRESS$' -P '$ARG1$' -p 8
}

6
debian/pluginconfig/hppjd.cfg vendored Normal file
View file

@ -0,0 +1,6 @@
# 'check_hpjd' command definition
define command{
command_name check_hpjd
command_line /usr/lib/nagios/plugins/check_hpjd -H '$HOSTADDRESS$' -C public
}

111
debian/pluginconfig/http.cfg vendored Normal file
View file

@ -0,0 +1,111 @@
# 'check_http' command definition
define command{
command_name check_http
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
}
# 'check_http_hostname' command definition
define command{
command_name check_http_hostname
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
}
# 'check_http2' command definition
define command{
command_name check_http2
command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' '$ARG4$'
}
# 'check_squid' command definition
define command{
command_name check_squid
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$'
}
# 'check_https' command definition
define command{
command_name check_https
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
}
# 'check_https_hostname' command definition
define command{
command_name check_https_hostname
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
}
# 'check_https_auth' command definition
define command{
command_name check_https_auth
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
}
# 'check_https_auth_hostname' command definition
define command{
command_name check_https_auth_hostname
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
}
# 'check_cups' command definition
define command{
command_name check_cups
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 '$ARG1$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_http_4' command definition
define command{
command_name check_http_4
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_http_hostname_4' command definition
define command{
command_name check_http_hostname_4
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_http2_4' command definition
define command{
command_name check_http2_4
command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4 '$ARG4$'
}
# 'check_squid_4' command definition
define command{
command_name check_squid_4
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -4
}
# 'check_https_4' command definition
define command{
command_name check_https_4
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_https_hostname_4' command definition
define command{
command_name check_https_hostname_4
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_https_auth_4' command definition
define command{
command_name check_https_auth_4
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
}
# 'check_https_auth_hostname_4' command definition
define command{
command_name check_https_auth_hostname_4
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
}
# 'check_cups_4' command definition
define command{
command_name check_cups_4
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$'
}

23
debian/pluginconfig/ifstatus.cfg vendored Normal file
View file

@ -0,0 +1,23 @@
# 'check_ifstatus' command definition
define command{
command_name check_ifstatus
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$'
}
# 'check_ifstatus_exclude' command definition
define command{
command_name check_ifstatus_exclude
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' -x '$ARG2$'
}
# 'check_ifoperstatus_ifindex' command definition
define command{
command_name check_ifoperstatus_ifindex
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -k '$ARG2$'
}
# 'check_ifoperstatus_ifdescr' command definition
define command{
command_name check_ifoperstatus_ifdescr
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -d '$ARG2$'
}

12
debian/pluginconfig/jabber.cfg vendored Normal file
View file

@ -0,0 +1,12 @@
# 'check_jabber_4' command definition
define command{
command_name check_jabber_4
command_line /usr/lib/nagios/plugins/check_jabber -4 -H $HOSTADDRESS$ '$ARG1$'
}
# 'check_jabber' command definition
define command{
command_name check_jabber
command_line /usr/lib/nagios/plugins/check_jabber -H $HOSTADDRESS$ '$ARG1$'
}

31
debian/pluginconfig/ldap.cfg vendored Normal file
View file

@ -0,0 +1,31 @@
# 'check_ldap' command definition
define command{
command_name check_ldap
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$'
}
# 'check_ldaps' command definition
# This was using 'check_ldaps' in the past which used port 389 and starttls
# mechanism on default, keeped for backward compatibility
define command{
command_name check_ldaps
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_ldap_4' command definition
define command{
command_name check_ldap_4
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' -4
}
# 'check_ldaps_4' command definition
# This was using 'check_ldaps' in the past which used port 389 and starttls
# mechanism on default, keeped for backward compatibility
define command{
command_name check_ldaps_4
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$' -4
}

6
debian/pluginconfig/load.cfg vendored Normal file
View file

@ -0,0 +1,6 @@
# 'check_load' command definition
define command{
command_name check_load
command_line /usr/lib/nagios/plugins/check_load --warning='$ARG1$,$ARG2$,$ARG3$' --critical='$ARG4$,$ARG5$,$ARG6$'
}

77
debian/pluginconfig/mail.cfg vendored Normal file
View file

@ -0,0 +1,77 @@
# 'check_pop' command definition
define command {
command_name check_pop
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' '$ARG1$'
}
# 'check_smtp' command definition
define command {
command_name check_smtp
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' '$ARG1$'
}
# 'check_ssmtp' command definition
define command {
command_name check_ssmtp
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' '$ARG1$'
}
# 'check_imap' command definition
define command {
command_name check_imap
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' '$ARG1$'
}
# 'check_spop' command definition
define command {
command_name check_spop
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S '$ARG1$'
}
# 'check_simap' command definition
define command {
command_name check_simap
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S '$ARG1$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_pop_4' command definition
define command {
command_name check_pop_4
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_smtp_4' command definition
define command {
command_name check_smtp_4
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_ssmtp_4' command definition
define command {
command_name check_ssmtp_4
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_imap_4' command definition
define command {
command_name check_imap_4
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' -4 '$ARG1$'
}
# 'check_spop_4' command definition
define command {
command_name check_spop_4
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S -4 '$ARG1$'
}
# 'check_simap_4' command definition
define command {
command_name check_simap_4
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S -4 '$ARG1$'
}

24
debian/pluginconfig/mailq.cfg vendored Normal file
View file

@ -0,0 +1,24 @@
# 'check-mailq' for sendmail
define command {
command_name check_mailq_sendmail
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M sendmail
}
# 'check-mailq' for postfix
define command {
command_name check_mailq_postfix
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M postfix
}
# 'check-mailq' for exim
define command {
command_name check_mailq_exim
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M exim
}
# 'check-mailq' for qmail
define command {
command_name check_mailq_qmail
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M qmail
}

14
debian/pluginconfig/mrtg.cfg vendored Normal file
View file

@ -0,0 +1,14 @@
# 'check_mrtg' command definition
define command{
command_name check_mrtg
command_line /usr/lib/nagios/plugins/check_mrtg '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' '$ARG6$'
}
# 'traffic_average' command definition
define command{
command_name traffic_average
command_line /usr/lib/nagios/plugins/check_mrtgtraf '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$'
}

24
debian/pluginconfig/mysql.cfg vendored Normal file
View file

@ -0,0 +1,24 @@
# 'check_mysql' command definition
define command{
command_name check_mysql
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' '$ARG1$'
}
# 'check_mysql_cmdlinecred' command definition
define command{
command_name check_mysql_cmdlinecred
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' '$ARG3$'
}
# 'check_mysql_database' command definition
define command{
command_name check_mysql_database
command_line /usr/lib/nagios/plugins/check_mysql -d '$ARG3$' -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' '$ARG3$'
}
# 'check_mysql_slave' command definition
define command{
command_name check_mysql_slave
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' -S '$ARG3$'
}

84
debian/pluginconfig/netware.cfg vendored Normal file
View file

@ -0,0 +1,84 @@
# 'check_netware_logins' command definition
define command{
command_name check_netware_logins
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOGINS" -w '$ARG1$' -c '$ARG2$'
}
# 'check_nwstat_conns' command definition
define command{
command_name check_nwstat_conns
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CONNS -w '$ARG1$' -c '$ARG2$'
}
# 'check_netware_1load' command definition
define command{
command_name check_netware_1load
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD1" -w 70 -c 90
}
# 'check_netware_5load' command definition
define command{
command_name check_netware_5load
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD5" -w 70 -c 90
}
# 'check_netware_15load' command definition
define command{
command_name check_netware_15load
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD15" -w 70 -c 90
}
# 'check_nwstat_vol_p' command definition
define command{
command_name check_nwstat_vol_p
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VPF'$ARG1$' -w '$ARG2$' -c '$ARG3$'
}
# 'check_nwstat_vol_k' command definition
define command{
command_name check_nwstat_vol_k
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VKF'$ARG1$' -w '$ARG2$' -c '$ARG3$'
}
# 'check_nwstat_ltch' command definition
define command{
command_name check_nwstat_ltch
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v LTCH -w '$ARG1$' -c '$ARG2$'
}
# 'check_nwstat_puprb' command definition
define command{
command_name check_nwstat_puprb
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v PUPRB -w '$ARG1$' -c '$ARG2$'
}
# 'check_nwstat_dsdb' command definition
define command{
command_name check_nwstat_dsdb
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v DSDB
}
# 'check_netware_abend' command definition
define command{
command_name check_netware_abend
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "ABENDS" -w 10 -c 30
}
# 'check_nwstat_csprocs' command definition
define command{
command_name check_nwstat_csprocs
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CSPROCS -w '$ARG1$' -c '$ARG2$'
}

15
debian/pluginconfig/news.cfg vendored Normal file
View file

@ -0,0 +1,15 @@
# 'check_nntp' command definition
define command{
command_name check_nntp
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' '$ARG1$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_nntp_4' command definition
define command{
command_name check_nntp_4
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' -4 '$ARG1$'
}

15
debian/pluginconfig/nt.cfg vendored Normal file
View file

@ -0,0 +1,15 @@
# If you are confused about this command definition, cause you was
# reading other suggestions, please have a look into
# /usr/share/doc/monitoring-plugins/README.Debian
# 'check_nt' command definition
define command {
command_name check_nt
command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$'
}
# 'check_nscp' command definition
define command {
command_name check_nscp
command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$'
}

17
debian/pluginconfig/ntp.cfg vendored Normal file
View file

@ -0,0 +1,17 @@
# 'check_ntp' command definition
define command{
command_name check_ntp
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' '$ARG1$'
}
# 'check_ntp_ntpq' command definition
define command{
command_name check_ntp_ntpq
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' -j 10 -k 15 '$ARG1$'
}
# 'check_time' command definition
define command{
command_name check_time
command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$' '$ARG1$'
}

15
debian/pluginconfig/pgsql.cfg vendored Normal file
View file

@ -0,0 +1,15 @@
# 'check_pgsql' command definition
define command{
command_name check_pgsql
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' '$ARG1$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_pgsql_4' command definition
define command{
command_name check_pgsql_4
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' -4 '$ARG1$'
}

72
debian/pluginconfig/ping.cfg vendored Normal file
View file

@ -0,0 +1,72 @@
# 'check_ping' command definition
define command{
command_name check_ping
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
}
# 'check-host-alive' command definition
define command{
command_name check-host-alive
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
}
# 'check-printer-alive' command definition
define command{
command_name check-printer-alive
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
}
# 'check-switch-alive' command definition
define command{
command_name check-switch-alive
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
}
# 'check-router-alive' command definition
define command{
command_name check-router-alive
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_ping_4' command definition
define command{
command_name check_ping_4
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' -4
}
# 'check-host-alive_4' command definition
define command{
command_name check-host-alive_4
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
}
# 'check-printer-alive_4' command definition
define command{
command_name check-printer-alive_4
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
}
# 'check-switch-alive_4' command definition
define command{
command_name check-switch-alive_4
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
}
# 'check-router-alive_4' command definition
define command{
command_name check-router-alive_4
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
}

20
debian/pluginconfig/procs.cfg vendored Normal file
View file

@ -0,0 +1,20 @@
# 'check_procs' command definition
define command{
command_name check_procs
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$'
}
# 'check_procs_zombie' command definition
define command{
command_name check_procs_zombie
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' -s Z
}
# 'check_procs_httpd' command definition
define command{
command_name check_procs_httpd
command_line /usr/lib/nagios/plugins/check_procs -w 5:'$ARG1$' -c 1:'$ARG2$' -C httpd
}

6
debian/pluginconfig/radius.cfg vendored Normal file
View file

@ -0,0 +1,6 @@
# 'check_radius' command definition
define command{
command_name check_radius
command_line /usr/lib/nagios/plugins/check_radius -F /etc/radcli/radiusclient.conf -H '$HOSTADDRESS$' -P '$ARG4$' -t '$ARG3$' -u '$ARG1$' -p '$ARG2$'
}

13
debian/pluginconfig/real.cfg vendored Normal file
View file

@ -0,0 +1,13 @@
# 'check_real_url' command definition
define command{
command_name check_real_url
command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5 -u '$ARG4$'
}
# 'check_real' command definition
define command{
command_name check_real
command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5
}

14
debian/pluginconfig/rpc-nfs.cfg vendored Normal file
View file

@ -0,0 +1,14 @@
# 'check-rpc' command definition
define command{
command_name check-rpc
command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C '$ARG1$'
}
# 'check-nfs' command definition
define command{
command_name check-nfs
command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C nfs -c2,3
}

132
debian/pluginconfig/snmp.cfg vendored Normal file
View file

@ -0,0 +1,132 @@
# 'snmp_load' command definition
define command{
command_name snmp_load
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.10.1.5.3 -w :'$ARG2$',:'$ARG3$',:'$ARG4$' -c :'$ARG5$',:'$ARG6$',:'$ARG7$' -l load
}
# 'snmp_cpustats' command definition
define command{
command_name snmp_cpustats
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0 -l 'CPU usage (user system idle)' -u '%'
}
# 'snmp_procname' command definition
define command{
command_name snmp_procname
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.2.1.5.'$ARG2$' -w '$ARG3$':'$ARG4$' -c '$ARG5$':'$ARG6$'
}
# 'snmp_disk' command definition
define command{
command_name snmp_disk
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.9.1.7.'$ARG2$',.1.3.6.1.4.1.2021.9.1.9.'$ARG2$' -w '$ARG3$':,:'$ARG4$' -c '$ARG5$':,:'$ARG6$' -u 'kB free (','% used)' -l 'disk space'
}
# 'snmp_mem' command definition
define command{
command_name snmp_mem
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.6.0,.1.3.6.1.4.1.2021.4.5.0 -w '$ARG2$': -c '$ARG3$':
}
# 'snmp_swap' command definition
define command{
command_name snmp_swap
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w '$ARG2$': -c '$ARG3$':
}
# 'snmp_procs' command definition
define command{
command_name snmp_procs
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemProcesses -w :'$ARG2$' -c :'$ARG3$' -l processes
}
# 'snmp_users' command definition
define command{
command_name snmp_users
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemNumUsers.0 -w :'$ARG2$' -c :'$ARG3$' -l users
}
# 'snmp_mem2' command definition
define command{
command_name snmp_mem2
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
}
# 'snmp_swap2' command definition
define command{
command_name snmp_swap2
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
}
# 'snmp_mem3' command definition
define command{
command_name snmp_mem3
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
}
# 'snmp_swap3' command definition
define command{
command_name snmp_swap3
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
}
# 'snmp_disk2' command definition
define command{
command_name snmp_disk2
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
}
# 'snmp_tcpopen' command definition
define command{
command_name snmp_tcpopen
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpCurrEstab.0 -w '$ARG2$' -c '$ARG3$'
}
# 'snmp_tcpstats' command definition
define command{
command_name snmp_tcpstats
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpActiveOpens.0,tcp.tcpPassiveOpens.0,tcp.tcpInSegs.0,tcp.tcpOutSegs.0,tcp.tcpRetransSegs.0 -l 'TCP stats'
}
# 'check_netapp_uptime' command definition
define command{
command_name check_netapp_uptime
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is"
}
# 'check_netapp_cpuload' command definition
define command{
command_name check_netapp_cpuload
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD "
}
# 'check_netapp_numdisks' command definition
define command{
command_name check_netapp_numdisks
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1.6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks','Active','Spare','Failed' -l ""
}
# 'check_compaq_thermalCondition' command definition
define command{
command_name check_compaq_thermalCondition
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.232.6.2.1.0,.1.3.6.1.4.1.232.6.2.2.0,.1.3.6.1.4.1.232.6.2.3.0,.1.3.6.1.4.1.232.6.2.4.0 -u 'ThermalCondition','ThermalTemp','ThermalSystem','ThermalCPUFan' -w 2:2,2:2,2:2,2:2 -c 1:2,1:2,1:2,1:2 -l "Thermal status "
}

27
debian/pluginconfig/ssh.cfg vendored Normal file
View file

@ -0,0 +1,27 @@
# 'check_ssh' command definition
define command{
command_name check_ssh
command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$'
}
# 'check_ssh_port' command definition
define command{
command_name check_ssh_port
command_line /usr/lib/nagios/plugins/check_ssh -p '$ARG1$' '$HOSTADDRESS$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_ssh_4' command definition
define command{
command_name check_ssh_4
command_line /usr/lib/nagios/plugins/check_ssh -4 '$HOSTADDRESS$'
}
# 'check_ssh_port_4' command definition
define command{
command_name check_ssh_port_4
command_line /usr/lib/nagios/plugins/check_ssh -4 -p '$ARG1$' '$HOSTADDRESS$'
}

27
debian/pluginconfig/tcp_udp.cfg vendored Normal file
View file

@ -0,0 +1,27 @@
# 'check_tcp' command definition
define command{
command_name check_tcp
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$'
}
# 'check_udp' command definition
define command{
command_name check_udp
command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_tcp_4' command definition
define command{
command_name check_tcp_4
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$'
}
# 'check_udp_4' command definition
define command{
command_name check_udp_4
command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$'
}

Some files were not shown because too many files have changed in this diff Show more