check_dns multiple timeouts
Posted: Fri Apr 04, 2025 6:08 am
Hi,
I am setting up a box solely for DNS monitoring, we have around 60 hostnames that we want to check accross 20 different DNS servers geographically dispersed.
Checks work but I am getting a lot of random errors, all the same type:
CRITICAL 04-04-2025 11:06:11 0d 0h 4m 5s 1/10 CRITICAL - Plugin timed out while executing system call
Can someone please help with the config and what might cause the issue? The checks work but randomly time out, whcih creates a lot of noise
Here is my config
Service
command
Tweak config
Some perf info
I am setting up a box solely for DNS monitoring, we have around 60 hostnames that we want to check accross 20 different DNS servers geographically dispersed.
Checks work but I am getting a lot of random errors, all the same type:
CRITICAL 04-04-2025 11:06:11 0d 0h 4m 5s 1/10 CRITICAL - Plugin timed out while executing system call
Can someone please help with the config and what might cause the issue? The checks work but randomly time out, whcih creates a lot of noise
Here is my config
Service
Code: Select all
define service{
hostgroup_name sds_hosts
service_description check-dns-us-1
check_command check-dns-us-1
max_check_attempts 10
check_interval 7
retry_interval 6
check_period 24x7
notification_interval 30
notification_period 24x7
notification_options w,c,r
contact_groups sds-admins
}Code: Select all
define command {
command_name check-dns-us-1
command_line /opt/nagios/libexec/check_dns -H $HOSTNAME$ -s 208.67.222.220 -a $HOSTADDRESS$ -q A
}Code: Select all
check_result_reaper_frequency=3
check_result_reaper_time=10Code: Select all
service_check_timeout=180
host_check_timeout=60
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5Some perf info
Time Frame Services Checked
<= 1 minute: 144 (11.8%)
<= 5 minutes: 869 (71.5%)
<= 15 minutes: 1216 (100.0%)
<= 1 hour: 1216 (100.0%)
Since program start: 1216 (100.0%)
Metric Min. Max. Average
Check Execution Time: 0.00 sec 10.02 sec 1.529 sec
Check Latency: 0.00 sec 0.06 sec 0.003 sec
Percent State Change: 0.00% 0.00% 0.00%
Type Last 1 Min Last 5 Min Last 15 Min
Active Scheduled Host Checks 19 83 259
Active On-Demand Host Checks 5 25 69
Parallel Host Checks 19 83 259
Serial Host Checks 0 0 0
Cached Host Checks 5 25 69
Passive Host Checks 0 0 0
Active Scheduled Service Checks 141 873 2616
Active On-Demand Service Checks 0 0 0
Cached Service Checks 0 0 0
Passive Service Checks 0 0 0
External Commands 0 0 0