Created
April 14, 2011 12:32
-
-
Save dzinevich/919376 to your computer and use it in GitHub Desktop.
web01-cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define host{ | |
use generic-host ; Name of host template to use | |
host_name dwefdqwwe | |
alias web01-1 | |
address 10.224.50.80 | |
} | |
# Define a service to check the number of currently logged in | |
# users on the local machine. Warning if > 20 users, critical | |
# if > 50 users. | |
define service{ | |
use generic-service ; Name of service template to use | |
host_name web01-app | |
service_description Current Users | |
check_command check_nrpe!check_users | |
} | |
# Define a service to check the number of currently running procs | |
# on the local machine. Warning if > 250 processes, critical if | |
# > 400 processes. | |
define service{ | |
use generic-service ; Name of service template to use | |
host_name web01-app | |
service_description Total Processes | |
check_command check_nrpe!check_total_procs | |
} | |
# Define a service to check the load on the local machine. | |
define service{ | |
use generic-service ; Name of service template to use | |
host_name web01-app | |
service_description Current Load | |
check_command check_nrpe!check_load | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment