You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
940 lines
36 KiB
940 lines
36 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>6.4</version>
|
|
<host_groups>
|
|
<host_group>
|
|
<uuid>c9ad86935aa14454a99f3bb442dccb2c</uuid>
|
|
<name>HG1</name>
|
|
</host_group>
|
|
<host_group>
|
|
<uuid>9a4a9554205541f1bb119cf1cfa3dfd4</uuid>
|
|
<name>HG1/Subgroup</name>
|
|
</host_group>
|
|
</host_groups>
|
|
<hosts>
|
|
<host>
|
|
<host>Host1</host>
|
|
<name>Host1</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<interfaces>
|
|
<interface>
|
|
<interface_ref>if1</interface_ref>
|
|
</interface>
|
|
</interfaces>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>Host2</host>
|
|
<name>Host2</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<interfaces>
|
|
<interface>
|
|
<type>SNMP</type>
|
|
<port>1611</port>
|
|
<details>
|
|
<community>public</community>
|
|
</details>
|
|
<interface_ref>if1</interface_ref>
|
|
</interface>
|
|
</interfaces>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>Host3</host>
|
|
<name>Host3</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<interfaces>
|
|
<interface>
|
|
<type>IPMI</type>
|
|
<port>624</port>
|
|
<interface_ref>if1</interface_ref>
|
|
</interface>
|
|
</interfaces>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>Host4_ActiveProxy</host>
|
|
<name>Host4_ActiveProxy</name>
|
|
<proxy>
|
|
<name>ProxyA</name>
|
|
</proxy>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>Host5_PassiveProxy</host>
|
|
<name>Host5_PassiveProxy</name>
|
|
<proxy>
|
|
<name>ProxyP1</name>
|
|
</proxy>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>HostInventory</host>
|
|
<name>HostInventory</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<inventory>
|
|
<type>bbbbbbbb</type>
|
|
<type_full>bbbbbbbb</type_full>
|
|
<name>bbbbbbbb</name>
|
|
<alias>bbbbbbbb</alias>
|
|
<os>bbbbbbbb</os>
|
|
<os_full>bbbbbbbb</os_full>
|
|
<os_short>bbbbbbbb</os_short>
|
|
<serialno_a>bbbbbbbb</serialno_a>
|
|
<serialno_b>bbbbbbbb</serialno_b>
|
|
<tag>bbbbbbbb</tag>
|
|
<asset_tag>bbbbbbbb</asset_tag>
|
|
<macaddress_a>bbbbbbbb</macaddress_a>
|
|
<macaddress_b>bbbbbbbb</macaddress_b>
|
|
<hardware>bbbbbbbb</hardware>
|
|
<hardware_full>bbbbbbbb</hardware_full>
|
|
<software>bbbbbbbb</software>
|
|
<software_full>bbbbbbbb</software_full>
|
|
<software_app_a>bbbbbbbb</software_app_a>
|
|
<software_app_b>bbbbbbbb</software_app_b>
|
|
<software_app_c>bbbbbbbb</software_app_c>
|
|
<software_app_d>bbbbbbbb</software_app_d>
|
|
<software_app_e>bbbbbbbb</software_app_e>
|
|
<contact>bbbbbbbb</contact>
|
|
<location>bbbbbbbb</location>
|
|
<location_lat>bbbbbbbb</location_lat>
|
|
<location_lon>bbbbbbbb</location_lon>
|
|
<notes>bbbbbbbb</notes>
|
|
<chassis>bbbbbbbb</chassis>
|
|
<model>bbbbbbbb</model>
|
|
<hw_arch>bbbbbbbb</hw_arch>
|
|
<vendor>bbbbbbbb</vendor>
|
|
<contract_number>bbbbbbbb</contract_number>
|
|
<installer_name>bbbbbbbb</installer_name>
|
|
<deployment_status>bbbbbbbb</deployment_status>
|
|
<url_a>bbbbbbbb</url_a>
|
|
<url_b>bbbbbbbb</url_b>
|
|
<url_c>bbbbbbbb</url_c>
|
|
<host_networks>bbbbbbbb</host_networks>
|
|
<host_netmask>bbbbbbbb</host_netmask>
|
|
<host_router>bbbbbbbb</host_router>
|
|
<oob_ip>bbbbbbbb</oob_ip>
|
|
<oob_netmask>bbbbbbbb</oob_netmask>
|
|
<oob_router>bbbbbbbb</oob_router>
|
|
<date_hw_purchase>bbbbbbbb</date_hw_purchase>
|
|
<date_hw_install>bbbbbbbbbbbbbbbb</date_hw_install>
|
|
<date_hw_expiry>bbbbbbbb</date_hw_expiry>
|
|
<date_hw_decomm>bbbbbbbb</date_hw_decomm>
|
|
<site_address_a>bbbbbbbb</site_address_a>
|
|
<site_address_b>bbbbbbbb</site_address_b>
|
|
<site_address_c>bbbbbbbb</site_address_c>
|
|
<site_city>bbbbbbbb</site_city>
|
|
<site_state>bbbbbbbb</site_state>
|
|
<site_country>bbbbbbbb</site_country>
|
|
<site_zip>bbbbbbbb</site_zip>
|
|
<site_rack>bbbbbbbb</site_rack>
|
|
<site_notes>bbbbbbbb</site_notes>
|
|
<poc_1_name>bbbbbbbb</poc_1_name>
|
|
<poc_1_email>bbbbbbbb</poc_1_email>
|
|
<poc_1_phone_a>bbbbbbbb</poc_1_phone_a>
|
|
<poc_1_phone_b>bbbbbbbb</poc_1_phone_b>
|
|
<poc_1_cell>bbbbbbbb</poc_1_cell>
|
|
<poc_1_screen>bbbbbbbb</poc_1_screen>
|
|
<poc_1_notes>bbbbbbbb</poc_1_notes>
|
|
<poc_2_name>bbbbbbbb</poc_2_name>
|
|
<poc_2_email>bbbbbbbb</poc_2_email>
|
|
<poc_2_phone_a>bbbbbbbb</poc_2_phone_a>
|
|
<poc_2_phone_b>bbbbbbbb</poc_2_phone_b>
|
|
<poc_2_cell>bbbbbbbb</poc_2_cell>
|
|
<poc_2_screen>bbbbbbbb</poc_2_screen>
|
|
<poc_2_notes>bbbbbbbb</poc_2_notes>
|
|
</inventory>
|
|
</host>
|
|
<host>
|
|
<host>HostInventoryAutomatic</host>
|
|
<name>HostInventoryAutomatic</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<interfaces>
|
|
<interface>
|
|
<ip>127.0.0.230</ip>
|
|
<interface_ref>if1</interface_ref>
|
|
</interface>
|
|
</interfaces>
|
|
<items>
|
|
<item>
|
|
<name>Hostname1</name>
|
|
<key>agent.hostname</key>
|
|
<trends>0</trends>
|
|
<delay>25s</delay>
|
|
<value_type>CHAR</value_type>
|
|
<inventory_link>NAME</inventory_link>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>Chassis1</name>
|
|
<key>system.hw.chassis[model]</key>
|
|
<trends>0</trends>
|
|
<delay>25s</delay>
|
|
<value_type>CHAR</value_type>
|
|
<inventory_link>HARDWARE_FULL</inventory_link>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>Uname1</name>
|
|
<key>system.uname</key>
|
|
<trends>0</trends>
|
|
<delay>25s</delay>
|
|
<value_type>CHAR</value_type>
|
|
<inventory_link>OS</inventory_link>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
</items>
|
|
<inventory_mode>AUTOMATIC</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>HostMultilevelTmpl</host>
|
|
<name>HostMultilevelTmpl</name>
|
|
<templates>
|
|
<template>
|
|
<name>bbbtmpl</name>
|
|
</template>
|
|
</templates>
|
|
<groups>
|
|
<group>
|
|
<name>HG1/Subgroup</name>
|
|
</group>
|
|
</groups>
|
|
<interfaces>
|
|
<interface>
|
|
<ip>127.0.0.152</ip>
|
|
<interface_ref>if1</interface_ref>
|
|
</interface>
|
|
</interfaces>
|
|
<items>
|
|
<item>
|
|
<name>ItemWithMultilevelMacros1</name>
|
|
<key>vfs.dir.count[/tmp/{$UU},{$CHLDTMPLMACRO},{$PRNTTMPLMACRO}]</key>
|
|
<delay>{$CHLDTMPLMACRO}</delay>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
</items>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>HostWithDiscovery</host>
|
|
<name>HostWithDiscovery</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<discovery_rules>
|
|
<discovery_rule>
|
|
<name>DiscoveryRule</name>
|
|
<type>SCRIPT</type>
|
|
<key>dcrule</key>
|
|
<delay>25s</delay>
|
|
<params>return "";</params>
|
|
<filter>
|
|
<conditions>
|
|
<condition>
|
|
<macro>{#X}</macro>
|
|
<value>YA</value>
|
|
<formulaid>A</formulaid>
|
|
</condition>
|
|
</conditions>
|
|
</filter>
|
|
<item_prototypes>
|
|
<item_prototype>
|
|
<name>ItemProtoo</name>
|
|
<type>CALCULATED</type>
|
|
<key>proto[{#X}]</key>
|
|
<params>1</params>
|
|
<trigger_prototypes>
|
|
<trigger_prototype>
|
|
<expression>last(/HostWithDiscovery/proto[{#X}])=2</expression>
|
|
<name>TriggerPrototype</name>
|
|
<priority>HIGH</priority>
|
|
<manual_close>YES</manual_close>
|
|
</trigger_prototype>
|
|
</trigger_prototypes>
|
|
</item_prototype>
|
|
</item_prototypes>
|
|
<host_prototypes>
|
|
<host_prototype>
|
|
<host>{#X}.HostPrototype</host>
|
|
<name>{#X}.HostPrototype</name>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
<group_links>
|
|
<group_link>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</group_link>
|
|
</group_links>
|
|
</host_prototype>
|
|
</host_prototypes>
|
|
<lld_macro_paths>
|
|
<lld_macro_path>
|
|
<lld_macro>{#X}</lld_macro>
|
|
<path>$.b</path>
|
|
</lld_macro_path>
|
|
</lld_macro_paths>
|
|
<preprocessing>
|
|
<step>
|
|
<type>STR_REPLACE</type>
|
|
<parameters>
|
|
<parameter>c</parameter>
|
|
<parameter>d</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
<overrides>
|
|
<override>
|
|
<name>Override</name>
|
|
<step>1</step>
|
|
<stop>STOP</stop>
|
|
<filter>
|
|
<conditions>
|
|
<condition>
|
|
<macro>{#S}</macro>
|
|
<value>SSS</value>
|
|
<formulaid>A</formulaid>
|
|
</condition>
|
|
</conditions>
|
|
</filter>
|
|
<operations>
|
|
<operation>
|
|
<operationobject>ITEM_PROTOTYPE</operationobject>
|
|
<value>2</value>
|
|
<status>DISABLED</status>
|
|
<discover>NO_DISCOVER</discover>
|
|
</operation>
|
|
</operations>
|
|
</override>
|
|
</overrides>
|
|
</discovery_rule>
|
|
</discovery_rules>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>HostWithItems</host>
|
|
<name>HostWithItems</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<interfaces>
|
|
<interface>
|
|
<interface_ref>if1</interface_ref>
|
|
</interface>
|
|
<interface>
|
|
<type>SNMP</type>
|
|
<port>1611</port>
|
|
<details>
|
|
<community>{$SNMP_COMMUNITY}</community>
|
|
</details>
|
|
<interface_ref>if2</interface_ref>
|
|
</interface>
|
|
<interface>
|
|
<type>IPMI</type>
|
|
<port>1623</port>
|
|
<interface_ref>if3</interface_ref>
|
|
</interface>
|
|
<interface>
|
|
<type>SNMP</type>
|
|
<port>20161</port>
|
|
<default>NO</default>
|
|
<details>
|
|
<version>SNMPV3</version>
|
|
<max_repetitions>12</max_repetitions>
|
|
</details>
|
|
<interface_ref>if4</interface_ref>
|
|
</interface>
|
|
<interface>
|
|
<type>SNMP</type>
|
|
<port>21161</port>
|
|
<default>NO</default>
|
|
<details>
|
|
<community>public1</community>
|
|
<max_repetitions>12</max_repetitions>
|
|
</details>
|
|
<interface_ref>if5</interface_ref>
|
|
</interface>
|
|
</interfaces>
|
|
<items>
|
|
<item>
|
|
<name>NormalItemPreproc1</name>
|
|
<key>agent.hostmetadata</key>
|
|
<trends>0</trends>
|
|
<delay>20s</delay>
|
|
<value_type>CHAR</value_type>
|
|
<preprocessing>
|
|
<step>
|
|
<type>STR_REPLACE</type>
|
|
<parameters>
|
|
<parameter>3</parameter>
|
|
<parameter>4</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>Agent ping (active)1</name>
|
|
<type>ZABBIX_ACTIVE</type>
|
|
<key>agent.ping</key>
|
|
<delay>20s</delay>
|
|
<tags>
|
|
<tag>
|
|
<tag>qw</tag>
|
|
<value>w1e</value>
|
|
</tag>
|
|
</tags>
|
|
<triggers>
|
|
<trigger>
|
|
<expression>now()>2 and baselinedev(/HostWithItems/agent.ping,1M:now/M,"h",3)=0</expression>
|
|
<name>TimeBasedAndOrdFuncTrigger</name>
|
|
<priority>HIGH</priority>
|
|
<description>HIGH</description>
|
|
</trigger>
|
|
</triggers>
|
|
</item>
|
|
<item>
|
|
<name>Agent version (passive)1</name>
|
|
<key>agent.version</key>
|
|
<delay>20s</delay>
|
|
<trends>0</trends>
|
|
<value_type>CHAR</value_type>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>Calculated1</name>
|
|
<type>CALCULATED</type>
|
|
<key>calc</key>
|
|
<params>1+1+1</params>
|
|
<triggers>
|
|
<trigger>
|
|
<expression>last(/HostWithItems/calc)=2</expression>
|
|
<name>DepTrigger</name>
|
|
<priority>HIGH</priority>
|
|
<manual_close>YES</manual_close>
|
|
<description>HIGH</description>
|
|
<dependencies>
|
|
<dependency>
|
|
<name>SimpleTrigger2</name>
|
|
<expression>last(/HostWithItems/calc)=22</expression>
|
|
</dependency>
|
|
</dependencies>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>last(/HostWithItems/calc)=2</expression>
|
|
<name>SimpleTrigger</name>
|
|
<event_name>SimpleTriggerEvent</event_name>
|
|
<priority>DISASTER</priority>
|
|
<manual_close>YES</manual_close>
|
|
<description>HIGH</description>
|
|
<tags>
|
|
<tag>
|
|
<tag>aae</tag>
|
|
<value>bbeq1</value>
|
|
</tag>
|
|
</tags>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>last(/HostWithItems/calc)=22</expression>
|
|
<name>SimpleTrigger2</name>
|
|
<event_name>SimpleTriggerEvent2</event_name>
|
|
<priority>WARNING</priority>
|
|
<manual_close>YES</manual_close>
|
|
<description>HIGH</description>
|
|
<tags>
|
|
<tag>
|
|
<tag>aae1</tag>
|
|
<value>bxisxbe1</value>
|
|
</tag>
|
|
</tags>
|
|
</trigger>
|
|
</triggers>
|
|
</item>
|
|
<item>
|
|
<name>CalculatedAsAggregated1b</name>
|
|
<type>CALCULATED</type>
|
|
<key>calc_as_aggr</key>
|
|
<params>sum(last_foreach(/*/agent.version?[group="HG1"]))</params>
|
|
</item>
|
|
<item>
|
|
<name>CalculatedPreproc1b</name>
|
|
<type>CALCULATED</type>
|
|
<key>calc_preproc</key>
|
|
<params>1</params>
|
|
<preprocessing>
|
|
<step>
|
|
<type>STR_REPLACE</type>
|
|
<parameters>
|
|
<parameter>3</parameter>
|
|
<parameter>4</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
</item>
|
|
<item>
|
|
<name>ODBC monitor1</name>
|
|
<type>ODBC</type>
|
|
<key>db.odbc.select[x,y,z]</key>
|
|
<params>select null from dual;</params>
|
|
</item>
|
|
<item>
|
|
<name>Dependent itemm</name>
|
|
<type>DEPENDENT</type>
|
|
<key>depitem</key>
|
|
<delay>0</delay>
|
|
<master_item>
|
|
<key>calc</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>DepItemOnCalcPreprocc</name>
|
|
<type>DEPENDENT</type>
|
|
<key>depitem_calc_preproc</key>
|
|
<delay>0</delay>
|
|
<preprocessing>
|
|
<step>
|
|
<type>STR_REPLACE</type>
|
|
<parameters>
|
|
<parameter>aa</parameter>
|
|
<parameter>ab</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>calc</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>DepItemOnDepCalcItemm</name>
|
|
<type>DEPENDENT</type>
|
|
<key>depitem_depitem</key>
|
|
<delay>0</delay>
|
|
<preprocessing>
|
|
<step>
|
|
<type>STR_REPLACE</type>
|
|
<parameters>
|
|
<parameter>3</parameter>
|
|
<parameter>322</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>depitem_calc_preproc</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>DepItemOnNormalDepItemm</name>
|
|
<type>DEPENDENT</type>
|
|
<key>depitem_depitem_normal</key>
|
|
<delay>0</delay>
|
|
<preprocessing>
|
|
<step>
|
|
<type>STR_REPLACE</type>
|
|
<parameters>
|
|
<parameter>aa</parameter>
|
|
<parameter>bab</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>depitem_normalitem</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>Zabbix internal updated</name>
|
|
<type>INTERNAL</type>
|
|
<key>zabbix[boottime]</key>
|
|
</item>
|
|
<item>
|
|
<name>DepItemOnInternalItemm</name>
|
|
<type>DEPENDENT</type>
|
|
<key>depitem_internal</key>
|
|
<delay>0</delay>
|
|
<preprocessing>
|
|
<step>
|
|
<type>STR_REPLACE</type>
|
|
<parameters>
|
|
<parameter>1</parameter>
|
|
<parameter>2a</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>zabbix[boottime]</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>DepItemOnNormalItemm</name>
|
|
<type>DEPENDENT</type>
|
|
<key>depitem_normalitem</key>
|
|
<delay>0</delay>
|
|
<preprocessing>
|
|
<step>
|
|
<type>REGEX</type>
|
|
<parameters>
|
|
<parameter>cd</parameter>
|
|
<parameter>dd</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>agent.ping</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>DepItemOnInternalItemPreprocc</name>
|
|
<type>DEPENDENT</type>
|
|
<key>depitem_normal_preproc</key>
|
|
<delay>0</delay>
|
|
<preprocessing>
|
|
<step>
|
|
<type>STR_REPLACE</type>
|
|
<parameters>
|
|
<parameter>41</parameter>
|
|
<parameter>51</parameter>
|
|
</parameters>
|
|
</step>
|
|
</preprocessing>
|
|
<master_item>
|
|
<key>agent.version</key>
|
|
</master_item>
|
|
</item>
|
|
<item>
|
|
<name>External check updated</name>
|
|
<type>EXTERNAL</type>
|
|
<key>extcheck</key>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>HTTP agentt</name>
|
|
<type>HTTP_AGENT</type>
|
|
<key>httpagent</key>
|
|
<authtype>BASIC</authtype>
|
|
<username>qqqqqqqqqqqqq</username>
|
|
<password>wwwwwwwwww</password>
|
|
<interface_ref>if1</interface_ref>
|
|
<url>localhost</url>
|
|
<query_fields>
|
|
<query_field>
|
|
<name>a</name>
|
|
<value>ba</value>
|
|
</query_field>
|
|
</query_fields>
|
|
<posts>test</posts>
|
|
<headers>
|
|
<header>
|
|
<name>x</name>
|
|
<value>yq</value>
|
|
</header>
|
|
</headers>
|
|
<retrieve_mode>BOTH</retrieve_mode>
|
|
<output_format>JSON</output_format>
|
|
<allow_traps>YES</allow_traps>
|
|
</item>
|
|
<item>
|
|
<name>Simple check updated</name>
|
|
<type>SIMPLE</type>
|
|
<key>icmpping[127.1.0.1]</key>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>IPMI agentt</name>
|
|
<type>IPMI</type>
|
|
<key>ipmi.get</key>
|
|
<trends>0</trends>
|
|
<value_type>TEXT</value_type>
|
|
<ipmi_sensor>12134</ipmi_sensor>
|
|
<interface_ref>if3</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>ItemPreprocc</name>
|
|
<type>CALCULATED</type>
|
|
<key>preproc</key>
|
|
<params>1</params>
|
|
<preprocessing>
|
|
<step>
|
|
<type>REGEX</type>
|
|
<parameters>
|
|
<parameter>.*</parameter>
|
|
<parameter>vvv</parameter>
|
|
</parameters>
|
|
<error_handler>CUSTOM_VALUE</error_handler>
|
|
<error_handler_params>fail</error_handler_params>
|
|
</step>
|
|
</preprocessing>
|
|
</item>
|
|
<item>
|
|
<name>Scripyt</name>
|
|
<type>SCRIPT</type>
|
|
<key>script</key>
|
|
<params>return "1";</params>
|
|
<inventory_link>HARDWARE</inventory_link>
|
|
<parameters>
|
|
<parameter>
|
|
<name>aaa</name>
|
|
<value>bbbf</value>
|
|
</parameter>
|
|
</parameters>
|
|
</item>
|
|
<item>
|
|
<name>SNMP trapq</name>
|
|
<type>SNMP_TRAP</type>
|
|
<key>snmptrap.fallback</key>
|
|
<delay>0</delay>
|
|
<interface_ref>if2</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>SNMP agentt</name>
|
|
<type>SNMP_AGENT</type>
|
|
<snmp_oid>SNMPv2-MIB::sysContact.0</snmp_oid>
|
|
<key>snmp_test</key>
|
|
<interface_ref>if2</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>SSH agentt</name>
|
|
<type>SSH</type>
|
|
<key>ssh.run[x,localhost]</key>
|
|
<params>echo</params>
|
|
<username>username</username>
|
|
<password>password1</password>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>Telnet agentt</name>
|
|
<type>TELNET</type>
|
|
<key>telnet.run[a,localhost]</key>
|
|
<params>echo</params>
|
|
<username>use1rname</username>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>Zabbix trappero</name>
|
|
<type>TRAP</type>
|
|
<key>trap</key>
|
|
<delay>0</delay>
|
|
<units>MB</units>
|
|
</item>
|
|
<item>
|
|
<name>delay_globmacro1</name>
|
|
<key>vfs.file.get[/tmp/{$UU}]</key>
|
|
<delay>{$GLOBDELAY}</delay>
|
|
<trends>0</trends>
|
|
<value_type>TEXT</value_type>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>walk</name>
|
|
<type>SNMP_AGENT</type>
|
|
<snmp_oid>walk[.1.3.6.1.39]</snmp_oid>
|
|
<key>walk</key>
|
|
<trends>0</trends>
|
|
<value_type>TEXT</value_type>
|
|
<interface_ref>if5</interface_ref>
|
|
</item>
|
|
</items>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>HostWithMacros</host>
|
|
<name>HostWithMacros</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<interfaces>
|
|
<interface>
|
|
<ip>127.0.0.223</ip>
|
|
<interface_ref>if1</interface_ref>
|
|
</interface>
|
|
</interfaces>
|
|
<items>
|
|
<item>
|
|
<name>item11</name>
|
|
<type>CALCULATED</type>
|
|
<key>itm</key>
|
|
<trends>0</trends>
|
|
<value_type>TEXT</value_type>
|
|
<params>1</params>
|
|
<triggers>
|
|
<trigger>
|
|
<expression>bytelength(last(/HostWithMacros/itm))>bytelength({$HM1})</expression>
|
|
<name>trigger with macro</name>
|
|
<description>HIGH</description>
|
|
</trigger>
|
|
</triggers>
|
|
</item>
|
|
<item>
|
|
<name>ItemWithGlobalAndHostMacro1</name>
|
|
<key>sensor[{$UU},{$HM1}]</key>
|
|
<delay>1s</delay>
|
|
<units>MB</units>
|
|
<value_type>FLOAT</value_type>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
<item>
|
|
<name>ItemWithMacro1</name>
|
|
<key>vfs.file.get[/tmp/{$HM1}]</key>
|
|
<trends>0</trends>
|
|
<value_type>TEXT</value_type>
|
|
<interface_ref>if1</interface_ref>
|
|
</item>
|
|
</items>
|
|
<macros>
|
|
<macro>
|
|
<macro>{$HM1}</macro>
|
|
<value>hm1a</value>
|
|
</macro>
|
|
</macros>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>HostWithTags</host>
|
|
<name>HostWithTags</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<tags>
|
|
<tag>
|
|
<tag>aaa</tag>
|
|
<value>bbba</value>
|
|
</tag>
|
|
<tag>
|
|
<tag>ccc</tag>
|
|
<value>dadd</value>
|
|
</tag>
|
|
<tag>
|
|
<tag>macro</tag>
|
|
<value>{$MACRO}</value>
|
|
</tag>
|
|
</tags>
|
|
<macros>
|
|
<macro>
|
|
<macro>{$MACRO}</macro>
|
|
<value>macroa</value>
|
|
</macro>
|
|
</macros>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>HostWithTemplate</host>
|
|
<name>HostWithTemplate</name>
|
|
<templates>
|
|
<template>
|
|
<name>SampleTemplate</name>
|
|
</template>
|
|
</templates>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
<host>
|
|
<host>HostWithWebScenario</host>
|
|
<name>HostWithWebScenario</name>
|
|
<groups>
|
|
<group>
|
|
<name>HG1</name>
|
|
</group>
|
|
</groups>
|
|
<items>
|
|
<item>
|
|
<name>DepItemOnWebScenarioo</name>
|
|
<type>DEPENDENT</type>
|
|
<key>dep_webscenario</key>
|
|
<delay>0</delay>
|
|
<units>MB</units>
|
|
<master_item>
|
|
<key>web.test.in[WebScenario,,bps]</key>
|
|
</master_item>
|
|
</item>
|
|
</items>
|
|
<httptests>
|
|
<httptest>
|
|
<name>WebScenario</name>
|
|
<http_proxy>127.0.0.33</http_proxy>
|
|
<variables>
|
|
<variable>
|
|
<name>{a}</name>
|
|
<value>ba</value>
|
|
</variable>
|
|
</variables>
|
|
<headers>
|
|
<header>
|
|
<name>c</name>
|
|
<value>de</value>
|
|
</header>
|
|
</headers>
|
|
<steps>
|
|
<step>
|
|
<name>Step1</name>
|
|
<url>localhost/aaaa</url>
|
|
<query_fields>
|
|
<query_field>
|
|
<name>qwea</name>
|
|
<value>erta</value>
|
|
</query_field>
|
|
</query_fields>
|
|
<posts>asdf=zxcv</posts>
|
|
<variables>
|
|
<variable>
|
|
<name>{A}</name>
|
|
<value>{A}</value>
|
|
</variable>
|
|
</variables>
|
|
<headers>
|
|
<header>
|
|
<name>rtyau</name>
|
|
<value>ghajk</value>
|
|
</header>
|
|
</headers>
|
|
<retrieve_mode>BOTH</retrieve_mode>
|
|
<timeout>22s</timeout>
|
|
<required>pattern</required>
|
|
<status_codes>201</status_codes>
|
|
</step>
|
|
</steps>
|
|
</httptest>
|
|
</httptests>
|
|
<inventory_mode>DISABLED</inventory_mode>
|
|
</host>
|
|
</hosts>
|
|
</zabbix_export>
|