RincewindsHat
aba1ef97f3
Change function type of get_thresholds to better reflect the options and describe it in general
2023-10-06 16:04:43 +02:00
RincewindsHat
d54588eaf0
Update comment
2023-10-06 15:19:33 +02:00
RincewindsHat
6d7d9a87aa
Refactor get_threshold2 to be barely understandable
2023-10-06 15:08:52 +02:00
Lorenz Kästle
faf8e6a791
Merge branch 'master' into merge-jitter
2023-10-06 13:30:14 +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
datamuc
5886cfbcb0
Merge branch 'master' into merge-jitter
2023-10-06 11:01:01 +02:00
Danijel Tasov
1ad7e163fa
check malloc
2023-10-06 10:54:20 +02:00
Danijel Tasov
e365f9f58e
do not introduce new ints as bools
2023-10-06 10:54:03 +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
datamuc
9280b0eee2
Merge branch 'master' into merge-jitter
2023-10-04 14:02:25 +02:00
Danijel Tasov
dfa5aa4b83
unnecessary space
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-10-04 11:56:23 +02:00
Danijel Tasov
1f49981982
readability improvements
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-10-04 11:52:09 +02:00
Danijel Tasov
843c0bfa46
remove sun ifdef
...
my be readded later with proper comments
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-10-04 11:45:16 +02:00
Danijel Tasov
4e7eb55079
add some basic tests for the new modes
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-10-04 11:34:25 +02:00
Danijel Tasov
df57a23e0a
update failure regex
2023-10-04 10:39:30 +02:00
Danijel Tasov
6585711b0b
fix host count on when checking multiple hosts
2023-10-04 10:22:35 +02:00
Danijel Tasov
396bcf50ce
adjust check_icmp tests
2023-10-04 10:21:41 +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
Danijel Tasov
a0eb219889
update-po
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-28 15:42:30 +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
Danijel Tasov
e6d2b0b08b
cleanup more merge debris
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-27 11:14:18 +02:00
Lorenz Kästle
c67aa6d45f
Merge branch 'master' into merge-jitter
2023-09-27 10:02:17 +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
Danijel Tasov
42125d928f
Add some spaces to the output
...
needed if multiple modes are used at once
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-26 17:35:31 +02:00
Danijel Tasov
4ed1d74295
fixed comment
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-26 17:26:43 +02:00
Danijel Tasov
2d6b467530
add missing character
2023-09-26 10:01:05 +02:00
datamuc
9c1c3fce43
run tests with debian:stable
...
debian:testing is broken
2023-09-25 21:30:32 +02:00
Danijel Tasov
111e25efcd
Fix speling
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-25 18:29:27 +02:00
Danijel Tasov
3f0cc2533c
Fix compile errors
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-25 18:23:54 +02:00
Danijel Tasov
9387e21de7
exit UNKNOWN on -V
...
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-25 09:49:59 +02:00