fixed perf tab settings format in default templates
[public/netxms.git] / contrib / templates / linux.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <configuration>
3 <formatVersion>4</formatVersion>
4 <description>Linux monitoring template</description>
5 <events>
6 <event id="100001">
7 <name>OS_HIGH_CPU_IOWAIT</name>
8 <guid>3653cf7e-88ff-4245-95a3-44b7d63e5fbe</guid>
9 <code>100001</code>
10 <severity>2</severity>
11 <flags>1</flags>
12 <message>High CPU I/O wait (%4%%)</message>
13 <description></description>
14 </event>
15 <event id="100000">
16 <name>OS_LOW_AVAILABLE_MEM</name>
17 <guid>3bf0d850-d820-4968-a263-04516909fe5a</guid>
18 <code>100000</code>
19 <severity>3</severity>
20 <flags>1</flags>
21 <message>Low avalable physical memory (%4%%)</message>
22 <description></description>
23 </event>
24 <event id="100002">
25 <name>OS_HIGH_DISK_QUEUE_LENGTH</name>
26 <guid>6e4645db-71bb-42e8-9b48-f2e08f2826e6</guid>
27 <code>100002</code>
28 <severity>2</severity>
29 <flags>1</flags>
30 <message>Disk queue length is too high (%4)</message>
31 <description></description>
32 </event>
33 </events>
34 <templates>
35 <template id="101">
36 <guid>5a0abe02-448a-43cb-800c-5d7ac25b3131</guid>
37 <name>Linux</name>
38 <flags>1</flags>
39 <path>
40 <element id="1">Operating Systems</element>
41 </path>
42 <dataCollection>
43 <dci id="10">
44 <guid>00ec9f9e-637b-4e21-b22b-6ee8e33b72d4</guid>
45 <name>System.Memory.Physical.Available</name>
46 <description>System: available physical memory</description>
47 <dataType>3</dataType>
48 <samples>0</samples>
49 <origin>1</origin>
50 <interval>0</interval>
51 <retention>0</retention>
52 <instance></instance>
53 <systemTag></systemTag>
54 <delta>0</delta>
55 <flags>0</flags>
56 <snmpRawValueType>0</snmpRawValueType>
57 <snmpPort>0</snmpPort>
58 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
59 <transformation></transformation>
60 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;false&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;true&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;minYScaleValue&gt;1&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;0&lt;/type&gt;&#x0A; &lt;color&gt;49152&lt;/color&gt;&#x0A; &lt;title&gt;&lt;/title&gt;&#x0A; &lt;name&gt;&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;parentDciId&gt;0&lt;/parentDciId&gt;&#x0A; &lt;order&gt;100&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
61 <instanceDiscoveryData></instanceDiscoveryData>
62 <instanceFilter></instanceFilter>
63 </dci>
64 <dci id="9">
65 <guid>21c24e05-23ee-475b-95fd-aa8db639a43b</guid>
66 <name>System.Memory.Physical.Cached</name>
67 <description>System: cache memory</description>
68 <dataType>3</dataType>
69 <samples>0</samples>
70 <origin>1</origin>
71 <interval>0</interval>
72 <retention>0</retention>
73 <instance></instance>
74 <systemTag></systemTag>
75 <delta>0</delta>
76 <flags>0</flags>
77 <snmpRawValueType>0</snmpRawValueType>
78 <snmpPort>0</snmpPort>
79 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
80 <transformation></transformation>
81 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;false&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;true&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;minYScaleValue&gt;1&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;0&lt;/type&gt;&#x0A; &lt;color&gt;49152&lt;/color&gt;&#x0A; &lt;title&gt;&lt;/title&gt;&#x0A; &lt;name&gt;&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;parentDciId&gt;0&lt;/parentDciId&gt;&#x0A; &lt;order&gt;100&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
82 <instanceDiscoveryData></instanceDiscoveryData>
83 <instanceFilter></instanceFilter>
84 </dci>
85 <dci id="8">
86 <guid>fcbc2d2a-5991-420f-bd9e-6f5e22448e34</guid>
87 <name>System.CPU.Usage.User</name>
88 <description>CPU: usage (user)</description>
89 <dataType>5</dataType>
90 <samples>0</samples>
91 <origin>1</origin>
92 <interval>0</interval>
93 <retention>0</retention>
94 <instance></instance>
95 <systemTag></systemTag>
96 <delta>0</delta>
97 <flags>0</flags>
98 <snmpRawValueType>0</snmpRawValueType>
99 <snmpPort>0</snmpPort>
100 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
101 <transformation></transformation>
102 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;true&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;false&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;stacked&gt;false&lt;/stacked&gt;&#x0A; &lt;extendedLegend&gt;true&lt;/extendedLegend&gt;&#x0A; &lt;minYScaleValue&gt;0&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;1&lt;/type&gt;&#x0A; &lt;color&gt;9498256&lt;/color&gt;&#x0A; &lt;title&gt;&lt;/title&gt;&#x0A; &lt;name&gt;User&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;groupName&gt;OS_CPU_Usage&lt;/groupName&gt;&#x0A; &lt;order&gt;2&lt;/order&gt;&#x0A; &lt;parentDciId&gt;185&lt;/parentDciId&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
103 <instanceDiscoveryData></instanceDiscoveryData>
104 <instanceFilter></instanceFilter>
105 </dci>
106 <dci id="7">
107 <guid>b8296d2f-9b04-4ae5-a6eb-6e065ba2f999</guid>
108 <name>System.CPU.Usage.System</name>
109 <description>CPU: usage (system)</description>
110 <dataType>5</dataType>
111 <samples>0</samples>
112 <origin>1</origin>
113 <interval>0</interval>
114 <retention>0</retention>
115 <instance></instance>
116 <systemTag></systemTag>
117 <delta>0</delta>
118 <flags>0</flags>
119 <snmpRawValueType>0</snmpRawValueType>
120 <snmpPort>0</snmpPort>
121 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
122 <transformation></transformation>
123 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;true&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;false&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;stacked&gt;false&lt;/stacked&gt;&#x0A; &lt;extendedLegend&gt;true&lt;/extendedLegend&gt;&#x0A; &lt;minYScaleValue&gt;0&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;1&lt;/type&gt;&#x0A; &lt;color&gt;2763429&lt;/color&gt;&#x0A; &lt;title&gt;CPU Usage - Detailed&lt;/title&gt;&#x0A; &lt;name&gt;System&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;groupName&gt;OS_CPU_Usage&lt;/groupName&gt;&#x0A; &lt;order&gt;1&lt;/order&gt;&#x0A; &lt;parentDciId&gt;0&lt;/parentDciId&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
124 <instanceDiscoveryData></instanceDiscoveryData>
125 <instanceFilter></instanceFilter>
126 </dci>
127 <dci id="6">
128 <guid>4f48be5e-a13d-4102-9d3c-3152fec54e2b</guid>
129 <name>System.Memory.Physical.CachedPerc</name>
130 <description>System: cache memory (%)</description>
131 <dataType>1</dataType>
132 <samples>0</samples>
133 <origin>1</origin>
134 <interval>0</interval>
135 <retention>0</retention>
136 <instance></instance>
137 <systemTag></systemTag>
138 <delta>0</delta>
139 <flags>0</flags>
140 <snmpRawValueType>0</snmpRawValueType>
141 <snmpPort>0</snmpPort>
142 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
143 <transformation></transformation>
144 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;false&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;true&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;minYScaleValue&gt;1&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;0&lt;/type&gt;&#x0A; &lt;color&gt;49152&lt;/color&gt;&#x0A; &lt;title&gt;&lt;/title&gt;&#x0A; &lt;name&gt;&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;parentDciId&gt;0&lt;/parentDciId&gt;&#x0A; &lt;order&gt;100&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
145 <instanceDiscoveryData></instanceDiscoveryData>
146 <instanceFilter></instanceFilter>
147 </dci>
148 <dci id="5">
149 <guid>46b64804-8cfb-44ab-a5f1-b95bd3b55099</guid>
150 <name>System.CPU.Usage.Irq</name>
151 <description>CPU: usage (interrupts)</description>
152 <dataType>5</dataType>
153 <samples>0</samples>
154 <origin>1</origin>
155 <interval>0</interval>
156 <retention>0</retention>
157 <instance></instance>
158 <systemTag></systemTag>
159 <delta>0</delta>
160 <flags>0</flags>
161 <snmpRawValueType>0</snmpRawValueType>
162 <snmpPort>0</snmpPort>
163 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
164 <transformation></transformation>
165 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;true&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;false&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;stacked&gt;false&lt;/stacked&gt;&#x0A; &lt;extendedLegend&gt;true&lt;/extendedLegend&gt;&#x0A; &lt;minYScaleValue&gt;0&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;0&lt;/type&gt;&#x0A; &lt;color&gt;42495&lt;/color&gt;&#x0A; &lt;title&gt;&lt;/title&gt;&#x0A; &lt;name&gt;Interrupts&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;groupName&gt;OS_CPU_Usage&lt;/groupName&gt;&#x0A; &lt;order&gt;100&lt;/order&gt;&#x0A; &lt;parentDciId&gt;185&lt;/parentDciId&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
166 <instanceDiscoveryData></instanceDiscoveryData>
167 <instanceFilter></instanceFilter>
168 </dci>
169 <dci id="4">
170 <guid>ac9d0c02-756c-45b4-b88f-cb156bc6b5c5</guid>
171 <name>System.CPU.Usage.IoWait</name>
172 <description>CPU: usage (I/O wait)</description>
173 <dataType>5</dataType>
174 <samples>0</samples>
175 <origin>1</origin>
176 <interval>0</interval>
177 <retention>0</retention>
178 <instance></instance>
179 <systemTag></systemTag>
180 <delta>0</delta>
181 <flags>0</flags>
182 <snmpRawValueType>0</snmpRawValueType>
183 <snmpPort>0</snmpPort>
184 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
185 <transformation></transformation>
186 <thresholds>
187 <threshold id="1">
188 <function>0</function>
189 <condition>4</condition>
190 <value>50</value>
191 <activationEvent>OS_HIGH_CPU_IOWAIT</activationEvent>
192 <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
193 <sampleCount>3</sampleCount>
194 <repeatInterval>-1</repeatInterval>
195 <script></script>
196 </threshold>
197 </thresholds>
198 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;true&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;false&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;stacked&gt;false&lt;/stacked&gt;&#x0A; &lt;extendedLegend&gt;true&lt;/extendedLegend&gt;&#x0A; &lt;minYScaleValue&gt;0&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;0&lt;/type&gt;&#x0A; &lt;color&gt;16748574&lt;/color&gt;&#x0A; &lt;title&gt;&lt;/title&gt;&#x0A; &lt;name&gt;I/O wait&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;groupName&gt;OS_CPU_Usage&lt;/groupName&gt;&#x0A; &lt;order&gt;3&lt;/order&gt;&#x0A; &lt;parentDciId&gt;185&lt;/parentDciId&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
199 <instanceDiscoveryData></instanceDiscoveryData>
200 <instanceFilter></instanceFilter>
201 </dci>
202 <dci id="3">
203 <guid>3febe585-f432-4750-825c-764b5706b634</guid>
204 <name>System.IO.DiskTime</name>
205 <description>I/O: percent of CPU time spent on I/O</description>
206 <dataType>5</dataType>
207 <samples>0</samples>
208 <origin>1</origin>
209 <interval>0</interval>
210 <retention>0</retention>
211 <instance></instance>
212 <systemTag></systemTag>
213 <delta>0</delta>
214 <flags>0</flags>
215 <snmpRawValueType>0</snmpRawValueType>
216 <snmpPort>0</snmpPort>
217 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
218 <transformation></transformation>
219 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;false&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;true&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;minYScaleValue&gt;1&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;0&lt;/type&gt;&#x0A; &lt;color&gt;49152&lt;/color&gt;&#x0A; &lt;title&gt;&lt;/title&gt;&#x0A; &lt;name&gt;&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;parentDciId&gt;0&lt;/parentDciId&gt;&#x0A; &lt;order&gt;100&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
220 <instanceDiscoveryData></instanceDiscoveryData>
221 <instanceFilter></instanceFilter>
222 </dci>
223 <dci id="2">
224 <guid>6ac8d013-0f12-45a7-bd31-5d36c9a4236b</guid>
225 <name>System.IO.DiskQueue</name>
226 <description>I/O: average disk queue</description>
227 <dataType>5</dataType>
228 <samples>0</samples>
229 <origin>1</origin>
230 <interval>0</interval>
231 <retention>0</retention>
232 <instance></instance>
233 <systemTag></systemTag>
234 <delta>0</delta>
235 <flags>0</flags>
236 <snmpRawValueType>0</snmpRawValueType>
237 <snmpPort>0</snmpPort>
238 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
239 <transformation></transformation>
240 <thresholds>
241 <threshold id="1">
242 <function>0</function>
243 <condition>4</condition>
244 <value>2</value>
245 <activationEvent>OS_HIGH_DISK_QUEUE_LENGTH</activationEvent>
246 <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
247 <sampleCount>5</sampleCount>
248 <repeatInterval>-1</repeatInterval>
249 <script></script>
250 </threshold>
251 </thresholds>
252 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;true&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;true&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;minYScaleValue&gt;1&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;1&lt;/type&gt;&#x0A; &lt;color&gt;8388736&lt;/color&gt;&#x0A; &lt;title&gt;Disk Queue&lt;/title&gt;&#x0A; &lt;name&gt;&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;parentDciId&gt;0&lt;/parentDciId&gt;&#x0A; &lt;order&gt;100&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
253 <instanceDiscoveryData></instanceDiscoveryData>
254 <instanceFilter></instanceFilter>
255 </dci>
256 <dci id="1">
257 <guid>eec23c2a-5a75-4233-985f-2a0fbe5633fc</guid>
258 <name>System.Memory.Physical.AvailablePerc</name>
259 <description>System: available physical memory (%)</description>
260 <dataType>1</dataType>
261 <samples>0</samples>
262 <origin>1</origin>
263 <interval>0</interval>
264 <retention>0</retention>
265 <instance></instance>
266 <systemTag></systemTag>
267 <delta>0</delta>
268 <flags>0</flags>
269 <snmpRawValueType>0</snmpRawValueType>
270 <snmpPort>0</snmpPort>
271 <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
272 <transformation></transformation>
273 <thresholds>
274 <threshold id="1">
275 <function>0</function>
276 <condition>0</condition>
277 <value>10</value>
278 <activationEvent>OS_LOW_AVAILABLE_MEM</activationEvent>
279 <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
280 <sampleCount>1</sampleCount>
281 <repeatInterval>-1</repeatInterval>
282 <script></script>
283 </threshold>
284 </thresholds>
285 <perfTabSettings>&lt;config&gt;&#x0A; &lt;enabled&gt;false&lt;/enabled&gt;&#x0A; &lt;autoScale&gt;true&lt;/autoScale&gt;&#x0A; &lt;logScaleEnabled&gt;false&lt;/logScaleEnabled&gt;&#x0A; &lt;minYScaleValue&gt;1&lt;/minYScaleValue&gt;&#x0A; &lt;maxYScaleValue&gt;100&lt;/maxYScaleValue&gt;&#x0A; &lt;timeRange&gt;1&lt;/timeRange&gt;&#x0A; &lt;timeUnits&gt;1&lt;/timeUnits&gt;&#x0A; &lt;type&gt;0&lt;/type&gt;&#x0A; &lt;color&gt;49152&lt;/color&gt;&#x0A; &lt;title&gt;&lt;/title&gt;&#x0A; &lt;name&gt;&lt;/name&gt;&#x0A; &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A; &lt;parentDciId&gt;0&lt;/parentDciId&gt;&#x0A; &lt;order&gt;100&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
286 <instanceDiscoveryData></instanceDiscoveryData>
287 <instanceFilter></instanceFilter>
288 </dci>
289 </dataCollection>
290 <filter>return $node-&gt;isAgent &amp;&amp; $node-&gt;platformName like &quot;Linux-*&quot;;</filter>
291 </template>
292 </templates>
293 <traps>
294 </traps>
295 <rules>
296 </rules>
297 <scripts>
298 </scripts>
299 <objectTools>
300 </objectTools>
301 <dciSummaryTables>
302 </dciSummaryTables>
303 </configuration>