default templates for generic UNIX systems and for AIX
authorVictor Kirhenshtein <victor@netxms.org>
Thu, 14 Jul 2016 07:40:56 +0000 (10:40 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Thu, 14 Jul 2016 07:40:56 +0000 (10:40 +0300)
contrib/templates/Makefile.am
contrib/templates/aix.xml [new file with mode: 0644]
contrib/templates/generic_unix.xml [new file with mode: 0644]

index cfbb1b1..40863ca 100644 (file)
@@ -11,6 +11,8 @@
 templatesdir=$(pkgdatadir)/templates
 
 templates_DATA = \
+       aix.xml \
+       generic_unix.xml \
        netxms_server.xml
 
 EXTRA_DIST = $(templates_DATA)
diff --git a/contrib/templates/aix.xml b/contrib/templates/aix.xml
new file mode 100644 (file)
index 0000000..d6bbbfb
--- /dev/null
@@ -0,0 +1,366 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+       <formatVersion>4</formatVersion>
+       <description>AIX monitoring template</description>
+       <events>
+               <event id="100010">
+                       <name>LVM_PV_STATE_NOT_ACTIVE</name>
+                       <guid>ca8e1035-16cc-4c1d-a530-5900d44ba52c</guid>
+                       <code>100010</code>
+                       <severity>3</severity>
+                       <flags>1</flags>
+                       <message>Physical volume %6 is in %4 state</message>
+                       <description></description>
+               </event>
+               <event id="100008">
+                       <name>LVM_VG_LOW_FREE_SPACE</name>
+                       <guid>3fe6b775-3ffe-4987-871e-a157fd0c3826</guid>
+                       <code>100008</code>
+                       <severity>3</severity>
+                       <flags>1</flags>
+                       <message>Low free space in volume group %6 (%4%% remaining)</message>
+                       <description></description>
+               </event>
+               <event id="100009">
+                       <name>LVM_PV_STALLED_PARTITIONS</name>
+                       <guid>a000fc9a-f60a-404c-803a-36e4fabe09a9</guid>
+                       <code>100009</code>
+                       <severity>2</severity>
+                       <flags>1</flags>
+                       <message>%4 stalled partitions on physical volume %6</message>
+                       <description></description>
+               </event>
+               <event id="100003">
+                       <name>OS_PROCESS_NOT_RUNNING</name>
+                       <guid>3c9d6c4c-2ad8-40e1-a8e7-e5c865b07052</guid>
+                       <code>100003</code>
+                       <severity>3</severity>
+                       <flags>1</flags>
+                       <message>Process %6 is not running</message>
+                       <description></description>
+               </event>
+       </events>
+       <templates>
+               <template id="221">
+                       <guid>5afe077b-3169-4495-88d4-f1483cf6b418</guid>
+                       <name>AIX</name>
+                       <flags>1</flags>
+                       <path>
+                               <element id="1">Operating Systems</element>
+                       </path>
+                       <dataCollection>
+                               <dci id="66">
+                                       <guid>860cd331-67c2-40d1-b159-d3e1a4f85c66</guid>
+                                       <name>System.IO.DiskQueue</name>
+                                       <description>I/O: average disk queue</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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;0&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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="67">
+                                       <guid>475c6cbc-4c9d-43d9-b78c-d3816597c1ad</guid>
+                                       <name>LVM.VolumeGroup.UsedPerc({instance})</name>
+                                       <description>LVM: used space (%) in volume group {instance}</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.VolumeGroups</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="68">
+                                       <guid>fae0025f-5978-4a01-b24f-be704616529e</guid>
+                                       <name>LVM.VolumeGroup.ActivePhysicalVolumes({instance})</name>
+                                       <description>LVM: active physical volumes in volume group {instance}</description>
+                                       <dataType>1</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.VolumeGroups</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="69">
+                                       <guid>a6114543-308b-4ea8-901e-3fe1b4f62579</guid>
+                                       <name>LVM.VolumeGroup.PhysicalVolumes({instance})</name>
+                                       <description>LVM: physical volumes in volume group {instance}</description>
+                                       <dataType>1</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.VolumeGroups</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="116">
+                                       <guid>d1395737-d896-4740-820c-22722bdefae7</guid>
+                                       <name>Process.Count(syslogd)</name>
+                                       <description>System: number of syslogd processes</description>
+                                       <dataType>1</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <thresholds>
+                                               <threshold id="1">
+                                                       <function>0</function>
+                                                       <condition>2</condition>
+                                                       <value>0</value>
+                                                       <activationEvent>OS_PROCESS_NOT_RUNNING</activationEvent>
+                                                       <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
+                                                       <sampleCount>1</sampleCount>
+                                                       <repeatInterval>-1</repeatInterval>
+                                                       <script></script>
+                                               </threshold>
+                                       </thresholds>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="117">
+                                       <guid>c8d1af08-d6ee-455e-880c-8894737bcb94</guid>
+                                       <name>System.IO.WaitTime</name>
+                                       <description>I/O: average request wait time</description>
+                                       <dataType>0</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="184">
+                                       <guid>ae537044-61c7-4f34-8fe0-70eff1478f72</guid>
+                                       <name>LVM.LogicalVolume.Status({instance})</name>
+                                       <description>LVM: status of logical volume {instance}</description>
+                                       <dataType>4</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.LogicalVolumes</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="185">
+                                       <guid>5db7cf13-d896-4543-aa70-862fc2941451</guid>
+                                       <name>LVM.PhysicalVolume.Status({instance})</name>
+                                       <description>LVM: status of physical volume {instance}</description>
+                                       <dataType>4</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <thresholds>
+                                               <threshold id="1">
+                                                       <function>0</function>
+                                                       <condition>5</condition>
+                                                       <value>active</value>
+                                                       <activationEvent>LVM_PV_STATE_NOT_ACTIVE</activationEvent>
+                                                       <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
+                                                       <sampleCount>1</sampleCount>
+                                                       <repeatInterval>-1</repeatInterval>
+                                                       <script></script>
+                                               </threshold>
+                                       </thresholds>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.PhysicalVolumes</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="186">
+                                       <guid>930766af-1394-4fc4-9aa3-0f167041ecb9</guid>
+                                       <name>LVM.PhysicalVolume.StalePartitions({instance})</name>
+                                       <description>LVM: stale partitions on physical volume {instance}</description>
+                                       <dataType>3</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <thresholds>
+                                               <threshold id="1">
+                                                       <function>0</function>
+                                                       <condition>4</condition>
+                                                       <value>0</value>
+                                                       <activationEvent>LVM_PV_STALLED_PARTITIONS</activationEvent>
+                                                       <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
+                                                       <sampleCount>1</sampleCount>
+                                                       <repeatInterval>3600</repeatInterval>
+                                                       <script></script>
+                                               </threshold>
+                                       </thresholds>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.PhysicalVolumes</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="187">
+                                       <guid>f5bc468b-86a6-4e1d-8e54-99536cb6de35</guid>
+                                       <name>LVM.PhysicalVolume.FreePerc({instance})</name>
+                                       <description>LVM: free space (%) on physical volume {instance}</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.PhysicalVolumes</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="188">
+                                       <guid>41e6b325-e99b-41ab-9b1e-458cb63e6138</guid>
+                                       <name>LVM.PhysicalVolume.UsedPerc({instance})</name>
+                                       <description>LVM: used space (%) on physical volume {instance}</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.PhysicalVolumes</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="189">
+                                       <guid>4d70a7fe-a9e8-46c6-957d-af2de85a2bea</guid>
+                                       <name>LVM.VolumeGroup.FreePerc({instance})</name>
+                                       <description>LVM: free space (%) in volume group {instance}</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <thresholds>
+                                               <threshold id="1">
+                                                       <function>0</function>
+                                                       <condition>0</condition>
+                                                       <value>10</value>
+                                                       <activationEvent>LVM_VG_LOW_FREE_SPACE</activationEvent>
+                                                       <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
+                                                       <sampleCount>1</sampleCount>
+                                                       <repeatInterval>-1</repeatInterval>
+                                                       <script></script>
+                                               </threshold>
+                                       </thresholds>
+                                       <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>
+                                       <instanceDiscoveryData>LVM.VolumeGroups</instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                       </dataCollection>
+                       <filter>return $node-&gt;isAgent &amp;&amp; $node-&gt;platformName like &quot;AIX-*&quot;;</filter>
+               </template>
+       </templates>
+       <traps>
+       </traps>
+       <rules>
+       </rules>
+       <scripts>
+       </scripts>
+       <objectTools>
+       </objectTools>
+       <dciSummaryTables>
+       </dciSummaryTables>
+</configuration>
diff --git a/contrib/templates/generic_unix.xml b/contrib/templates/generic_unix.xml
new file mode 100644 (file)
index 0000000..133f62d
--- /dev/null
@@ -0,0 +1,385 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+       <formatVersion>4</formatVersion>
+       <description>Generic UNIX/Linux system monitoring template</description>
+       <events>
+               <event id="100006">
+                       <name>FS_LOW_FREE_SPACE</name>
+                       <guid>73a523df-93b7-4072-8ef7-06afcd9e476f</guid>
+                       <code>100006</code>
+                       <severity>3</severity>
+                       <flags>1</flags>
+                       <message>Low free space on file system %6 (%4%% remaining)</message>
+                       <description></description>
+               </event>
+               <event id="100007">
+                       <name>FS_NO_FREE_SPACE</name>
+                       <guid>10dd5d6f-57c3-4da7-8a7c-0d02b949f0df</guid>
+                       <code>100007</code>
+                       <severity>4</severity>
+                       <flags>1</flags>
+                       <message>No free space left on file system %6</message>
+                       <description></description>
+               </event>
+               <event id="100004">
+                       <name>OS_HIGH_CPU_UTILIZATION</name>
+                       <guid>5619fef8-521e-46df-b8b5-882541c0112c</guid>
+                       <code>100004</code>
+                       <severity>2</severity>
+                       <flags>1</flags>
+                       <message>High CPU utilization (%4%%)</message>
+                       <description></description>
+               </event>
+               <event id="100005">
+                       <name>OS_HIGH_SWAP_USAGE</name>
+                       <guid>3484ed17-df55-4209-ac42-3e6e7f52f219</guid>
+                       <code>100005</code>
+                       <severity>3</severity>
+                       <flags>1</flags>
+                       <message>High swap space usage (%4%%)</message>
+                       <description></description>
+               </event>
+       </events>
+       <templates>
+               <template id="222">
+                       <guid>11dcd1de-e7c8-449c-919a-7ca19161f5f7</guid>
+                       <name>Generic UNIX</name>
+                       <flags>1</flags>
+                       <path>
+                               <element id="1">Operating Systems</element>
+                       </path>
+                       <dataCollection>
+                               <dci id="79">
+                                       <guid>f4a56127-af7d-4175-8c4d-a102460e2e2a</guid>
+                                       <name>System.CPU.LoadAvg</name>
+                                       <description>CPU: load average (1 minute)</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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;0&lt;/type&gt;&#x0A;   &lt;color&gt;65535&lt;/color&gt;&#x0A;   &lt;title&gt;Load Average&lt;/title&gt;&#x0A;   &lt;name&gt;1 minute&lt;/name&gt;&#x0A;   &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A;   &lt;parentDciId&gt;0&lt;/parentDciId&gt;&#x0A;   &lt;order&gt;10&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="80">
+                                       <guid>1f46027c-b195-43d1-a821-bd853c459994</guid>
+                                       <name>System.CPU.LoadAvg5</name>
+                                       <description>CPU: load average (5 minutes)</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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;0&lt;/type&gt;&#x0A;   &lt;color&gt;42495&lt;/color&gt;&#x0A;   &lt;title&gt;Load Average&lt;/title&gt;&#x0A;   &lt;name&gt;5 minutes&lt;/name&gt;&#x0A;   &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A;   &lt;parentDciId&gt;79&lt;/parentDciId&gt;&#x0A;   &lt;order&gt;20&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="81">
+                                       <guid>b52d33b7-13c9-4df9-b42c-bf1728fd6ed3</guid>
+                                       <name>System.CPU.LoadAvg15</name>
+                                       <description>CPU: load average (15 minutes)</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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;0&lt;/type&gt;&#x0A;   &lt;color&gt;2763429&lt;/color&gt;&#x0A;   &lt;title&gt;Load Average&lt;/title&gt;&#x0A;   &lt;name&gt;15 minutes&lt;/name&gt;&#x0A;   &lt;showThresholds&gt;false&lt;/showThresholds&gt;&#x0A;   &lt;parentDciId&gt;79&lt;/parentDciId&gt;&#x0A;   &lt;order&gt;30&lt;/order&gt;&#x0A;&lt;/config&gt;</perfTabSettings>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="82">
+                                       <guid>719bb8fc-f5ce-4c75-bd82-be79ed3707b4</guid>
+                                       <name>System.Memory.Physical.Free</name>
+                                       <description>System: free physical memory</description>
+                                       <dataType>3</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="83">
+                                       <guid>430a3257-c726-4d0b-8d1a-2eb2b0243011</guid>
+                                       <name>System.ProcessCount</name>
+                                       <description>System: total processes</description>
+                                       <dataType>1</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="84">
+                                       <guid>1d3df98c-f639-449a-a38c-26a152b7c7ec</guid>
+                                       <name>System.ThreadCount</name>
+                                       <description>System: total threads</description>
+                                       <dataType>1</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="91">
+                                       <guid>5647149c-f9b7-4008-8fc4-9b98f9c703eb</guid>
+                                       <name>FileSystem.FreePerc({instance})</name>
+                                       <description>File system: free space on {instance}</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <thresholds>
+                                               <threshold id="1">
+                                                       <function>0</function>
+                                                       <condition>0</condition>
+                                                       <value>1</value>
+                                                       <activationEvent>FS_NO_FREE_SPACE</activationEvent>
+                                                       <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
+                                                       <sampleCount>1</sampleCount>
+                                                       <repeatInterval>-1</repeatInterval>
+                                                       <script></script>
+                                               </threshold>
+                                               <threshold id="2">
+                                                       <function>0</function>
+                                                       <condition>0</condition>
+                                                       <value>20</value>
+                                                       <activationEvent>FS_LOW_FREE_SPACE</activationEvent>
+                                                       <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
+                                                       <sampleCount>1</sampleCount>
+                                                       <repeatInterval>-1</repeatInterval>
+                                                       <script></script>
+                                               </threshold>
+                                       </thresholds>
+                                       <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>
+                                       <instanceDiscoveryData>FileSystem.MountPoints</instanceDiscoveryData>
+                                       <instanceFilter>if (($1 == &quot;/proc&quot;) ||&#x0A;    ($1 like &quot;/proc/*&quot;) ||&#x0A;    ($1 == &quot;/sys&quot;) ||&#x0A;    ($1 like &quot;/sys/*&quot;) ||&#x0A;    ($1 == &quot;/dev&quot;) ||&#x0A;    ($1 like &quot;/dev/*&quot;))&#x0A;   return false;&#x0A;return true;</instanceFilter>
+                               </dci>
+                               <dci id="93">
+                                       <guid>d1b18436-c28c-4d41-a909-b2107f7f2201</guid>
+                                       <name>FileSystem.UsedPerc({instance})</name>
+                                       <description>File system: used space on {instance}</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>1</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData>FileSystem.MountPoints</instanceDiscoveryData>
+                                       <instanceFilter>if (($1 == &quot;/proc&quot;) ||&#x0A;    ($1 like &quot;/proc/*&quot;) ||&#x0A;    ($1 == &quot;/sys&quot;) ||&#x0A;    ($1 like &quot;/sys/*&quot;) ||&#x0A;    ($1 == &quot;/dev&quot;) ||&#x0A;    ($1 like &quot;/dev/*&quot;))&#x0A;   return false;&#x0A;return true;</instanceFilter>
+                               </dci>
+                               <dci id="120">
+                                       <guid>6fe0556d-4977-45b9-bc54-d8533c2c2478</guid>
+                                       <name>System.Memory.Physical.Used</name>
+                                       <description>System: used physical memory</description>
+                                       <dataType>3</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="181">
+                                       <guid>98bfe0c0-112b-4586-b7ed-af12f2c4ac94</guid>
+                                       <name>System.CPU.Usage</name>
+                                       <description>CPU: usage</description>
+                                       <dataType>5</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <thresholds>
+                                               <threshold id="1">
+                                                       <function>0</function>
+                                                       <condition>4</condition>
+                                                       <value>90</value>
+                                                       <activationEvent>OS_HIGH_CPU_UTILIZATION</activationEvent>
+                                                       <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
+                                                       <sampleCount>2</sampleCount>
+                                                       <repeatInterval>-1</repeatInterval>
+                                                       <script></script>
+                                               </threshold>
+                                       </thresholds>
+                                       <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;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&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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="214">
+                                       <guid>05e0ca41-ab2f-4f36-8a11-3c2b9c221cc7</guid>
+                                       <name>System.Memory.Swap.Used</name>
+                                       <description>System: used swap space</description>
+                                       <dataType>3</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="215">
+                                       <guid>044b1528-0022-4211-b1f2-661dd72ab865</guid>
+                                       <name>System.Memory.Swap.Free</name>
+                                       <description>System: free swap space</description>
+                                       <dataType>3</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                               <dci id="250">
+                                       <guid>77d3e9a2-912c-4ff9-8b5a-d5f0585564b0</guid>
+                                       <name>System.Memory.Swap.UsedPerc</name>
+                                       <description>System: used swap space (%)</description>
+                                       <dataType>1</dataType>
+                                       <samples>0</samples>
+                                       <origin>1</origin>
+                                       <interval>0</interval>
+                                       <retention>0</retention>
+                                       <instance></instance>
+                                       <systemTag></systemTag>
+                                       <delta>0</delta>
+                                       <flags>0</flags>
+                                       <snmpRawValueType>0</snmpRawValueType>
+                                       <snmpPort>0</snmpPort>
+                                       <instanceDiscoveryMethod>0</instanceDiscoveryMethod>
+                                       <transformation></transformation>
+                                       <thresholds>
+                                               <threshold id="1">
+                                                       <function>0</function>
+                                                       <condition>4</condition>
+                                                       <value>80</value>
+                                                       <activationEvent>OS_HIGH_SWAP_USAGE</activationEvent>
+                                                       <deactivationEvent>SYS_THRESHOLD_REARMED</deactivationEvent>
+                                                       <sampleCount>1</sampleCount>
+                                                       <repeatInterval>-1</repeatInterval>
+                                                       <script></script>
+                                               </threshold>
+                                       </thresholds>
+                                       <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>
+                                       <instanceDiscoveryData></instanceDiscoveryData>
+                                       <instanceFilter></instanceFilter>
+                               </dci>
+                       </dataCollection>
+                       <filter>return $node-&gt;isAgent &amp;&amp; !($node-&gt;platformName like &quot;windows-*&quot;);</filter>
+               </template>
+       </templates>
+       <traps>
+       </traps>
+       <rules>
+       </rules>
+       <scripts>
+       </scripts>
+       <objectTools>
+       </objectTools>
+       <dciSummaryTables>
+       </dciSummaryTables>
+</configuration>