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.
|
|
|
|
check_command check_named_procs!autossh!9:9!9:15
|
|
|
|
}
|