zulip/puppet/zulip_ops/files/nagios3/conf.d/localhost.cfg

51 lines
1.9 KiB
INI

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_nokthreads!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
check_command check_load!7.0!6.0!5.0!10.0!8.0!6.0
}
define service{
use generic-service
host_name nagios
service_description Check postgres replication lag
check_command check_postgres_replication_lag
}
define service{
use generic-service
host_name nagios
service_description Check Camo is operational
check_command check_website_response!https://external-content.zulipcdn.net/d525eda91c5dc46d0fa5277e35c62b6a0bb10add/687474703a2f2f7777772e676f6f676c652e636f6d2f66617669636f6e2e69636f!6000!12000!
}