public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/Dockerfiles/unbound/healthcheck.sh
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
healthcheck.sh
on main
Author
Date
Commit
Line
Code
DerLinkman
almost 3 years ago
eb3be80
[Unbound] Added Healthcheck (nslookup)
- Full commit hash
eb3be80286b1fe80c64f407cb5ac692767955abc- Author
- DerLinkman <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 1
#!/bin/bash
#!/bin/bash
same change
eb3be80
[Unbound] Added Healthcheck (nslookup)
- Full commit hash
eb3be80286b1fe80c64f407cb5ac692767955abc- Author
- DerLinkman <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 2
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 3
STATUS_FILE="/tmp/healthcheck_status"
STATUS_FILE="/tmp/healthcheck_status"
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 4
RUNS=0
RUNS=0
Hailer, Christian
over 2 years ago
02a55ce
Fix unbound healthcheck.sh to log all messages to logfile
- Full commit hash
02a55ce9db2e15e444cbc53413d5dc99da8a68ab- Author
- Hailer, Christian <[email protected]>
- Date
- over 2 years ago
- Selected line
- 5
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 6
# Declare log function for logfile to stdout
# Declare log function for logfile to stdout
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 7
function log_to_stdout() {
function log_to_stdout() {
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 8
echo "$(date +"%Y-%m-%d %H:%M:%S"): $1"
echo "$(date +"%Y-%m-%d %H:%M:%S"): $1"
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 9
}
}
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 10
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 11
# General Ping function to check general pingability
# General Ping function to check general pingability
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 12
function check_ping() {
function check_ping() {
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 13
declare -a ipstoping=("1.1.1.1" "8.8.8.8" "9.9.9.9")
declare -a ipstoping=("1.1.1.1" "8.8.8.8" "9.9.9.9")
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 14
local fail_tolerance=1
local fail_tolerance=1
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 15
local failures=0
local failures=0
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 16
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 17
for ip in "${ipstoping[@]}" ; do
for ip in "${ipstoping[@]}" ; do
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 18
success=false
success=false
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 19
for ((i=1; i<=3; i++)); do
for ((i=1; i<=3; i++)); do
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 20
ping -q -c 3 -w 5 "$ip" > /dev/null
ping -q -c 3 -w 5 "$ip" > /dev/null
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 21
if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 22
success=true
success=true
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 23
break
break
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 24
else
else
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 25
log_to_stdout "Healthcheck: Failed to ping $ip on attempt $i. Trying again..."
log_to_stdout "Healthcheck: Failed to ping $ip on attempt $i. Trying again..."
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 26
fi
fi
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 27
done
done
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 28
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 29
if [ "$success" = false ]; then
if [ "$success" = false ]; then
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 30
log_to_stdout "Healthcheck: Couldn't ping $ip after 3 attempts. Marking this IP as failed."
log_to_stdout "Healthcheck: Couldn't ping $ip after 3 attempts. Marking this IP as failed."
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 31
((failures++))
((failures++))
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 32
fi
fi
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 33
done
done
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 34
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 35
if [ $failures -gt $fail_tolerance ]; then
if [ $failures -gt $fail_tolerance ]; then
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 36
log_to_stdout "Healthcheck: Too many ping failures ($fail_tolerance failures allowed, you got $failures failures), marking Healthcheck as unhealthy..."
log_to_stdout "Healthcheck: Too many ping failures ($fail_tolerance failures allowed, you got $failures failures), marking Healthcheck as unhealthy..."
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 37
return 1
return 1
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 38
fi
fi
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 39
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 40
return 0
return 0
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 41
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 42
}
}
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 43
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 44
# General DNS Resolve Check against Unbound Resolver himself
# General DNS Resolve Check against Unbound Resolver himself
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 45
function check_dns() {
function check_dns() {
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 46
declare -a domains=("fuzzy.mailcow.email" "github.com" "hub.docker.com")
declare -a domains=("fuzzy.mailcow.email" "github.com" "hub.docker.com")
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 47
local fail_tolerance=1
local fail_tolerance=1
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 48
local failures=0
local failures=0
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 49
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 50
for domain in "${domains[@]}" ; do
for domain in "${domains[@]}" ; do
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 51
success=false
success=false
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 52
for ((i=1; i<=3; i++)); do
for ((i=1; i<=3; i++)); do
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 53
dig_output=$(dig +short +timeout=2 +tries=1 "$domain" @127.0.0.1 2>/dev/null)
dig_output=$(dig +short +timeout=2 +tries=1 "$domain" @127.0.0.1 2>/dev/null)
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 54
dig_rc=$?
dig_rc=$?
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 55
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 56
if [ $dig_rc -ne 0 ] || [ -z "$dig_output" ]; then
if [ $dig_rc -ne 0 ] || [ -z "$dig_output" ]; then
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 57
log_to_stdout "Healthcheck: DNS Resolution Failed on attempt $i for $domain! Trying again..."
log_to_stdout "Healthcheck: DNS Resolution Failed on attempt $i for $domain! Trying again..."
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 58
else
else
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 59
success=true
success=true
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 60
break
break
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 61
fi
fi
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 62
done
done
same change
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 63
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 64
if [ "$success" = false ]; then
if [ "$success" = false ]; then
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 65
log_to_stdout "Healthcheck: DNS Resolution not possible after 3 attempts for $domain... Gave up!"
log_to_stdout "Healthcheck: DNS Resolution not possible after 3 attempts for $domain... Gave up!"
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 66
((failures++))
((failures++))
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 67
fi
fi
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 68
done
done
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 69
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 70
if [ $failures -gt $fail_tolerance ]; then
if [ $failures -gt $fail_tolerance ]; then
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 71
log_to_stdout "Healthcheck: Too many DNS failures ($fail_tolerance failures allowed, you got $failures failures), marking Healthcheck as unhealthy..."
log_to_stdout "Healthcheck: Too many DNS failures ($fail_tolerance failures allowed, you got $failures failures), marking Healthcheck as unhealthy..."
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 72
return 1
return 1
KagurazakaNyaa
over 2 years ago
ed493f9
Allow user skip unbound healthcheck
- Full commit hash
ed493f9c3a63d94ef10b149829fe3a752c3532e3- Author
- KagurazakaNyaa <[email protected]>
- Date
- over 2 years ago
- Selected line
- 73
fi
fi
same change
ed493f9
Allow user skip unbound healthcheck
- Full commit hash
ed493f9c3a63d94ef10b149829fe3a752c3532e3- Author
- KagurazakaNyaa <[email protected]>
- Date
- over 2 years ago
- Selected line
- 74
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 75
return 0
return 0
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 76
}
}
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 77
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 78
while true; do
while true; do
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 79
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 80
if [[ ${SKIP_UNBOUND_HEALTHCHECK} == "y" ]]; then
if [[ ${SKIP_UNBOUND_HEALTHCHECK} == "y" ]]; then
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 81
log_to_stdout "Healthcheck: ALL CHECKS WERE SKIPPED! Unbound is healthy!"
log_to_stdout "Healthcheck: ALL CHECKS WERE SKIPPED! Unbound is healthy!"
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 82
echo "0" > $STATUS_FILE
echo "0" > $STATUS_FILE
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 83
sleep 365d
sleep 365d
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 84
fi
fi
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 85
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 86
# run checks, if check is not returning 0 (return value if check is ok), healthcheck will exit with 1 (marked in docker as unhealthy)
# run checks, if check is not returning 0 (return value if check is ok), healthcheck will exit with 1 (marked in docker as unhealthy)
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 87
check_ping
check_ping
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 88
PING_STATUS=$?
PING_STATUS=$?
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 89
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 90
check_dns
check_dns
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 91
DNS_STATUS=$?
DNS_STATUS=$?
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 92
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 93
if [ $PING_STATUS -ne 0 ] || [ $DNS_STATUS -ne 0 ]; then
if [ $PING_STATUS -ne 0 ] || [ $DNS_STATUS -ne 0 ]; then
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 94
echo "1" > $STATUS_FILE
echo "1" > $STATUS_FILE
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 95
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 96
else
else
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 97
echo "0" > $STATUS_FILE
echo "0" > $STATUS_FILE
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 98
fi
fi
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 99
same change
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 100
sleep 30
sleep 30
DerLinkman
over 2 years ago
b29dc37
unbound: rewrote healthcheck to be more detailed
- Full commit hash
b29dc3799114089471253d31295a290c239b8488- Author
- DerLinkman <[email protected]>
- Date
- over 2 years ago
- Selected line
- 101
Niklas Meyer
almost 2 years ago
b26ccc2
unbound: fix healthcheck logging + added fail tolerance to checks (#6004)
- Full commit hash
b26ccc2019921aa399d801a5241dbdf21b8350c0- Author
- Niklas Meyer <[email protected]>
- Date
- almost 2 years ago
- Selected line
- 102
done
done