summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
29 hoursignore CNAMEs in RDNS-mode #1460Lorenz Kästle1-0/+3
Suppose your provider uses RFC 2317 (or RFC 4183 for that matter). The output of nslookup could look like the following: 2.120.22.172.in-addr.arpa canonical name = 2.0/26.120.22.172.in-addr.arpa. 2.0/26.120.22.172.in-addr.arpa name = rajesh.intern.prauscher.de. Without this filter, check_dns would check the string against "2.0/26.120.22.172.in-addr.arpa., rajesh.intern.prauscher.de." which will fail for obvious reasons. In forward DNS, this is achieved in line 165, as nslookup will print the address separate from the CNAME-resolving. Original commit by Patrick Rauscher (prauscher@prauscher.de), adapted here.
32 hoursAdd check_dns to distribution filesLorenz Kästle1-1/+2
32 hoursMerge branch 'master' into refactor/check_dnsLorenz Kästle13-346/+628
32 hoursRemove redundant NULL checks and replace deprecated index functionLorenz Kästle1-6/+12
32 hourscheck_dns: some comments, small improvementsLorenz Kästle1-6/+13
32 hoursRefactor check_dnsLorenz Kästle2-116/+158
33 hoursAdd check_ssh config to distributable filesLorenz Kästle1-1/+6
34 hoursAdapt number of testsLorenz Kästle1-1/+1
34 hoursAdapt test regex to new outputLorenz Kästle1-1/+1
44 hoursRemove failing testLorenz Kästle1-1/+0
44 hoursfix accidently remove parentheses in testLorenz Kästle1-1/+1
44 hoursMerge branch 'master' into refactor/check_sshLorenz Kästle3-207/+303
44 hoursAdapt further test to changed outputLorenz Kästle4-4/+4
2 daysclang-formatLorenz Kästle1-42/+75
3 daysTransform output format to a global stateLorenz Kästle2-2/+2
This commit removes the format parameter from the mp_check object and creates a module global variable instead. This prevents thread safe usage of different mp_check objects which should likely not present a big problem for now. The reason for this change is effectively the very same, the format was lost if an exit was triggered by a signal handler (timeout in this example).
3 daysSwitch timeout handler to new output infrastructureLorenz Kästle1-3/+11
3 daysRevert "Migrate check_users to new ouput infrastructure"Lorenz Kästle5-323/+130
This reverts commit 10086edbf03fd807794bcfb3fff626da69a9fdb2.
3 daysnetutils.c: clang-format + do NOT print hereLorenz Kästle1-32/+47
3 dayscheck_ssh: adapt testsLorenz Kästle1-31/+83
3 dayscheck_ssh.c: clang-formatLorenz Kästle1-3/+4
3 dayscheck_ssh: exit properly if TCP connection failsLorenz Kästle1-1/+4
3 dayscheck_ssh: add missing break statementLorenz Kästle1-0/+1
3 dayscheck_ssh: fix typoLorenz Kästle1-2/+2
3 dayscheck_ssh: no more implicit conversionLorenz Kästle1-5/+5
3 dayscheck_ssh: Verify that timeout is a positive integerLorenz Kästle1-1/+1
3 dayscheck_ssh: move only time relevant stuff in timeout areaLorenz Kästle1-5/+4
3 dayscheck_ssh: Move default SSH constant around a bitLorenz Kästle2-6/+5
3 dayscheck_ssh: modify usage string to avoid old call syntaxLorenz Kästle1-1/+1
3 dayscheck_ssh: Migrate to new output infrastructureLorenz Kästle2-21/+84
3 dayscheck_ssh: centralize configuration in external headerLorenz Kästle2-27/+56
3 daysMigrate check_users to new ouput infrastructureLorenz Kästle5-130/+323
3 daysclang-formatLorenz Kästle1-13/+25
3 daysMerge pull request #2075 from RincewindsHat/refactor/check_dbiLorenz Kästle3-207/+303
Refactor/check dbi
3 daysMake config constantLorenz Kästle1-1/+1
3 daysRefactor check_dbiLorenz Kästle3-173/+231
3 daysMerge pull request #2076 from RincewindsHat/feature/json_parsing_in_testsLorenz Kästle1-21/+14
Implement JSON output parsing for tests
3 daysImplement JSON output parsing for testsLorenz Kästle1-21/+14
3 daysMerge pull request #2068 from RincewindsHat/check_mysql_replica_checkLorenz Kästle2-347/+374
Check mysql replica check
3 dayscheck_dbi: clang_formatLorenz Kästle1-51/+89
14 dayscheck_mysql tests: Also exchange slave for replicaLorenz Kästle1-16/+16
14 dayscheck_by_ssh: clang-formatLorenz Kästle1-35/+63
14 dayscheck_by_ssh: Remove warning/critical from helpLorenz Kästle1-1/+0
2025-02-24Add MySQL server version dectection and adaptive replica queryLorenz Kästle1-2/+50
2025-02-24Add check-replica option for check_mysql, deprecate check_slaveLorenz Kästle1-37/+55
This commit adds an option "check-replica" to check_mysql which replaces "check-slave" (which still works). The changes are introduced to follow the naming scheme of MySQL/MariaDB, since this was changed there in version 8 (MySQL) or 10.5.1 (MariaDB).
2025-02-21Merge pull request #2064 from RincewindsHat/feature/new_output_infraLorenz Kästle10-123/+154
Feature/new output infra
2025-02-21Remove check_swap tests with one-line formatLorenz Kästle1-37/+2
2025-02-20Rename icingaweb2 format to multi-lineLorenz Kästle1-1/+1
2025-02-20Place output-format help string with the other common onesLorenz Kästle2-2/+5
2025-02-20Remove output formats one-line and summary-onlyLorenz Kästle1-1/+1
2025-02-20Rename variable check_slave to check_replicaLorenz Kästle1-4/+4