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
|
2022-06-14 00:46:24 +02:00
|
|
|
}
|
2012-11-01 15:47:50 +01:00
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Current Users
|
|
|
|
check_command check_users!20!50
|
2022-06-14 00:46:24 +02:00
|
|
|
}
|
2012-11-01 15:47:50 +01:00
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Total Processes
|
2018-05-02 20:12:12 +02:00
|
|
|
check_command check_procs_nokthreads!500!650
|
2022-06-14 00:46:24 +02:00
|
|
|
}
|
2012-11-01 15:47:50 +01:00
|
|
|
|
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Disk Space
|
2020-04-17 02:48:36 +02:00
|
|
|
check_command check_local_disk!20%!10%
|
2022-06-14 00:46:24 +02:00
|
|
|
}
|
2012-11-01 15:47:50 +01:00
|
|
|
|
|
|
|
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
|
2022-06-14 00:46:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### External resources, only run on localhost
|
2013-07-17 17:44:45 +02:00
|
|
|
|
2013-11-16 17:32:44 +01:00
|
|
|
define service{
|
|
|
|
use generic-service
|
|
|
|
host_name nagios
|
|
|
|
service_description Check Camo is operational
|
2021-06-25 02:15:26 +02:00
|
|
|
check_command check_camo!<%= @nagios_camo_check_host %>!<%= @nagios_camo_check_path %>!6!12
|
2022-06-14 00:46:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check desktop APT repository
|
|
|
|
host_name nagios
|
|
|
|
check_command check_apt_repo_status!download.zulip.com!/desktop/apt
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check chat.fhir.org cert
|
|
|
|
host_name nagios
|
|
|
|
check_command check_ssl_certificate!chat.fhir.org
|
|
|
|
contact_groups admins
|
|
|
|
}
|