Compare commits

..

No commits in common. "aea83fcf8a9841781b37eee27dd46d244d9f35c1" and "1cacb5c02e2979a48f55566acbb46ca755bc2fb2" have entirely different histories.

4 changed files with 25 additions and 40 deletions

View File

@ -12,7 +12,7 @@ services:
build:
dockerfile: Dockerfile
container_name: nagios
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:250321.1.01
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:250219.1.05
networks:
infra_dev_net:
ipv4_address: 10.99.23.36

View File

@ -33,7 +33,7 @@
command[check_proc_docker]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C dockerd
command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /
command[check_disk_docker]=sudo /usr/lib/nagios/plugins/check_disk -w 15% -c 10% -p /var/lib/docker/volumes
command[check_disk_docker]=sudo /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/docker/volumes
command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
command[check_procs]=/usr/lib/nagios/plugins/check_procs -w 275 -c 350
command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 1 -c 10 -s Z

View File

@ -38,16 +38,23 @@ define host{
#Access Points
define host{
use network-device
host_name ap-1-1-office.in.thelinuxpro.net
alias ap-1-1-office
address 10.200.254.233
host_name ap-1-1-garage.in.thelinuxpro.net
alias ap-1-1-garage
address 10.200.254.231
}
define host{
use network-device
host_name ap-1-2-office.in.thelinuxpro.net
alias ap-1-2-office
address 10.200.254.232
}
define host{
use network-device
host_name ap-2-1-office.in.thelinuxpro.net
alias ap-2-1-office
address 10.200.254.236
address 10.200.254.233
}
define host{

View File

@ -28,22 +28,22 @@ define service{
define service{
use local-service,graphed-service
host_name pi501.in.thelinuxpro.net
service_description Container Status: ns0
check_command check_nrpe!check_docker_container_status_ns0
service_description Container Status: ns1
check_command check_nrpe!check_docker_container_status_ns1
}
define service{
use local-service,graphed-service
host_name pi501.in.thelinuxpro.net
service_description Container CPU: ns0
check_command check_nrpe!check_docker_container_cpu_ns0
service_description Container CPU: ns1
check_command check_nrpe!check_docker_container_cpu_ns1
}
define service{
use local-service,graphed-service
host_name pi501.in.thelinuxpro.net
service_description Container Memory: ns0
check_command check_nrpe!check_docker_container_memory_ns0
service_description Container Memory: ns1
check_command check_nrpe!check_docker_container_memory_ns1
register 0
}
@ -249,22 +249,22 @@ define service{
define service{
use local-service,graphed-service
host_name pi502.in.thelinuxpro.net
service_description Container Status: ns1
check_command check_nrpe!check_docker_container_status_ns1
service_description Container Status: ns2
check_command check_nrpe!check_docker_container_status_ns2
}
define service{
use local-service,graphed-service
host_name pi502.in.thelinuxpro.net
service_description Container CPU: ns1
check_command check_nrpe!check_docker_container_cpu_ns1
service_description Container CPU: ns2
check_command check_nrpe!check_docker_container_cpu_ns2
}
define service{
use local-service,graphed-service
host_name pi502.in.thelinuxpro.net
service_description Container Memory: ns1
check_command check_nrpe!check_docker_container_memory_ns1
service_description Container Memory: ns2
check_command check_nrpe!check_docker_container_memory_ns2
register 0
}
@ -467,28 +467,6 @@ define service{
}
## PI503
define service{
use local-service,graphed-service
host_name pi503.in.thelinuxpro.net
service_description Container Status: ns2
check_command check_nrpe!check_docker_container_status_ns2
}
define service{
use local-service,graphed-service
host_name pi503.in.thelinuxpro.net
service_description Container CPU: ns2
check_command check_nrpe!check_docker_container_cpu_ns2
}
define service{
use local-service,graphed-service
host_name pi503.in.thelinuxpro.net
service_description Container Memory: ns2
check_command check_nrpe!check_docker_container_memory_ns2
register 0
}
define service{
use local-service,graphed-service
host_name pi503.in.thelinuxpro.net