~ubuntu-branches/ubuntu/lucid/torrus/lucid

« back to all changes in this revision

Viewing changes to xmlconfig/vendor/hp.hpux.xml

  • Committer: Bazaar Package Importer
  • Author(s): Jurij Smakov
  • Date: 2005-08-03 20:02:19 UTC
  • Revision ID: james.westby@ubuntu.com-20050803200219-sasyqlzj967sx1w7
Tags: upstream-1.0.3
ImportĀ upstreamĀ versionĀ 1.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!--
 
3
   Copyright (C) 2003  Stanislav Sinyagin
 
4
   Copyright (C) 2003  Aaron S. Bush  <abush at microelectronics dot com>
 
5
 
 
6
   File: vendor/hp.hpux.xml
 
7
   Description: HPUX System monitor definitions
 
8
 
 
9
   This program is free software; you can redistribute it and/or modify
 
10
   it under the terms of the GNU General Public License as published by
 
11
   the Free Software Foundation; either version 2 of the License, or
 
12
   (at your option) any later version.
 
13
 
 
14
   This program is distributed in the hope that it will be useful,
 
15
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
   GNU General Public License for more details.
 
18
 
 
19
   You should have received a copy of the GNU General Public License
 
20
   along with this program; if not, write to the Free Software
 
21
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 
22
-->
 
23
 
 
24
<!--
 
25
    Tested with HPUX 11.00
 
26
-->
 
27
 
 
28
<configuration>
 
29
 
 
30
<definitions>
 
31
  <!-- HP MIB -->
 
32
  <def name="hpuxSystemUserCPU"
 
33
                          value="1.3.6.1.4.1.11.2.3.1.1.13" />
 
34
  <def name="hpuxSystemSysCPU"
 
35
                          value="1.3.6.1.4.1.11.2.3.1.1.14" />
 
36
  <def name="hpuxSystemIdleCPU"
 
37
                          value="1.3.6.1.4.1.11.2.3.1.1.15" />
 
38
  <def name="hpuxSystemNiceCPU"
 
39
                          value="1.3.6.1.4.1.11.2.3.1.1.16" />
 
40
 
 
41
  <!-- returns lvol path; i.e. "/dev/vg00/lvol1" -->
 
42
  <def name="hpuxFileSystemName"
 
43
                          value="1.3.6.1.4.1.11.2.3.1.2.2.1.3" />
 
44
 
 
45
  <def name="hpuxFileSystemBlock"
 
46
                          value="1.3.6.1.4.1.11.2.3.1.2.2.1.4" />
 
47
  <def name="hpuxFileSystemBfree"
 
48
                          value="1.3.6.1.4.1.11.2.3.1.2.2.1.5" />
 
49
  <def name="hpuxFileSystemBavail"
 
50
                          value="1.3.6.1.4.1.11.2.3.1.2.2.1.6" />
 
51
  <def name="hpuxFileSystemFiles"
 
52
                          value="1.3.6.1.4.1.11.2.3.1.2.2.1.8" />
 
53
  <def name="hpuxFileSystemFfree"
 
54
                          value="1.3.6.1.4.1.11.2.3.1.2.2.1.9" />
 
55
 
 
56
  <!-- returns mount point name; i.e. "/stand" -->
 
57
  <def name="hpuxFileSystemDir"
 
58
                          value="1.3.6.1.4.1.11.2.3.1.2.2.1.10" />
 
59
 
 
60
  <!-- FileSystem indices -->
 
61
  <def name="FSIDX_DIR"   value="M($hpuxFileSystemDir, %filesystem-name%)" />
 
62
  <def name="FSIDX_NAME"  value="M($hpuxFileSystemName, %filesystem-name%)" />
 
63
 
 
64
</definitions>
 
65
 
 
66
<datasources>
 
67
 
 
68
  <template name="hpux-cpu">
 
69
    <param name="data-file" value="%system-id%_CPU_Utilization.rrd" />
 
70
 
 
71
    <leaf name="CPU_Utilization">
 
72
        <param name="comment"
 
73
               value="User, System, Idle, and Nice CPU Utilization" />
 
74
        <param name="precedence"        value="1000" />
 
75
        <param name="ds-type"           value="rrd-multigraph" />
 
76
        <param name="ds-names"          value="user,system,idle,nice" />
 
77
 
 
78
        <param name="ds-expr-user"      value="{User_CPU}" />
 
79
        <param name="graph-legend-user" value="User" />
 
80
        <param name="line-style-user"   value="AREA" />
 
81
        <param name="line-order-user"   value="1" />
 
82
        <param name="line-color-user"   value="#FF0000" />
 
83
 
 
84
        <param name="ds-expr-system"    value="{System_CPU}" />
 
85
        <param name="graph-legend-system"       value="System" />
 
86
        <param name="line-style-system" value="STACK" />
 
87
        <param name="line-order-system" value="2" />
 
88
        <param name="line-color-system" value="#FFFF00" />
 
89
 
 
90
        <param name="ds-expr-idle"      value="{Idle_CPU}" />
 
