Project

General

Profile

Actions

Adjust Check Interval

All of the check interval is defined in the template file:

/usr/local/nagios/etc/ecosway/templates.cfg

To change the check interval, update the normal_check_interval attribute for the respective services' definition.

os-service

All of the checks on remote hosts:

define service{
        name                            os-service
        use                             generic-service
        servicegroups                   os-servicegroup
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        register                        0
        }

jboss-service

All of the jboss related checks:

define service{
        name                            jboss-service
        use                             generic-service
        servicegroups                   jboss-servicegroup
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        register                        0
        }

ex-service

All of the external system or third party system's checks:

define service{
        name                            ex-service
        use                             generic-service
        servicegroups                   ex-servicegroup
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        register                        0
        }

ecos-service

All of the eCosway application:

define service{
        name                            ecos-service
        use                             generic-service
        servicegroups                   ecos-servicegroup
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        register                        0
        }

db2-service

All of the DB2's checks:

define service{
        name                            db2-service
        use                             generic-service
        servicegroups                   db2-servicegroup
        max_check_attempts              4
        normal_check_interval           10
        retry_check_interval            1
        register                        0
        }

Updated by chin-yeh over 14 years ago · 1 revisions