RincewindsHat
09923e8a0f
Fix missing include in plugins/runcmd.c
2023-10-07 23:31:59 +02:00
Lorenz Kästle
2a7ee15b70
Merge pull request #1932 from RincewindsHat/check-ircd-pack-sockaddr
...
use pack_sockaddr_in rather than hand-rolled
2023-10-06 11:39:32 +02:00
Stuart Henderson
c2f20fdd94
use pack_sockaddr_in rather than hand-rolled
...
On some OS, sockaddr structs include a length field. Perl's pack_sockaddr_in
takes this into account; the hand-rolled "pack('S n a4 x8'..." doesn't do so,
resulting in connection failures.
2023-10-06 11:15:35 +02:00
Lorenz Kästle
be0e475339
Merge pull request #1904 from Al2Klimov/1857
...
check_disk: interpret -X' arg as pattern, not literal
2023-10-05 10:52:03 +02:00
Lorenz Kästle
d31dddadaf
Merge pull request #1411 from glensc/pld/nagios-plugins-check_disk_smb-zero-cap.patch
...
check_disk_smb: allow checking 0-sized resource (ex. IPC$)
2023-10-03 22:57:51 +02:00
Lorenz Kästle
c10d478162
Merge pull request #1931 from RincewindsHat/fix/typos
...
Fix some more typos
2023-10-03 22:31:02 +02:00
RincewindsHat
e1e1291b72
Fix some more typos
2023-10-03 22:22:51 +02:00
Lorenz Kästle
8e2784fa1f
Merge pull request #1930 from RincewindsHat/cleanup/check_dhcp
...
Cleanup/check dhcp
2023-10-01 23:27:47 +02:00
RincewindsHat
9f9f5fd9b2
Update copyright
2023-10-01 14:05:59 +02:00
RincewindsHat
f2ed728823
Remove trailing lines
2023-10-01 14:03:44 +02:00
RincewindsHat
11487d161c
Comment some endifs to make comprehension easier
2023-10-01 14:03:34 +02:00
RincewindsHat
1aaa238503
Use real booleans
2023-10-01 13:59:00 +02:00
RincewindsHat
0751063918
Homogenize whitespace usage
2023-10-01 13:55:22 +02:00
RincewindsHat
e695a81b13
Remove unnecessary type defines
2023-10-01 13:40:50 +02:00
Lorenz Kästle
15ceeaf46e
Update translations
2023-10-01 00:48:10 +02:00
Lorenz Kästle
819f90b726
check_disk: Change usage for --include-type to indicated regexes are now possible
2023-10-01 00:41:55 +02:00
Lorenz Kästle
128a24be22
Fix typo
2023-09-30 12:59:26 +02:00
Lorenz Kästle
51aa8b2d9d
Document new np_add_regex more and add error handling
2023-09-30 12:55:49 +02:00
Lorenz Kästle
6947a8cea9
check_disk: Use regex also to include fs types
2023-09-30 12:54:21 +02:00
Lorenz Kästle
677bbd21a9
Update translations
2023-09-28 13:20:24 +02:00
Alexander A. Klimov
4bb444f335
check_disk: make -X a regex list
2023-09-28 13:20:24 +02:00
Alexander A. Klimov
1f694195b4
Introduce np_find_regmatch()
2023-09-28 13:20:24 +02:00
Alexander A. Klimov
d31a696cad
Introduce np_add_regex()
2023-09-28 13:20:24 +02:00
Alexander A. Klimov
f457615d84
Introduce regex_list
2023-09-28 13:20:24 +02:00
Lorenz Kästle
a4c7111f90
Merge pull request #1929 from datamuc/patch-1
...
run tests with debian:stable
2023-09-27 10:01:55 +02:00
Lorenz Kästle
96f69f7829
Merge pull request #1926 from RincewindsHat/remove_retsigtype
...
Remove check for RETSIGTYPE in autoconf stuff
2023-09-27 09:55:51 +02:00
datamuc
9c1c3fce43
run tests with debian:stable
...
debian:testing is broken
2023-09-25 21:30:32 +02:00
RincewindsHat
513929d796
Remove check for RETSIGTYPE in autoconf stuff
...
autoupdate tells me, that since C89 I can safely assume RETSIGTYPE
is void.
Therefore to simplify things I removed the corresponding configure.ac
line and replaced all mentions of RETSIGTYPE with void.
2023-09-23 12:31:33 +02:00
Lorenz Kästle
719e27ddc2
Merge pull request #1924 from RincewindsHat/compiler_warnings_4_1
...
Centralise and refactor maxfd related functionality
2023-09-23 10:47:01 +02:00
RincewindsHat
4295decfbf
open_max is a library function now, it should be mp_open_max
2023-09-23 10:33:06 +02:00
Lorenz Kästle
fe718dec11
Merge pull request #1925 from RincewindsHat/compiler_warnings_4_2
...
Place _cmd_pids in object not header to avoid unsused variables
2023-09-23 09:33:32 +02:00
Lorenz Kästle
bef0d0dd4a
Update translations
2023-09-22 15:36:59 +02:00
RincewindsHat
a3029c5a2e
Place _cmd_pids in object not header to avoid unsused variables
2023-09-22 15:28:06 +02:00
RincewindsHat
0162cb2d4f
fixup! Rework maxfd/open_max to avoid unused variables
2023-09-22 15:24:26 +02:00
RincewindsHat
7fd0e6f36d
Rework maxfd/open_max to avoid unused variables
2023-09-22 15:22:57 +02:00
Lorenz Kästle
7f460dd60a
Merge pull request #1923 from RincewindsHat/doc/check_disk
...
Doc/check disk
2023-09-21 12:25:30 +02:00
Lorenz Kästle
b6bb2a18c9
Update translations
2023-09-21 12:14:24 +02:00
Lorenz Kästle
2ef36843ab
Add -C to general usage hints
2023-09-21 12:09:10 +02:00
RincewindsHat
8faf7afad3
check_disk: Add some general usage hints
2023-09-21 12:09:10 +02:00
RincewindsHat
b01aa8c433
check_disk: More spacing to separate examples
2023-09-21 12:09:10 +02:00
RincewindsHat
2f916675b3
check_disk: Mention -A and long options in error message about missing thresholds
2023-09-21 12:09:10 +02:00
RincewindsHat
3e8fdf9b35
check_disk: Fix printf format string
2023-09-21 12:09:10 +02:00
Lorenz Kästle
7e81cb3c1f
Merge pull request #1868 from RincewindsHat/compiler_warning_part_3
...
Replace deprecated TLS client functions
2023-09-21 12:03:52 +02:00
Lorenz Kästle
d5d0b50e89
Merge branch 'master' into compiler_warning_part_3
2023-09-21 09:22:33 +02:00
Lorenz Kästle
220455a11e
Merge pull request #1870 from RincewindsHat/compiler_warning_part_5
...
Compiler warning part 5
2023-09-19 11:06:39 +02:00
Lorenz Kästle
2f0119ef1d
Merge pull request #1718 from GerMalaz/mysql_detect_mysqldump
...
check_mysql: Detect running mysqldump
2023-09-18 23:16:27 +02:00
RincewindsHat
0e70e81133
Merge branch 'master' into mysql_detect_mysqldump
2023-09-18 22:59:46 +02:00
RincewindsHat
ce355c80cf
Initialize slaveresult to 0 and use strncat instead of bsd strlcat
2023-09-18 22:58:34 +02:00
RincewindsHat
c405dbafcc
Add mysql_close to avoid spamming the server logs
2023-09-18 19:18:35 +02:00
Lorenz Kästle
2ddc75e69d
Merge pull request #1922 from RincewindsHat/update_docs
...
Update docs regarding C coding style
2023-09-14 09:33:36 +02:00