Advertisement
bradlee_edmondson

Zabbix OpenWRT WiFi network template - 2021-05-13

May 12th, 2021
1,896
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 18.02 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:15:11Z</date>
  5.     <groups>
  6.         <group>
  7.             <name>Templates</name>
  8.         </group>
  9.     </groups>
  10.     <templates>
  11.         <template>
  12.             <template>Template Openwrt Wifi</template>
  13.             <name>Template Openwrt Wifi</name>
  14.             <groups>
  15.                 <group>
  16.                     <name>Templates</name>
  17.                 </group>
  18.             </groups>
  19.             <applications>
  20.                 <application>
  21.                     <name>Wifi</name>
  22.                 </application>
  23.             </applications>
  24.             <discovery_rules>
  25.                 <discovery_rule>
  26.                     <name>Wifi interface discovery</name>
  27.                     <type>ZABBIX_ACTIVE</type>
  28.                     <key>wifi.ifdiscovery</key>
  29.                     <item_prototypes>
  30.                         <item_prototype>
  31.                             <name>Bitrate of {#SSID} ({#CHANNEL})({#BSSID})</name>
  32.                             <type>ZABBIX_ACTIVE</type>
  33.                             <key>wifi.iwinfo.bitrate[{#IF}]</key>
  34.                             <delay>30s</delay>
  35.                             <history>52w</history>
  36.                             <trends>156w</trends>
  37.                             <units>Bps</units>
  38.                             <applications>
  39.                                 <application>
  40.                                     <name>Wifi</name>
  41.                                 </application>
  42.                             </applications>
  43.                             <preprocessing>
  44.                                 <step>
  45.                                     <type>MULTIPLIER</type>
  46.                                     <parameters>
  47.                                         <parameter>1000</parameter>
  48.                                     </parameters>
  49.                                 </step>
  50.                             </preprocessing>
  51.                             <request_method>POST</request_method>
  52.                         </item_prototype>
  53.                         <item_prototype>
  54.                             <name>BSSID of {#SSID} ({#CHANNEL})({#BSSID})</name>
  55.                             <type>ZABBIX_ACTIVE</type>
  56.                             <key>wifi.iwinfo.bssid[{#IF}]</key>
  57.                             <delay>30s</delay>
  58.                             <history>52w</history>
  59.                             <trends>0</trends>
  60.                             <status>DISABLED</status>
  61.                             <value_type>TEXT</value_type>
  62.                             <applications>
  63.                                 <application>
  64.                                     <name>Wifi</name>
  65.                                 </application>
  66.                             </applications>
  67.                             <request_method>POST</request_method>
  68.                         </item_prototype>
  69.                         <item_prototype>
  70.                             <name>Channel of {#SSID} ({#CHANNEL})({#BSSID})</name>
  71.                             <type>ZABBIX_ACTIVE</type>
  72.                             <key>wifi.iwinfo.channel[{#IF}]</key>
  73.                             <delay>1h</delay>
  74.                             <history>52w</history>
  75.                             <trends>156w</trends>
  76.                             <status>DISABLED</status>
  77.                             <applications>
  78.                                 <application>
  79.                                     <name>Wifi</name>
  80.                                 </application>
  81.                             </applications>
  82.                             <request_method>POST</request_method>
  83.                         </item_prototype>
  84.                         <item_prototype>
  85.                             <name>Country of {#SSID} ({#CHANNEL})({#BSSID})</name>
  86.                             <type>ZABBIX_ACTIVE</type>
  87.                             <key>wifi.iwinfo.country[{#IF}]</key>
  88.                             <delay>30s</delay>
  89.                             <history>52w</history>
  90.                             <trends>0</trends>
  91.                             <status>DISABLED</status>
  92.                             <value_type>TEXT</value_type>
  93.                             <applications>
  94.                                 <application>
  95.                                     <name>Wifi</name>
  96.                                 </application>
  97.                             </applications>
  98.                             <request_method>POST</request_method>
  99.                         </item_prototype>
  100.                         <item_prototype>
  101.                             <name>Encryption of {#SSID} ({#CHANNEL})({#BSSID})</name>
  102.                             <type>ZABBIX_ACTIVE</type>
  103.                             <key>wifi.iwinfo.encryption[{#IF}]</key>
  104.                             <delay>30s</delay>
  105.                             <history>52w</history>
  106.                             <trends>0</trends>
  107.                             <status>DISABLED</status>
  108.                             <value_type>TEXT</value_type>
  109.                             <applications>
  110.                                 <application>
  111.                                     <name>Wifi</name>
  112.                                 </application>
  113.                             </applications>
  114.                             <request_method>POST</request_method>
  115.                         </item_prototype>
  116.                         <item_prototype>
  117.                             <name>Frequency of {#SSID} ({#CHANNEL})({#BSSID})</name>
  118.                             <type>ZABBIX_ACTIVE</type>
  119.                             <key>wifi.iwinfo.frequency[{#IF}]</key>
  120.                             <delay>1h</delay>
  121.                             <history>52w</history>
  122.                             <trends>156w</trends>
  123.                             <status>DISABLED</status>
  124.                             <units>Hz</units>
  125.                             <applications>
  126.                                 <application>
  127.                                     <name>Wifi</name>
  128.                                 </application>
  129.                             </applications>
  130.                             <preprocessing>
  131.                                 <step>
  132.                                     <type>MULTIPLIER</type>
  133.                                     <parameters>
  134.                                         <parameter>1000000</parameter>
  135.                                     </parameters>
  136.                                 </step>
  137.                             </preprocessing>
  138.                             <request_method>POST</request_method>
  139.                         </item_prototype>
  140.                         <item_prototype>
  141.                             <name>HWmode of {#SSID} ({#CHANNEL})({#BSSID})</name>
  142.                             <type>ZABBIX_ACTIVE</type>
  143.                             <key>wifi.iwinfo.hwmode[{#IF}]</key>
  144.                             <delay>30s</delay>
  145.                             <history>52w</history>
  146.                             <trends>0</trends>
  147.                             <status>DISABLED</status>
  148.                             <value_type>TEXT</value_type>
  149.                             <applications>
  150.                                 <application>
  151.                                     <name>Wifi</name>
  152.                                 </application>
  153.                             </applications>
  154.                             <request_method>POST</request_method>
  155.                         </item_prototype>
  156.                         <item_prototype>
  157.                             <name>Mode of {#SSID} ({#CHANNEL})({#BSSID})</name>
  158.                             <type>ZABBIX_ACTIVE</type>
  159.                             <key>wifi.iwinfo.mode[{#IF}]</key>
  160.                             <delay>30s</delay>
  161.                             <history>52w</history>
  162.                             <trends>0</trends>
  163.                             <status>DISABLED</status>
  164.                             <value_type>TEXT</value_type>
  165.                             <applications>
  166.                                 <application>
  167.                                     <name>Wifi</name>
  168.                                 </application>
  169.                             </applications>
  170.                             <request_method>POST</request_method>
  171.                         </item_prototype>
  172.                         <item_prototype>
  173.                             <name>Nbusers of {#SSID} ({#CHANNEL})({#BSSID})</name>
  174.                             <type>ZABBIX_ACTIVE</type>
  175.                             <key>wifi.iwinfo.nbusers[{#IF}]</key>
  176.                             <delay>30s</delay>
  177.                             <history>52w</history>
  178.                             <trends>156w</trends>
  179.                             <units>Users</units>
  180.                             <applications>
  181.                                 <application>
  182.                                     <name>Wifi</name>
  183.                                 </application>
  184.                             </applications>
  185.                             <request_method>POST</request_method>
  186.                         </item_prototype>
  187.                         <item_prototype>
  188.                             <name>Noise of {#SSID} ({#CHANNEL})({#BSSID})</name>
  189.                             <type>ZABBIX_ACTIVE</type>
  190.                             <key>wifi.iwinfo.noise[{#IF}]</key>
  191.                             <delay>30s</delay>
  192.                             <history>52w</history>
  193.                             <trends>156w</trends>
  194.                             <value_type>FLOAT</value_type>
  195.                             <units>dBm</units>
  196.                             <applications>
  197.                                 <application>
  198.                                     <name>Wifi</name>
  199.                                 </application>
  200.                             </applications>
  201.                             <request_method>POST</request_method>
  202.                         </item_prototype>
  203.                         <item_prototype>
  204.                             <name>Quality of {#SSID} ({#CHANNEL})({#BSSID})</name>
  205.                             <type>ZABBIX_ACTIVE</type>
  206.                             <key>wifi.iwinfo.quality[{#IF}]</key>
  207.                             <delay>30s</delay>
  208.                             <history>52w</history>
  209.                             <trends>156w</trends>
  210.                             <units>dB</units>
  211.                             <applications>
  212.                                 <application>
  213.                                     <name>Wifi</name>
  214.                                 </application>
  215.                             </applications>
  216.                             <request_method>POST</request_method>
  217.                         </item_prototype>
  218.                         <item_prototype>
  219.                             <name>Quality max of {#SSID} ({#CHANNEL})({#BSSID})</name>
  220.                             <type>ZABBIX_ACTIVE</type>
  221.                             <key>wifi.iwinfo.quality_max[{#IF}]</key>
  222.                             <delay>1h</delay>
  223.                             <history>52w</history>
  224.                             <trends>156w</trends>
  225.                             <units>dB</units>
  226.                             <applications>
  227.                                 <application>
  228.                                     <name>Wifi</name>
  229.                                 </application>
  230.                             </applications>
  231.                             <request_method>POST</request_method>
  232.                         </item_prototype>
  233.                         <item_prototype>
  234.                             <name>Signal of {#SSID} ({#CHANNEL})({#BSSID})</name>
  235.                             <type>ZABBIX_ACTIVE</type>
  236.                             <key>wifi.iwinfo.signal[{#IF}]</key>
  237.                             <delay>30s</delay>
  238.                             <history>52w</history>
  239.                             <trends>156w</trends>
  240.                             <value_type>FLOAT</value_type>
  241.                             <units>dBm</units>
  242.                             <applications>
  243.                                 <application>
  244.                                     <name>Wifi</name>
  245.                                 </application>
  246.                             </applications>
  247.                             <request_method>POST</request_method>
  248.                         </item_prototype>
  249.                         <item_prototype>
  250.                             <name>SNR of {#SSID} ({#CHANNEL})({#BSSID})</name>
  251.                             <type>CALCULATED</type>
  252.                             <key>wifi.iwinfo.snr[{#IF}]</key>
  253.                             <delay>30s</delay>
  254.                             <history>52w</history>
  255.                             <trends>156w</trends>
  256.                             <value_type>FLOAT</value_type>
  257.                             <units>dBm</units>
  258.                             <params>last(&quot;wifi.iwinfo.signal[{#IF}]&quot;) - last(&quot;wifi.iwinfo.noise[{#IF}]&quot;)</params>
  259.                             <applications>
  260.                                 <application>
  261.                                     <name>Wifi</name>
  262.                                 </application>
  263.                             </applications>
  264.                             <request_method>POST</request_method>
  265.                         </item_prototype>
  266.                         <item_prototype>
  267.                             <name>SSID of {#SSID} ({#CHANNEL})({#BSSID})</name>
  268.                             <type>ZABBIX_ACTIVE</type>
  269.                             <key>wifi.iwinfo.ssid[{#IF}]</key>
  270.                             <delay>30s</delay>
  271.                             <history>52w</history>
  272.                             <trends>0</trends>
  273.                             <status>DISABLED</status>
  274.                             <value_type>TEXT</value_type>
  275.                             <applications>
  276.                                 <application>
  277.                                     <name>Wifi</name>
  278.                                 </application>
  279.                             </applications>
  280.                             <request_method>POST</request_method>
  281.                         </item_prototype>
  282.                         <item_prototype>
  283.                             <name>Txpower of {#SSID} ({#CHANNEL})({#BSSID})</name>
  284.                             <type>ZABBIX_ACTIVE</type>
  285.                             <key>wifi.iwinfo.txpower[{#IF}]</key>
  286.                             <delay>1h</delay>
  287.                             <history>52w</history>
  288.                             <trends>156w</trends>
  289.                             <units>dB</units>
  290.                             <applications>
  291.                                 <application>
  292.                                     <name>Wifi</name>
  293.                                 </application>
  294.                             </applications>
  295.                             <request_method>POST</request_method>
  296.                         </item_prototype>
  297.                     </item_prototypes>
  298.                     <graph_prototypes>
  299.                         <graph_prototype>
  300.                             <name>Quality of {#SSID} ({#CHANNEL})({#BSSID})</name>
  301.                             <ymin_type_1>FIXED</ymin_type_1>
  302.                             <graph_items>
  303.                                 <graph_item>
  304.                                     <color>C80000</color>
  305.                                     <item>
  306.                                         <host>Template Openwrt Wifi</host>
  307.                                         <key>wifi.iwinfo.quality_max[{#IF}]</key>
  308.                                     </item>
  309.                                 </graph_item>
  310.                                 <graph_item>
  311.                                     <sortorder>1</sortorder>
  312.                                     <color>00C800</color>
  313.                                     <item>
  314.                                         <host>Template Openwrt Wifi</host>
  315.                                         <key>wifi.iwinfo.quality[{#IF}]</key>
  316.                                     </item>
  317.                                 </graph_item>
  318.                             </graph_items>
  319.                         </graph_prototype>
  320.                         <graph_prototype>
  321.                             <name>Signal of {#SSID} ({#CHANNEL})({#BSSID})</name>
  322.                             <graph_items>
  323.                                 <graph_item>
  324.                                     <color>C80000</color>
  325.                                     <item>
  326.                                         <host>Template Openwrt Wifi</host>
  327.                                         <key>wifi.iwinfo.noise[{#IF}]</key>
  328.                                     </item>
  329.                                 </graph_item>
  330.                                 <graph_item>
  331.                                     <sortorder>1</sortorder>
  332.                                     <color>00C800</color>
  333.                                     <item>
  334.                                         <host>Template Openwrt Wifi</host>
  335.                                         <key>wifi.iwinfo.signal[{#IF}]</key>
  336.                                     </item>
  337.                                 </graph_item>
  338.                             </graph_items>
  339.                         </graph_prototype>
  340.                         <graph_prototype>
  341.                             <name>SNR of {#SSID} ({#CHANNEL})({#BSSID})</name>
  342.                             <graph_items>
  343.                                 <graph_item>
  344.                                     <color>C80000</color>
  345.                                     <item>
  346.                                         <host>Template Openwrt Wifi</host>
  347.                                         <key>wifi.iwinfo.snr[{#IF}]</key>
  348.                                     </item>
  349.                                 </graph_item>
  350.                             </graph_items>
  351.                         </graph_prototype>
  352.                     </graph_prototypes>
  353.                     <request_method>POST</request_method>
  354.                 </discovery_rule>
  355.             </discovery_rules>
  356.         </template>
  357.     </templates>
  358. </zabbix_export>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement