summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_icmp.c
AgeCommit message (Collapse)AuthorFilesLines
2025-05-17 WIP - check_icmp refactor 6Lorenz Kästle1-359/+345
2025-05-16 WIP - check_icmp refactor 5Lorenz Kästle1-11/+16
2025-05-06 WIP - check_icmp refactor 4Lorenz Kästle1-73/+147
2025-05-05 WIP - check_icmp refactor 3Lorenz Kästle1-75/+75
2025-05-04WIP - check_icmp refactor 2Lorenz Kästle1-338/+386
2025-04-28WIP: check_icmp refactorLorenz Kästle1-628/+659
2025-04-02check_icmp: localise variablesLorenz Kästle1-119/+89
2025-04-02check_icmp: linter fixesLorenz Kästle1-57/+74
2024-11-28check_icmp: set rtmin initiallyLorenz Kästle1-1/+3
2024-11-28check_icmp: Add some lines to introduce some readabilityLorenz Kästle1-1/+10
2024-11-28check_icmp: clang-formatLorenz Kästle1-106/+188
2024-10-30check_icmp: Apply clang-format againLorenz Kästle1-25/+34
2024-10-16check_icmp: clang-formatRincewindsHat1-1/+7
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 Nierlein1-30/+50
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-10-13Fix spelling stuffRincewindsHat1-1/+1
2023-10-13Add some more comments about the MOS scoreRincewindsHat1-0/+22
2023-10-09Even more code formatting and cleanupRincewindsHat1-21/+26
2023-10-09Do some more formattingRincewindsHat1-107/+107
2023-10-09Remove preprocessor macroRincewindsHat1-6/+5
2023-10-09Do some code formattingRincewindsHat1-16/+17
2023-10-09More 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-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-04fix host count on when checking multiple hostsDanijel Tasov1-21/+24
2023-10-04adjust check_icmp testsDanijel Tasov1-1/+1
2023-09-28update-poDanijel Tasov1-1/+1
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-27cleanup more merge debrisDanijel Tasov1-8/+3
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-26Add some spaces to the outputDanijel Tasov1-19/+19
needed if multiple modes are used at once Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-26fixed commentDanijel Tasov1-1/+1
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-25Fix spelingDanijel Tasov1-1/+1
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-25Fix compile errorsDanijel Tasov1-8/+6
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-25exit UNKNOWN on -VDanijel Tasov1-1/+1
Signed-off-by: Danijel Tasov <m@rbfh.de>
2023-09-23fix merge errorDanijel Tasov1-1/+0
Signed-off-by: Danijel Tasov <m@rbfh.de>