Project

General

Profile

Adjust Check Interval » History » Version 1

chin-yeh, 09/13/2010 09:59 AM

1 1 chin-yeh
{{toc}}
2
3
h1. Adjust Check Interval
4
5
All of the check interval is defined in the template file:
6
<pre>
7
/usr/local/nagios/etc/ecosway/templates.cfg
8
</pre>
9
10
To change the check interval, update the *normal_check_interval* attribute for the respective services' definition.
11
12
h2. os-service
13
14
All of the checks on remote hosts:
15
<pre>
16
define service{
17
        name                            os-service
18
        use                             generic-service
19
        servicegroups                   os-servicegroup
20
        max_check_attempts              4
21
        normal_check_interval           5
22
        retry_check_interval            1
23
        register                        0
24
        }
25
</pre>
26
27
h2. jboss-service
28
29
All of the jboss related checks:
30
<pre>
31
define service{
32
        name                            jboss-service
33
        use                             generic-service
34
        servicegroups                   jboss-servicegroup
35
        max_check_attempts              4
36
        normal_check_interval           5
37
        retry_check_interval            1
38
        register                        0
39
        }
40
</pre>
41
42
43
h2. ex-service
44
45
All of the external system or third party system's checks:
46
<pre>
47
define service{
48
        name                            ex-service
49
        use                             generic-service
50
        servicegroups                   ex-servicegroup
51
        max_check_attempts              4
52
        normal_check_interval           5
53
        retry_check_interval            1
54
        register                        0
55
        }
56
</pre>
57
58
h2. ecos-service
59
60
All of the eCosway application:
61
<pre>
62
define service{
63
        name                            ecos-service
64
        use                             generic-service
65
        servicegroups                   ecos-servicegroup
66
        max_check_attempts              4
67
        normal_check_interval           5
68
        retry_check_interval            1
69
        register                        0
70
        }
71
</pre>
72
73
h2. db2-service
74
75
All of the DB2's checks:
76
<pre>
77
define service{
78
        name                            db2-service
79
        use                             generic-service
80
        servicegroups                   db2-servicegroup
81
        max_check_attempts              4
82
        normal_check_interval           10
83
        retry_check_interval            1
84
        register                        0
85
        }
86
</pre>