add dns checks
This commit is contained in:
parent
63917f309a
commit
17265d8c4e
|
@ -12,7 +12,7 @@ services:
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: nagios
|
container_name: nagios
|
||||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:250219.1.02
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:250219.1.03
|
||||||
networks:
|
networks:
|
||||||
infra_dev_net:
|
infra_dev_net:
|
||||||
ipv4_address: 10.99.23.36
|
ipv4_address: 10.99.23.36
|
||||||
|
|
|
@ -233,6 +233,7 @@ define command {
|
||||||
define command {
|
define command {
|
||||||
command_name check_local_dns_a_record
|
command_name check_local_dns_a_record
|
||||||
command_line $USER1$/check_dns -H $ARG1$ -q A -s $HOSTNAME$ -w 2 -c 5 -t 7
|
command_line $USER1$/check_dns -H $ARG1$ -q A -s $HOSTNAME$ -w 2 -c 5 -t 7
|
||||||
|
}
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_nrpe
|
command_name check_nrpe
|
||||||
|
|
Loading…
Reference in New Issue