Advertisement
bradlee_edmondson

Zabbix OpenWRT logical network template - 2021-05-13

May 12th, 2021
1,475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.06 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <zabbix_export>
  3.     <version>5.2</version>
  4.     <date>2021-05-13T04:13:44Z</date>
  5.     <groups>
  6.         <group>
  7.             <name>Templates</name>
  8.         </group>
  9.     </groups>
  10.     <templates>
  11.         <template>
  12.             <template>Template Openwrt Network</template>
  13.             <name>Template Openwrt Network</name>
  14.             <groups>
  15.                 <group>
  16.                     <name>Templates</name>
  17.                 </group>
  18.             </groups>
  19.             <applications>
  20.                 <application>
  21.                     <name>OpenWRT Network interfaces</name>
  22.                 </application>
  23.             </applications>
  24.             <discovery_rules>
  25.                 <discovery_rule>
  26.                     <name>Network interface discovery</name>
  27.                     <type>ZABBIX_ACTIVE</type>
  28.                     <key>netowrt.discovery</key>
  29.                     <delay>5m</delay>
  30.                     <filter>
  31.                         <conditions>
  32.                             <condition>
  33.                                 <macro>{#IF}</macro>
  34.                                 <value>@Network interfaces for discovery</value>
  35.                                 <formulaid>A</formulaid>
  36.                             </condition>
  37.                         </conditions>
  38.                     </filter>
  39.                     <description>Discovery of network interfaces as defined in global regular expression &quot;Network interfaces for discovery&quot;.</description>
  40.                     <item_prototypes>
  41.                         <item_prototype>
  42.                             <name>Incoming network traffic on {#IF} ({#NET})</name>
  43.                             <type>ZABBIX_ACTIVE</type>
  44.                             <key>net.if.in[{#IF}]</key>
  45.                             <delay>15s</delay>
  46.                             <history>52w</history>
  47.                             <trends>156w</trends>
  48.                             <units>bps</units>
  49.                             <applications>
  50.                                 <application>
  51.                                     <name>OpenWRT Network interfaces</name>
  52.                                 </application>
  53.                             </applications>
  54.                             <preprocessing>
  55.                                 <step>
  56.                                     <type>CHANGE_PER_SECOND</type>
  57.                                     <parameters>
  58.                                         <parameter/>
  59.                                     </parameters>
  60.                                 </step>
  61.                                 <step>
  62.                                     <type>MULTIPLIER</type>
  63.                                     <parameters>
  64.                                         <parameter>8</parameter>
  65.                                     </parameters>
  66.                                 </step>
  67.                             </preprocessing>
  68.                             <request_method>POST</request_method>
  69.                         </item_prototype>
  70.                         <item_prototype>
  71.                             <name>Outgoing network traffic on {#IF} ({#NET})</name>
  72.                             <type>ZABBIX_ACTIVE</type>
  73.                             <key>net.if.out[{#IF}]</key>
  74.                             <delay>15s</delay>
  75.                             <history>52w</history>
  76.                             <trends>156w</trends>
  77.                             <units>bps</units>
  78.                             <applications>
  79.                                 <application>
  80.                                     <name>OpenWRT Network interfaces</name>
  81.                                 </application>
  82.                             </applications>
  83.                             <preprocessing>
  84.                                 <step>
  85.                                     <type>CHANGE_PER_SECOND</type>
  86.                                     <parameters>
  87.                                         <parameter/>
  88.                                     </parameters>
  89.                                 </step>
  90.                                 <step>
  91.                                     <type>MULTIPLIER</type>
  92.                                     <parameters>
  93.                                         <parameter>8</parameter>
  94.                                     </parameters>
  95.                                 </step>
  96.                             </preprocessing>
  97.                             <request_method>POST</request_method>
  98.                         </item_prototype>
  99.                     </item_prototypes>
  100.                     <graph_prototypes>
  101.                         <graph_prototype>
  102.                             <name>Network traffic on {#IF} ({#NET})</name>
  103.                             <ymin_type_1>FIXED</ymin_type_1>
  104.                             <graph_items>
  105.                                 <graph_item>
  106.                                     <drawtype>GRADIENT_LINE</drawtype>
  107.                                     <color>00AA00</color>
  108.                                     <item>
  109.                                         <host>Template Openwrt Network</host>
  110.                                         <key>net.if.in[{#IF}]</key>
  111.                                     </item>
  112.                                 </graph_item>
  113.                                 <graph_item>
  114.                                     <sortorder>1</sortorder>
  115.                                     <drawtype>GRADIENT_LINE</drawtype>
  116.                                     <color>3333FF</color>
  117.                                     <item>
  118.                                         <host>Template Openwrt Network</host>
  119.                                         <key>net.if.out[{#IF}]</key>
  120.                                     </item>
  121.                                 </graph_item>
  122.                             </graph_items>
  123.                         </graph_prototype>
  124.                     </graph_prototypes>
  125.                     <request_method>POST</request_method>
  126.                 </discovery_rule>
  127.             </discovery_rules>
  128.         </template>
  129.     </templates>
  130. </zabbix_export>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement