define host{
name generic-readynas; The name of this host template
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
failure_prediction_enabled 1 ; Failure prediction is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
notification_period 24x7 ; Send host notifications at any time
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}
define service{
use local-service
hostgroup_name readynas-systems
service_description PING
check_command check_ping!200.0,20%!500.0,60%
}
define hostgroup{
hostgroup_name readynas-systems
alias readynas-systems
members READYNAS_HOST_NAME
}
define service{
use generic-service
hostgroup_name readynas-systems
service_description Temperature
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_readynas_temperature
}
define command{
command_name check_readynas_temperature
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o READYNAS-MIB::temperatureStatus.1 -C public -P 2c
}
define service{
use generic-service
hostgroup_name readynas-systems
service_description Disk 1 Status
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_readynas_disk1
}
define command{
command_name check_readynas_disk1
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o READYNAS-MIB::diskState.1 -C public -P 2c
}
define service{
use generic-service
hostgroup_name readynas-systems
service_description Disk 2 Status
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_readynas_disk2
}
define command{
command_name check_readynas_disk2
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o READYNAS-MIB::diskState.2 -C public -P 2c
}
define service{
use generic-service
hostgroup_name readynas-systems
service_description Disk 3 Status
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_readynas_disk3
}
define command{
command_name check_readynas_disk3
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o READYNAS-MIB::diskState.3 -C public -P 2c
}
define service{
use generic-service
hostgroup_name readynas-systems
service_description Disk 4 Status
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_readynas_disk4
}
define command{
command_name check_readynas_disk4
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o READYNAS-MIB::diskState.4 -C public -P 2c
}
define service{
use generic-service
hostgroup_name readynas-systems
service_description Volume Status
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_readynas_volumestatus
}
define command{
command_name check_readynas_volumestatus
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o READYNAS-MIB::volumeStatus.1 -C public -P 2c
}
define service{
use generic-service
hostgroup_name readynas-systems
service_description Volume FreeSpace
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options w,u,c,r
check_command check_readynas_volumefree
}
define command{
command_name check_readynas_volumefree
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o READYNAS-MIB::volumeFreeSpace.1 -C public -P 2c -w 250000:100000 -c 99999:0
}
Add Comment