Lorenz Kästle
60bdbe5f9e
Merge pull request #1906 from monitoring-plugins/check_dhcp_rogue_detection
...
check_dhcp: merged patch from #752
2023-10-13 19:19:09 +02:00
Lorenz Kästle
b6d3acf5e3
Merge branch 'master' into check_dhcp_rogue_detection
2023-10-13 19:09:29 +02:00
Lorenz Kästle
bf70f5f847
Merge pull request #1927 from RincewindsHat/autoconf_fix
...
Somehow this fixes detection of the availability of struct timeval fo…
2023-10-13 07:37:03 +02:00
Lorenz Kästle
dbd49978af
Update configure.ac
...
Co-authored-by: waja <waja@users.noreply.github.com>
2023-10-13 01:38:42 +02:00
Lorenz Kästle
56ba2368d9
Merge pull request #1928 from datamuc/merge-jitter
...
check_icmp: Add support to Jitter, MOS and Score
2023-10-13 01:37:38 +02:00
RincewindsHat
f5074ac7f0
Fix spelling stuff
2023-10-13 01:29:31 +02:00
RincewindsHat
0de0daccec
Add some more comments about the MOS score
2023-10-13 01:25:22 +02:00
RincewindsHat
eb6c83a650
Even more code formatting and cleanup
2023-10-09 14:03:36 +02:00
RincewindsHat
9da06d5625
Do some more formatting
2023-10-09 01:57:37 +02:00
RincewindsHat
c568ad207c
Remove preprocessor macro
2023-10-09 01:31:52 +02:00
RincewindsHat
f7df88dac3
Do some code formatting
2023-10-09 01:18:04 +02:00
RincewindsHat
b6fea24c3d
More consequent booleans
2023-10-09 01:17:44 +02:00
RincewindsHat
6a4b9927cb
fix unused variables compiler warning
2023-10-08 22:50:17 +02:00
RincewindsHat
b053278b18
fix sign compare compiler warnings
2023-10-08 22:49:45 +02:00
RincewindsHat
9426b9a338
Initialise threshold variables properly
2023-10-08 22:48:39 +02:00
RincewindsHat
c011d010ee
Merge branch 'master' into datamuc-merge-jitter
2023-10-08 22:38:36 +02:00
Lorenz Kästle
4d8f1dab57
Merge pull request #1933 from RincewindsHat/compiler-warnings-werror
...
Fix missing include in plugins/runcmd.c
2023-10-08 13:33:32 +02:00
RincewindsHat
09923e8a0f
Fix missing include in plugins/runcmd.c
2023-10-07 23:31:59 +02:00
RincewindsHat
da59856f99
Fix typo
2023-10-07 22:43:44 +02:00
RincewindsHat
b81847cb5f
Refactor new threshold parser
2023-10-07 11:49:27 +02:00
RincewindsHat
19dc003936
Do some actual error checking on the threshold parser
2023-10-07 11:48:57 +02:00
RincewindsHat
9faa417aeb
Remove useless return after crash
2023-10-06 16:05:01 +02:00
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
41ebe4b6d9
Merge branch 'master' into check_dhcp_rogue_detection
2023-10-03 22:34:14 +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
103821efeb
Make some booleans nicer
2023-10-03 12:25:48 +02:00
Lorenz Kästle
64d2459029
Update translations
2023-10-03 12:20:37 +02:00
Lorenz Kästle
ec9ed25265
Some code formatting
2023-10-03 12:20:24 +02:00
Lorenz Kästle
2723d48d84
New variable is actually a boolean
2023-10-03 12:14:06 +02:00
Lorenz Kästle
8b04f5e11d
Update translations
2023-10-03 12:13:24 +02:00
Patrick Cervicek
65237fd7a5
check_dhcp.c merged patch from #752
...
- added dhcp rogue detection
contributed by Patrick Cervicek (patrick AT cervicek.de)
- closes #752
2023-10-03 12:13:23 +02:00