Page 1 of 1

Why these two services notified me in different frequency ?

Posted: Thu Aug 30, 2012 10:19 pm
by phycgp
The first service notified me every five minutes
define service{
host_name bm-tlbb-db-124.208
service_description Disk
_SERVICE_ID 473
use nrpe_Disk
max_check_attempts 1
notification_interval 120
first_notification_delay 0
notification_options w,c
}
USE
define service{
name nrpe_Disk
service_description Disk
use generic-service
check_command check_nrpe!check_disk
notification_period 24x7
notification_interval 60
notification_options w,c
first_notification_delay 0
register 0
;TEMPLATE-HOST-LINK bm-sg-webserver
;TEMPLATE-HOST-LINK bm-xx-gameserver
;TEMPLATE-HOST-LINK bm-tlbb-gameserver
;TEMPLATE-HOST-LINK bm-tlbb-dbserver
;TEMPLATE-HOST-LINK bm-xx-dbserver
;TEMPLATE-HOST-LINK db_system
;TEMPLATE-HOST-LINK db_machine
}
USE
define service{
name generic-service
service_description generic-service
is_volatile 1
max_check_attempts 3
normal_check_interval 5
retry_check_interval 2
active_checks_enabled 1
passive_checks_enabled 0
check_period 24x7
notification_period 24x7
notification_interval 60
notification_options w,c
first_notification_delay 60
contact_groups Supervisors
register 0
}
The second service notified me every 60 minutes
define service{
host_name bm-tlbb-db-124.208
service_description mysql_tmp_disk_tables_3306
_SERVICE_ID 1087
use mysql_tmp_disk_tables_3306
notification_period 24x7
}
USE
define service{
name mysql_tmp_disk_tables_3306
service_description mysql_tmp_disk_tables_3306
use check_mysql_health
check_command check_mysql_health!3306!tmp-disk-tables!25!50
notification_period 24x7
notification_interval 60
notification_options w,c
first_notification_delay 0
register 0
;TEMPLATE-HOST-LINK db_mysql_health_port3306
}
USE
define service{
name check_mysql_health
service_description check_mysql_health
check_command check_mysql_health!3309!bufferpool-hitrate!40!80
max_check_attempts 3
normal_check_interval 5
retry_check_interval 2
check_period 24x7
notification_period 24x7
notification_interval 60
notification_options w,c
first_notification_delay 0
contacts overseas_db
register 0
}
thanks!