3
Copyright (C) 2003 Stanislav Sinyagin
4
Copyright (C) 2003 Aaron S. Bush <abush at microelectronics dot com>
6
File: vendor/hp.hpux.xml
7
Description: HPUX System monitor definitions
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.
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.
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.
25
Tested with HPUX 11.00
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" />
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" />
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" />
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" />
60
<!-- FileSystem indices -->
61
<def name="FSIDX_DIR" value="M($hpuxFileSystemDir, %filesystem-name%)" />
62
<def name="FSIDX_NAME" value="M($hpuxFileSystemName, %filesystem-name%)" />
68
<template name="hpux-cpu">
69
<param name="data-file" value="%system-id%_CPU_Utilization.rrd" />
71
<leaf name="CPU_Utilization">
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" />
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" />
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" />
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" />
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 -->
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.
110
<param name="graph-legend" value="User CPU" />
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.
120
<param name="graph-legend" value="System CPU" />
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.
130
<param name="graph-legend" value="Idle CPU" />
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.
140
<param name="graph-legend" value="Nice CPU" />
142
</template> <!-- hpux-cpu -->
145
<template name="hpux-filesystem">
146
<param name="data-file" value="%system-id%_%filesystem%.rrd" />
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" />
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" />
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" />
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" />
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.
181
<param name="graph-legend" value="Blocks Total" />
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.
191
<param name="graph-legend" value="Bytes Total" />
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.
201
<param name="graph-legend" value="Blocks Free" />
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.
211
<param name="graph-legend" value="Bytes Free" />
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.
221
<param name="graph-legend" value="Blocks Avail" />
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.
231
<param name="graph-legend" value="Bytes Avail" />
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" />
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" />
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" />
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.
262
<param name="graph-legend" value="Nodes Total" />
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.
272
<param name="graph-legend" value="Nodes Free" />
275
</template> <!-- hpux-filesystem -->