2012-11-01 15:47:50 +01:00
|
|
|
define host{
|
|
|
|
use generic-host
|
|
|
|
host_name nagios
|
|
|
|
alias nagios
|
|
|
|
address 127.0.0.1
|
|
|
|
hostgroups all
|
|
|
|
}
|
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Current Users
|
|
|
|
check_command check_users!20!50
|
|
|
|
}
|
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Total Processes
|
2016-10-01 20:59:56 +02:00
|
|
|
check_command check_procs_nokthreads!350!500
|
2012-11-01 15:47:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Disk Space
|
|
|
|
check_command check_all_disks!20%!10%
|
|
|
|
}
|
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Current Load
|
2013-04-22 02:07:16 +02:00
|
|
|
check_command check_load!7.0!6.0!5.0!10.0!8.0!6.0
|
2012-11-01 15:47:50 +01:00
|
|
|
}
|
2013-07-17 17:44:45 +02:00
|
|
|
|
2013-08-22 23:01:12 +02:00
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Check postgres replication lag
|
2016-04-07 00:27:41 +02:00
|
|
|
check_command check_postgres_replication_lag
|
2013-08-22 23:01:12 +02:00
|
|
|
}
|
2013-11-16 17:32:44 +01:00
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Check Camo is operational
|
2016-07-21 07:59:17 +02:00
|
|
|
check_command check_website_response!<%= @nagios_camo_check_url %>!6000!12000!
|
2013-11-16 17:32:44 +01:00
|
|
|
}
|