Eunice Remoquillo
d2df046481
Improve negate plugin helptext
...
This commit updates the negate plugin's helptext as it is currently ambiguous.
2024-02-12 10:59:18 +08:00
waja
0445456e8b
Merge pull request #1973 from monitoring-plugins/dependabot-github_actions-github-codeql-action-3
...
build(deps): bump github/codeql-action from 2 to 3
2023-12-14 06:07:55 +01:00
dependabot[bot]
574ad29da8
build(deps): bump github/codeql-action from 2 to 3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 04:50:41 +00:00
Lorenz Kästle
1a824039c4
Merge pull request #1969 from shartge/document-check_procs
...
check_procs: Improve help text, mentioning excluded processes
2023-12-04 22:18:15 +01:00
Sven Hartge
c3ab362f87
check_procs: Generalise wording, remove mentioning of nrpe
2023-12-04 16:40:34 +01:00
Sven Hartge
45f633ef23
check_procs: Improve help text, mentioning excluded processes
...
Also reindent the code, converting stray tabs to 2 spaces.
2023-12-04 14:33:36 +01:00
Lorenz Kästle
c43d2e9959
Merge pull request #1968 from shartge/improve-check_procs
...
check_procs: ignore our own children
2023-12-03 20:00:11 +01:00
Sven Hartge
897e4a8409
check_procs: ignore our own children
...
On systems with higher core counts check_procs will occasionally see
its own "ps" child process with a high CPU percentage and raise a
false alarm.
Ignoring the child processes of check_procs prevents this from happening.
2023-11-28 13:21:05 +01:00
Lorenz Kästle
c2ddda30e0
Merge pull request #1967 from sni/fix_check_disk
...
check_disk: fix ignore-missing in combination with includes (fixes #1963 )
2023-11-27 15:57:49 +01:00
Sven Nierlein
579db5a930
check_disk: fix ignore-missing in combination with includes ( fixes #1963 )
...
Using --ignore-missing together with regex matching and ignore option lead
to a wrong error message.
./check_disk -n -w 10% -c 5% -W 10% -r /dummy -i /dummy2
DISK UNKNOWN: Paths need to be selected before using -i/-I. Use -A to select all paths explicitly
The use case here is a cluster with fail-over mounts. So it is a valid situation that
the regex match does not find anything in addtition with a ignore which also does not exist.
After this patch:
./check_disk -n -w 10% -c 5% -W 10% -r /dummy -i /dummy2
DISK OK - No disks were found for provided parameters|
2023-11-27 13:04:10 +01:00
Sven Nierlein
f59c516011
check_disk: add -n short option for --ignore-missing
...
Signed-off-by: Sven Nierlein <sven@consol.de>
2023-11-27 13:04:10 +01:00
Lorenz Kästle
df690d6957
Merge pull request #1964 from RincewindsHat/more_compiler_warnings
...
More compiler warnings
2023-11-23 10:07:31 +01:00
RincewindsHat
4f4fb3d9af
check_dns: Remove unused variable
2023-11-23 00:12:49 +01:00
RincewindsHat
479ff15249
check_ntp_peer: Fixes for Wmaybe-unitialized and some restructuring
2023-11-23 00:11:39 +01:00
RincewindsHat
1b06060cbc
Fix logic in is_uint64_t to fix type-limit warning
2023-11-23 00:07:02 +01:00
Lorenz Kästle
f054ab04e7
Merge pull request #1962 from waja/CI_testing
...
CI: Switch back to testing
2023-11-22 23:37:23 +01:00
Lorenz Kästle
53a15f0c2c
Merge pull request #1951 from RincewindsHat/compiler_warnings_maybe_unused
...
Fix compiler warning for uninitialized variable
2023-11-22 23:34:59 +01:00
Jan Wagner
6db7d10428
CI: Switch back to testing
2023-11-13 08:26:59 +01:00
Lorenz Kästle
f1e91405c3
Merge pull request #1958 from RincewindsHat/check_users_fix_segfault
...
check_users: fix segfault
2023-11-12 02:31:24 +01:00
Lorenz Kästle
928654756b
Merge pull request #1960 from sbraz/ups_realpower
...
check_ups: output ups.realpower if supported
2023-11-11 12:29:38 +01:00
Louis Sautier
eebb280ca3
check_ups: output ups.realpower if supported
2023-11-10 00:08:49 +01:00
Lorenz Kästle
74e8623bbd
Merge pull request #1959 from RincewindsHat/shellcheck_check_oracle2
...
Shellcheck fixes for check_oracle
2023-11-05 22:50:14 +01:00
RincewindsHat
ec913afbda
Shellcheck fixes for check_oracle
2023-11-05 22:32:48 +01:00
Lorenz Kästle
6131659fe3
Merge pull request #1956 from sni/fix_check_mailq
...
Fix check mailq
2023-11-01 12:19:48 +01:00
Lorenz Kästle
6d08e1c8c9
Merge branch 'master' into fix_check_mailq
2023-11-01 11:05:50 +01:00
Lorenz Kästle
5db2648465
Merge branch 'master' into check_users_fix_segfault
2023-10-31 11:13:02 +01:00
Lorenz Kästle
76d9f25cd0
Merge pull request #1947 from waja/remove_po
...
Removing translation files
2023-10-31 11:12:45 +01:00
RincewindsHat
9bb7442f6f
Remove translation directory from main Makefile.am
2023-10-31 02:17:38 +01:00
Jan Wagner
40370b8ff0
Removing translation files
...
Unfortunately there is very less coverage of the translations and
was not very much contribution recently this area.
On the other side, maintaing the po files consumes a significant effort.
For now we drop the translation files, but we can revert this change
anytime in the future.
2023-10-31 02:17:38 +01:00
Jan Wagner
e6a2c045ec
CI: Remove translation checks
2023-10-31 02:17:38 +01:00
RincewindsHat
a9d77ac545
check_users: Update help to properly show that thresholds are ranges
2023-10-31 01:51:27 +01:00
RincewindsHat
d9a999de7b
Enhance tests to check wheter the option validation works
2023-10-31 01:50:46 +01:00
RincewindsHat
cff821257b
check_users: Change option for sanity checking arguments to avoid segfault
2023-10-31 01:47:26 +01:00
Lorenz Kästle
77e38ac1c0
Merge pull request #1953 from RincewindsHat/compiler_warnings-sign-compare
...
Fixes for -Wsign-compare
2023-10-29 11:09:00 +01:00
Sven Nierlein
03bde80abb
check_mailq: exit on empty strings and exit early
...
in case of $utils::PATH_TO_MAILQ beeing an empty string, the "defined" is still true
and leads to misleading error messages.
While on it, rewrite cascaded if/elsifs to more readably exit-early ifs.
2023-10-26 11:26:41 +02:00
Sven Nierlein
db76f6867c
check_mailq: unify tabs/spaces
2023-10-26 11:20:00 +02:00
Sven Nierlein
4e430f577a
check_mailq: remove trailing whitespaces
2023-10-26 11:04:36 +02:00
Lorenz Kästle
2eea6bb2a0
Merge pull request #1952 from RincewindsHat/check_smtp_restore_tls_behaviour
...
check_smtp: Restore behaviour pre ead5526efa4f713e8001baed409067b0474…
2023-10-21 11:40:37 +02:00
RincewindsHat
eead88edda
check_tcp: Fixes an error with using the wrong type for a variable
2023-10-19 13:47:21 +02:00
RincewindsHat
81f3b41651
Fix fallout of the previous changes
2023-10-19 12:20:27 +02:00
RincewindsHat
07f9c438f3
Fixes for -Wsign-compare
2023-10-19 12:10:55 +02:00
RincewindsHat
7ba8463506
check_ntp: Initialize intermediate results in any case
2023-10-19 11:59:43 +02:00
RincewindsHat
0ab5e10d9b
check_curl: Initialize pointer before usage
2023-10-19 11:55:11 +02:00
RincewindsHat
decca6d290
check_smtp: Restore behaviour pre ead5526efa regarding -D and TLS
2023-10-19 11:31:28 +02:00
RincewindsHat
0c92b39083
check_dbi: Fix compiler warning for uninitialized variable
2023-10-19 11:14:23 +02:00
Lorenz Kästle
47cb10013e
Merge pull request #1948 from RincewindsHat/more_booleans
...
Replace most of the boolean variables declared as "int" with "bool"
2023-10-19 10:48:32 +02:00
RincewindsHat
efe79595d3
check_ntp: Use C99 booleans
2023-10-19 10:22:40 +02:00
RincewindsHat
93a4bae90d
Revert "check_ntp: Use C99 booleans"
...
This reverts commit ca5af12f94 .
2023-10-19 10:18:12 +02:00
RincewindsHat
d820929dd8
check_smtp: little fix for C99 booleans missed earlier
2023-10-19 10:17:28 +02:00
RincewindsHat
531e0f9427
check_ntp_time: Use C99 booleans
2023-10-19 10:04:24 +02:00