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
|
|
|
|
check_command check_procs!250!400
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Number of autossh processes
|
|
|
|
# If you change the number of munin autossh processes, change
|
|
|
|
# the second and third arguments, below.
|
2013-11-23 00:59:52 +01:00
|
|
|
check_command check_named_procs!autossh!10:10!10:15
|
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
|
|
|
|
check_command check_pg_replication_lag
|
|
|
|
}
|
2013-11-16 17:32:44 +01:00
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Check Camo is operational
|
|
|
|
check_command check_website_response!https://external-content.zulipcdn.net/e9e01825634805fcf710af13c0e68f344663fc83/687474703a2f2f692e696d6775722e636f6d2f5a713131627a732e676966!6000!12000!
|
|
|
|
}
|