don't shcek http on localhost
This commit is contained in:
parent
aa2df6307b
commit
03bd251c27
|
@ -12,7 +12,7 @@ services:
|
|||
build:
|
||||
dockerfile: Dockerfile
|
||||
container_name: nagios
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:241230.0.9
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:241230.0.10
|
||||
networks:
|
||||
infra_dev_net:
|
||||
ipv4_address: 10.99.23.36
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# LOCALHOST.CFG - SAMPLE OBJECT CONFIG FILE FOR MONITORING THIS MACHINE
|
||||
#
|
||||
#
|
||||
# NOTE: This config file is intended to serve as an *extremely* simple
|
||||
# NOTE: This config file is intended to serve as an *extremely* simple
|
||||
# example of how you can create configuration entries to monitor
|
||||
# the local (Linux) machine.
|
||||
#
|
||||
|
@ -107,7 +107,7 @@ define service{
|
|||
|
||||
|
||||
|
||||
# Define a service to check the load on the local machine.
|
||||
# Define a service to check the load on the local machine.
|
||||
|
||||
define service{
|
||||
use local-service,graphed-service ; Name of service template to use
|
||||
|
@ -118,7 +118,7 @@ define service{
|
|||
|
||||
|
||||
|
||||
# Define a service to check the swap usage the local machine.
|
||||
# Define a service to check the swap usage the local machine.
|
||||
# Critical if less than 10% of swap is free, warning if less than 20% is free
|
||||
|
||||
define service{
|
||||
|
@ -139,5 +139,6 @@ define service{
|
|||
service_description HTTP
|
||||
check_command check_http
|
||||
notifications_enabled 0
|
||||
register 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue