summaryrefslogtreecommitdiffstats
path: root/plugins-root
AgeCommit message (Collapse)AuthorFilesLines
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-29check_dhcp: Make implicit conversion explicit to dismiss warningRincewindsHat1-1/+1
2023-12-06Prevent -lcrypto from showing up in Makefile dependenciesEric Knibbe1-3/+3
2023-10-16Fix for -Wunused-but-set-variableRincewindsHat1-3/+1
2023-10-13Merge branch 'master' into check_dhcp_rogue_detectionLorenz Kästle2-111/+631
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-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 copyrightRincewindsHat1-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
2023-10-01Homogenize whitespace usageRincewindsHat1-305/+305
2023-10-01Remove unnecessary type definesRincewindsHat1-20/+16
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>