91
        <param name="graph-legend-idle" value="Idle" />
 
92
        <param name="line-style-idle"   value="STACK" />
 
93
        <param name="line-order-idle"   value="3" />
 
94
        <param name="line-color-idle"   value="#00FF00" />
 
95
 
 
96
        <param name="ds-expr-nice"      value="{Nice_CPU}" />
 
97
        <param name="graph-legend-nice" value="Nice" />
 
98
        <param name="line-style-nice"   value="STACK" />
 
99
        <param name="line-order-nice"   value="4" />
 
100
        <param name="line-color-nice"   value="#99CCFF" />
 
101
    </leaf> <!-- CPU_Utilization -->
 
102
 
 
103
    <leaf name="User_CPU">
 
104
      <param name="snmp-object"        value="$hpuxSystemUserCPU.0"/>
 
105
      <param name="rrd-ds"             value="hpuxSystemUserCPU" />
 
106
      <param name="rrd-create-dstype"  value="COUNTER" />
 
107
      <param name="comment">
 
108
          Average time in seconds spent by all processors in User mode.
 
109
      </param>
 
110
      <param name="graph-legend"       value="User CPU" />
 
111
    </leaf>
 
112
 
 
113
    <leaf name="System_CPU">
 
114
      <param name="snmp-object"        value="$hpuxSystemSysCPU.0"/>
 
115
      <param name="rrd-ds"             value="hpuxSystemSysCPU" />
 
116
      <param name="rrd-create-dstype"  value="COUNTER" />
 
117
      <param name="comment">
 
118
          Average time in seconds spent by all processors in System mode.
 
119
      </param>
 
120
      <param name="graph-legend"       value="System CPU" />
 
121
    </leaf>
 
122
 
 
123
    <leaf name="Idle_CPU">
 
124
      <param name="snmp-object"        value="$hpuxSystemIdleCPU.0"/>
 
125
      <param name="rrd-ds"             value="hpuxSystemIdleCPU" />
 
126
      <param name="rrd-create-dstype"  value="COUNTER" />
 
127
      <param name="comment">
 
128
          Average time in seconds spent by all processors in Idle mode.
 
129
      </param>
 
130
      <param name="graph-legend"       value="Idle CPU" />
 
131
    </leaf>
 
132
 
 
133
    <leaf name="Nice_CPU">
 
134
      <param name="snmp-object"        value="$hpuxSystemNiceCPU.0"/>
 
135
      <param name="rrd-ds"             value="hpuxSystemNiceCPU" />
 
136
      <param name="rrd-create-dstype"  value="COUNTER" />
 
137
      <param name="comment">
 
138
          Average time in seconds spent by all processors in Nice mode.
 
139
      </param>
 
140
      <param name="graph-legend"       value="Nice CPU" />
 
141
    </leaf>
 
142
  </template> <!-- hpux-cpu -->
 
143
 
 
144
 
 
145
  <template name="hpux-filesystem">
 
146
    <param name="data-file" value="%system-id%_%filesystem%.rrd" />
 
147
 
 
148
    <leaf name="FileSystem_Usage_Bytes">
 
149
        <param name="comment"           value="File system usage" />
 
150
        <param name="ds-type"           value="rrd-multigraph" />
 
151
        <param name="ds-names"          value="btotal,bfree,bfreeu" />
 
152
        <param name="precedence"        value="900" />
 
153
 
 
154
        <param name="ds-expr-btotal"    value="{Blocks_Total},1024,*" />
 
155
        <param name="graph-legend-btotal"       value="Blocks Total" />
 
156
        <param name="line-style-btotal" value="AREA" />
 
157
        <param name="line-order-btotal" value="1" />
 
158
        <param name="line-color-btotal" value="#00FF00" />
 
159
 
 
160
        <param name="ds-expr-bfree"     value="{Blocks_Free},1024,*" />
 
161
        <param name="graph-legend-bfree"        value="Blocks Free" />
 
162
        <param name="line-style-bfree"  value="AREA" />
 
163
        <param name="line-order-bfree"  value="2" />
 
164
        <param name="line-color-bfree"  value="#0000FF" />
 
165
 
 
166
        <param name="ds-expr-bfreeu"    value="{Blocks_Avail},1024,*" />
 
167
        <param name="graph-legend-bfreeu"
 
168
               value="Blocks Avail. (non-superuser)" />
 
169
        <param name="line-style-bfreeu" value="AREA" />
 
170
        <param name="line-order-bfreeu" value="3" />
 
171
        <param name="line-color-bfreeu" value="#FFFF00" />
 
172
    </leaf>
 
173
 
 
174
    <leaf name="Blocks_Total">
 
175
      <param name="snmp-object"    value="$hpuxFileSystemBlock.$FSIDX_DIR"/>
 
176
      <param name="rrd-ds"             value="hpuxFSBlocks" />
 
177
      <param name="rrd-create-dstype"  value="GAUGE" />
 
178
      <param name="comment">
 
179
          Total blocks in file system.
 
