summaryrefslogtreecommitdiffstats
path: root/plugins-root
AgeCommit message (Collapse)AuthorFilesLines
6 dayscheck_icmp: Apply clang-format againrefs/pull/2028/headLorenz Kästle1-25/+34
6 daysMerge branch 'master' into cleanup/check_icmpLorenz Kästle1-617/+564
2024-10-15check_icmp: clang-formatRincewindsHat1-1/+7
2024-10-15check_dhcp: Declare internal variables staticrefs/pull/2029/headRincewindsHat1-62/+62
2024-10-15check_dhcp: Update copyrightRincewindsHat1-2/+2
2024-10-15check_dhcp: clang-formatRincewindsHat1-601/+548
2024-10-15check_icmp: Update copyrightRincewindsHat1-2/+2
2024-10-15check_icmp: Properly mark function with void inputRincewindsHat1-1/+1
2024-10-15check_icmp: Declare internal variables staticRincewindsHat1-8/+8
2024-10-15check_icmp: clang-formatRincewindsHat1-783/+742
2024-03-01check_icmp: keep performance data order in case of none-reachable hostsSven Nierlein2-32/+53
For responding hosts nothing changes: ./check_icmp -H 10.0.0.1 OK - 10.0.0.1 rta 0.336ms lost 0%|rta=0.336ms;200.000;500.000;0; rtmax=0.471ms;;;; rtmin=0.000ms;;;; pl=0%;40;80;0;100 In case the host is down, the performance data now contain 'U' according to: https://www.monitoring-plugins.org/doc/guidelines.html#AEN201 Old: ./check_icmp -H 10.0.0.99 CRITICAL - 10.0.0.99: Host unreachable @ 10.0.1.138. rta nan, lost 100%|pl=100%;40;80;0;100 Old: ./check_icmp -H 10.0.0.99 CRITICAL - 10.0.0.99: Host unreachable @ 10.0.1.138. rta nan, lost 100%|rta=U;;;; rtmax=U;;;; rtmin=U;;;; pl=100%;40;80;0;100 This confuses some performance graphing tools, ex.: pnp. Signed-off-by: Sven Nierlein <sven@consol.de>
2023-12-28check_dhcp: Make implicit conversion explicit to dismiss warningrefs/pull/1980/headRincewindsHat1-1/+1
2023-12-06Prevent -lcrypto from showing up in Makefile dependenciesEric Knibbe1-3/+3
2023-10-15Fix for -Wunused-but-set-variablerefs/pull/1940/headRincewindsHat1-3/+1
2023-10-13Merge branch 'master' into check_dhcp_rogue_detectionrefs/pull/1906/headLorenz Kästle2-111/+631
2023-10-12Fix spelling stuffrefs/pull/1928/headRincewindsHat1-1/+1
2023-10-12Add some more comments about the MOS scoreRincewindsHat1-0/+22
2023-10-09Even more code formatting and cleanupRincewindsHat1-21/+26
2023-10-08Do some more formattingRincewindsHat1-107/+107
2023-10-08Remove preprocessor macroRincewindsHat1-6/+5
2023-10-08Do some code formattingRincewindsHat1-16/+17
2023-10-08More consequent booleansRincewindsHat1-2/+2
2023-10-08fix unused variables compiler warningRincewindsHat1-0/+2
2023-10-08fix sign compare compiler warningsRincewindsHat1-2/+2
2023-10-08Initialise threshold variables properlyRincewindsHat1-1/+16
2023-10-07Fix typoRincewindsHat1-1/+1
2023-10-07Refactor new threshold parserRincewindsHat1-37/+45
2023-10-07Do some actual error checking on the threshold parserRincewindsHat1-6/+32
2023-10-06Remove useless return after crashRincewindsHat1-1/+0
2023-10-06Change function type of get_thresholds to better reflect the options and ↵RincewindsHat1-7/+14
describe it in general
2023-10-06Update commentRincewindsHat1-2/+2
2023-10-06Refactor get_threshold2 to be barely understandableRincewindsHat1-35/+65
2023-10-06check mallocDanijel Tasov1-0/+4
2023-10-06do not introduce new ints as boolsDanijel Tasov1-14/+16
2023-10-04Merge branch 'master' into merge-jitterdatamuc1-340/+331
2023-10-04unnecessary spaceDanijel Tasov1-1/+1
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-10-04readability improvementsDanijel Tasov1-3/+21
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-10-04remove sun ifdefDanijel Tasov1-5/+0
my be readded later with proper comments Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-10-04add some basic tests for the new modesDanijel Tasov1-1/+47
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-10-04update failure regexDanijel Tasov1-1/+1
2023-10-04fix host count on when checking multiple hostsDanijel Tasov1-21/+24
2023-10-04adjust check_icmp testsDanijel Tasov2-6/+6
2023-10-03Make some booleans nicerLorenz Kästle1-3/+3
2023-10-03Some code formattingLorenz Kästle1-7/+7
2023-10-03New variable is actually a booleanLorenz Kästle1-7/+8
2023-10-03check_dhcp.c merged patch from #752Patrick Cervicek1-10/+34
- added dhcp rogue detection contributed by Patrick Cervicek (patrick AT cervicek.de) - closes #752
2023-10-01Update copyrightrefs/pull/1930/headRincewindsHat1-1/+1
2023-10-01Remove trailing linesRincewindsHat1-3/+0
2023-10-01Comment some endifs to make comprehension easierRincewindsHat1-2/+3
2023-10-01Use real booleansRincewindsHat1-17/+14