180
      </param>
 
181
      <param name="graph-legend"       value="Blocks Total" />
 
182
    </leaf>
 
183
 
 
184
    <leaf name="Bytes_Total">
 
185
      <param name="ds-type"             value="rrd-file" />
 
186
      <param name="leaf-type"           value="rrd-cdef" />
 
187
      <param name="rpn-expr"            value="{Blocks_Total},1024,*" />
 
188
      <param name="comment">
 
189
          Total bytes in files system.
 
190
      </param>
 
191
      <param name="graph-legend"       value="Bytes Total" />
 
192
    </leaf>
 
193
 
 
194
    <leaf name="Blocks_Free">
 
195
      <param name="snmp-object"    value="$hpuxFileSystemBfree.$FSIDX_DIR"/>
 
196
      <param name="rrd-ds"             value="hpuxFSBfree" />
 
197
      <param name="rrd-create-dstype"  value="GAUGE" />
 
198
      <param name="comment">
 
199
          Free blocks in file system.
 
200
      </param>
 
201
      <param name="graph-legend"       value="Blocks Free" />
 
202
    </leaf>
 
203
 
 
204
    <leaf name="Bytes_Free">
 
205
      <param name="ds-type"             value="rrd-file" />
 
206
      <param name="leaf-type"           value="rrd-cdef" />
 
207
      <param name="rpn-expr"            value="{Blocks_Free},1024,*" />
 
208
      <param name="comment">
 
209
          Free bytes in files system.
 
210
      </param>
 
211
      <param name="graph-legend"       value="Bytes Free" />
 
212
    </leaf>
 
213
 
 
214
    <leaf name="Blocks_Avail">
 
215
      <param name="snmp-object"   value="$hpuxFileSystemBavail.$FSIDX_DIR"/>
 
216
      <param name="rrd-ds"             value="hpuxFSBavail" />
 
217
      <param name="rrd-create-dstype"  value="GAUGE" />
 
218
      <param name="comment">
 
219
          Free blocks avail to non-superuser.
 
220
      </param>
 
221
      <param name="graph-legend"       value="Blocks Avail" />
 
222
    </leaf>
 
223
 
 
224
    <leaf name="Bytes_Avail">
 
225
      <param name="ds-type"             value="rrd-file" />
 
226
      <param name="leaf-type"           value="rrd-cdef" />
 
227
      <param name="rpn-expr"            value="{Blocks_Avail},1024,*" />
 
228
      <param name="comment">
 
229
          Free bytes avail to non-superuser.
 
230
      </param>
 
231
      <param name="graph-legend"       value="Bytes Avail" />
 
232
    </leaf>
 
233
 
 
234
    <leaf name="FileSystem_Node">
 
235
        <param name="comment"           value="File system inode usage" />
 
236
        <param name="ds-type"           value="rrd-multigraph" />
 
237
        <param name="ds-names"          value="itotal,ifree" />
 
238
        <param name="precedence"        value="800" />
 
239
 
 
240
        <param name="ds-expr-itotal"    value="{Nodes_Total}" />
 
241
        <param name="graph-legend-itotal"       value="inode Total" />
 
242
        <param name="graph-legend"
 
243
               value="%itotal% {itotal} %Nodes_Total% {Nodes_Total}" />
 
244
        <param name="line-style-itotal" value="AREA" />
 
245
        <param name="line-order-itotal" value="1" />
 
246
        <param name="line-color-itotal" value="#00FF00" />
 
247
 
 
248
        <param name="ds-expr-ifree"     value="{Nodes_Free}" />
 
249
        <param name="graph-legend-ifree"        value="inode Free" />
 
250
        <param name="line-style-ifree"  value="AREA" />
 
251
        <param name="line-order-ifree"  value="1" />
 
252
        <param name="line-color-ifree"  value="#0000FF" />
 
253
    </leaf>
 
254
 
 
255
    <leaf name="Nodes_Total">
 
256
      <param name="snmp-object"   value="$hpuxFileSystemFiles.$FSIDX_DIR"/>
 
257
      <param name="rrd-ds"             value="hpuxFSFiles" />
 
258
      <param name="rrd-create-dstype"  value="GAUGE" />
 
259
      <param name="comment">
 
260
          Total file nodes in file system.
 
261
      </param>
 
262
      <param name="graph-legend"       value="Nodes Total" />
 
263
    </leaf>
 
264
 
 
265
    <leaf name="Nodes_Free">
 
266
      <param name="snmp-object"   value="$hpuxFileSystemFfree.$FSIDX_DIR"/>
 
267
      <param name="rrd-ds"             value="hpuxFSFfree" />
 
268
      <param name="rrd-create-dstype"  value="GAUGE" />
 
269
      <param name="comment">
 
270
          Free file nodes in file system.
 
271
      </param>
 
272
      <param name="graph-legend"       value="Nodes Free" />
 
273
    </leaf>
 
274
 
 
275
  </template>  <!-- hpux-filesystem -->
 
276
 
 
277
</datasources>
 
278
</configuration>