mirror of
				https://github.com/limosek/zaf-plugins.git
				synced 2025-10-31 17:47:37 +01:00 
			
		
		
		
	Added template for openwrt monitoring
This commit is contained in:
		
							
								
								
									
										327
									
								
								openwrt/template.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										327
									
								
								openwrt/template.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,327 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <zabbix_export> | ||||
|     <version>3.2</version> | ||||
|     <date>2016-12-01T17:30:12Z</date> | ||||
|     <groups> | ||||
|         <group> | ||||
|             <name>Templates</name> | ||||
|         </group> | ||||
|     </groups> | ||||
|     <templates> | ||||
|         <template> | ||||
|             <template>Template Zaf openwrt</template> | ||||
|             <name>Template Zaf openwrt</name> | ||||
|             <description/> | ||||
|             <groups> | ||||
|                 <group> | ||||
|                     <name>Templates</name> | ||||
|                 </group> | ||||
|             </groups> | ||||
|             <applications> | ||||
|                 <application> | ||||
|                     <name>CPU</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>Filesystems</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>General</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>Memory</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>Network interfaces</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>OpenWRT Network interfaces</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>OS</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>Performance</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>Processes</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>Security</name> | ||||
|                 </application> | ||||
|                 <application> | ||||
|                     <name>Wifi</name> | ||||
|                 </application> | ||||
|             </applications> | ||||
|             <items> | ||||
|                 <item> | ||||
|                     <name>Available packages</name> | ||||
|                     <type>7</type> | ||||
|                     <snmp_community/> | ||||
|                     <multiplier>0</multiplier> | ||||
|                     <snmp_oid/> | ||||
|                     <key>openwrt.apackages</key> | ||||
|                     <delay>3600</delay> | ||||
|                     <history>14</history> | ||||
|                     <trends>0</trends> | ||||
|                     <status>0</status> | ||||
|                     <value_type>4</value_type> | ||||
|                     <allowed_hosts/> | ||||
|                     <units/> | ||||
|                     <delta>0</delta> | ||||
|                     <snmpv3_contextname/> | ||||
|                     <snmpv3_securityname/> | ||||
|                     <snmpv3_securitylevel>0</snmpv3_securitylevel> | ||||
|                     <snmpv3_authprotocol>0</snmpv3_authprotocol> | ||||
|                     <snmpv3_authpassphrase/> | ||||
|                     <snmpv3_privprotocol>0</snmpv3_privprotocol> | ||||
|                     <snmpv3_privpassphrase/> | ||||
|                     <formula>1</formula> | ||||
|                     <delay_flex/> | ||||
|                     <params/> | ||||
|                     <ipmi_sensor/> | ||||
|                     <data_type>0</data_type> | ||||
|                     <authtype>0</authtype> | ||||
|                     <username/> | ||||
|                     <password/> | ||||
|                     <publickey/> | ||||
|                     <privatekey/> | ||||
|                     <port/> | ||||
|                     <description/> | ||||
|                     <inventory_link>0</inventory_link> | ||||
|                     <applications> | ||||
|                         <application> | ||||
|                             <name>OS</name> | ||||
|                         </application> | ||||
|                     </applications> | ||||
|                     <valuemap/> | ||||
|                     <logtimefmt/> | ||||
|                 </item> | ||||
|                 <item> | ||||
|                     <name>Installed packages</name> | ||||
|                     <type>7</type> | ||||
|                     <snmp_community/> | ||||
|                     <multiplier>0</multiplier> | ||||
|                     <snmp_oid/> | ||||
|                     <key>openwrt.ipackages</key> | ||||
|                     <delay>3600</delay> | ||||
|                     <history>14</history> | ||||
|                     <trends>0</trends> | ||||
|                     <status>0</status> | ||||
|                     <value_type>4</value_type> | ||||
|                     <allowed_hosts/> | ||||
|                     <units/> | ||||
|                     <delta>0</delta> | ||||
|                     <snmpv3_contextname/> | ||||
|                     <snmpv3_securityname/> | ||||
|                     <snmpv3_securitylevel>0</snmpv3_securitylevel> | ||||
|                     <snmpv3_authprotocol>0</snmpv3_authprotocol> | ||||
|                     <snmpv3_authpassphrase/> | ||||
|                     <snmpv3_privprotocol>0</snmpv3_privprotocol> | ||||
|                     <snmpv3_privpassphrase/> | ||||
|                     <formula>1</formula> | ||||
|                     <delay_flex/> | ||||
|                     <params/> | ||||
|                     <ipmi_sensor/> | ||||
|                     <data_type>0</data_type> | ||||
|                     <authtype>0</authtype> | ||||
|                     <username/> | ||||
|                     <password/> | ||||
|                     <publickey/> | ||||
|                     <privatekey/> | ||||
|                     <port/> | ||||
|                     <description/> | ||||
|                     <inventory_link>0</inventory_link> | ||||
|                     <applications> | ||||
|                         <application> | ||||
|                             <name>OS</name> | ||||
|                         </application> | ||||
|                     </applications> | ||||
|                     <valuemap/> | ||||
|                     <logtimefmt/> | ||||
|                 </item> | ||||
|                 <item> | ||||
|                     <name>OpenWrt version</name> | ||||
|                     <type>7</type> | ||||
|                     <snmp_community/> | ||||
|                     <multiplier>0</multiplier> | ||||
|                     <snmp_oid/> | ||||
|                     <key>openwrt.version</key> | ||||
|                     <delay>3600</delay> | ||||
|                     <history>14</history> | ||||
|                     <trends>0</trends> | ||||
|                     <status>0</status> | ||||
|                     <value_type>4</value_type> | ||||
|                     <allowed_hosts/> | ||||
|                     <units/> | ||||
|                     <delta>0</delta> | ||||
|                     <snmpv3_contextname/> | ||||
|                     <snmpv3_securityname/> | ||||
|                     <snmpv3_securitylevel>0</snmpv3_securitylevel> | ||||
|                     <snmpv3_authprotocol>0</snmpv3_authprotocol> | ||||
|                     <snmpv3_authpassphrase/> | ||||
|                     <snmpv3_privprotocol>0</snmpv3_privprotocol> | ||||
|                     <snmpv3_privpassphrase/> | ||||
|                     <formula>1</formula> | ||||
|                     <delay_flex/> | ||||
|                     <params/> | ||||
|                     <ipmi_sensor/> | ||||
|                     <data_type>0</data_type> | ||||
|                     <authtype>0</authtype> | ||||
|                     <username/> | ||||
|                     <password/> | ||||
|                     <publickey/> | ||||
|                     <privatekey/> | ||||
|                     <port/> | ||||
|                     <description/> | ||||
|                     <inventory_link>0</inventory_link> | ||||
|                     <applications> | ||||
|                         <application> | ||||
|                             <name>OS</name> | ||||
|                         </application> | ||||
|                     </applications> | ||||
|                     <valuemap/> | ||||
|                     <logtimefmt/> | ||||
|                 </item> | ||||
|             </items> | ||||
|             <discovery_rules> | ||||
|                 <discovery_rule> | ||||
|                     <name>Network interface discovery</name> | ||||
|                     <type>7</type> | ||||
|                     <snmp_community/> | ||||
|                     <snmp_oid/> | ||||
|                     <key>openwrt.if_discovery</key> | ||||
|                     <delay>3600</delay> | ||||
|                     <status>0</status> | ||||
|                     <allowed_hosts/> | ||||
|                     <snmpv3_contextname/> | ||||
|                     <snmpv3_securityname/> | ||||
|                     <snmpv3_securitylevel>0</snmpv3_securitylevel> | ||||
|                     <snmpv3_authprotocol>0</snmpv3_authprotocol> | ||||
|                     <snmpv3_authpassphrase/> | ||||
|                     <snmpv3_privprotocol>0</snmpv3_privprotocol> | ||||
|                     <snmpv3_privpassphrase/> | ||||
|                     <delay_flex/> | ||||
|                     <params/> | ||||
|                     <ipmi_sensor/> | ||||
|                     <authtype>0</authtype> | ||||
|                     <username/> | ||||
|                     <password/> | ||||
|                     <publickey/> | ||||
|                     <privatekey/> | ||||
|                     <port/> | ||||
|                     <filter> | ||||
|                         <evaltype>0</evaltype> | ||||
|                         <formula/> | ||||
|                         <conditions> | ||||
|                             <condition> | ||||
|                                 <macro>{#IF}</macro> | ||||
|                                 <value>@Network interfaces for discovery</value> | ||||
|                                 <operator>8</operator> | ||||
|                                 <formulaid>A</formulaid> | ||||
|                             </condition> | ||||
|                         </conditions> | ||||
|                     </filter> | ||||
|                     <lifetime>30</lifetime> | ||||
|                     <description>Discovery of network interfaces as defined in global regular expression "Network interfaces for discovery".</description> | ||||
|                     <item_prototypes> | ||||
|                         <item_prototype> | ||||
|                             <name>Incoming network traffic on {#IF}</name> | ||||
|                             <type>7</type> | ||||
|                             <snmp_community/> | ||||
|                             <multiplier>1</multiplier> | ||||
|                             <snmp_oid/> | ||||
|                             <key>net.if.in[{#IF}]</key> | ||||
|                             <delay>300</delay> | ||||
|                             <history>7</history> | ||||
|                             <trends>365</trends> | ||||
|                             <status>0</status> | ||||
|                             <value_type>3</value_type> | ||||
|                             <allowed_hosts/> | ||||
|                             <units>bps</units> | ||||
|                             <delta>1</delta> | ||||
|                             <snmpv3_contextname/> | ||||
|                             <snmpv3_securityname/> | ||||
|                             <snmpv3_securitylevel>0</snmpv3_securitylevel> | ||||
|                             <snmpv3_authprotocol>0</snmpv3_authprotocol> | ||||
|                             <snmpv3_authpassphrase/> | ||||
|                             <snmpv3_privprotocol>0</snmpv3_privprotocol> | ||||
|                             <snmpv3_privpassphrase/> | ||||
|                             <formula>8</formula> | ||||
|                             <delay_flex/> | ||||
|                             <params/> | ||||
|                             <ipmi_sensor/> | ||||
|                             <data_type>0</data_type> | ||||
|                             <authtype>0</authtype> | ||||
|                             <username/> | ||||
|                             <password/> | ||||
|                             <publickey/> | ||||
|                             <privatekey/> | ||||
|                             <port/> | ||||
|                             <description/> | ||||
|                             <inventory_link>0</inventory_link> | ||||
|                             <applications> | ||||
|                                 <application> | ||||
|                                     <name>OpenWRT Network interfaces</name> | ||||
|                                 </application> | ||||
|                             </applications> | ||||
|                             <valuemap/> | ||||
|                             <logtimefmt/> | ||||
|                             <application_prototypes/> | ||||
|                         </item_prototype> | ||||
|                         <item_prototype> | ||||
|                             <name>Outgoing network traffic on {#IF}</name> | ||||
|                             <type>7</type> | ||||
|                             <snmp_community/> | ||||
|                             <multiplier>1</multiplier> | ||||
|                             <snmp_oid/> | ||||
|                             <key>net.if.out[{#IF}]</key> | ||||
|                             <delay>300</delay> | ||||
|                             <history>7</history> | ||||
|                             <trends>365</trends> | ||||
|                             <status>0</status> | ||||
|                             <value_type>3</value_type> | ||||
|                             <allowed_hosts/> | ||||
|                             <units>bps</units> | ||||
|                             <delta>1</delta> | ||||
|                             <snmpv3_contextname/> | ||||
|                             <snmpv3_securityname/> | ||||
|                             <snmpv3_securitylevel>0</snmpv3_securitylevel> | ||||
|                             <snmpv3_authprotocol>0</snmpv3_authprotocol> | ||||
|                             <snmpv3_authpassphrase/> | ||||
|                             <snmpv3_privprotocol>0</snmpv3_privprotocol> | ||||
|                             <snmpv3_privpassphrase/> | ||||
|                             <formula>8</formula> | ||||
|                             <delay_flex/> | ||||
|                             <params/> | ||||
|                             <ipmi_sensor/> | ||||
|                             <data_type>0</data_type> | ||||
|                             <authtype>0</authtype> | ||||
|                             <username/> | ||||
|                             <password/> | ||||
|                             <publickey/> | ||||
|                             <privatekey/> | ||||
|                             <port/> | ||||
|                             <description/> | ||||
|                             <inventory_link>0</inventory_link> | ||||
|                             <applications> | ||||
|                                 <application> | ||||
|                                     <name>OpenWRT Network interfaces</name> | ||||
|                                 </application> | ||||
|                             </applications> | ||||
|                             <valuemap/> | ||||
|                             <logtimefmt/> | ||||
|                             <application_prototypes/> | ||||
|                         </item_prototype> | ||||
|                     </item_prototypes> | ||||
|                     <trigger_prototypes/> | ||||
|                     <graph_prototypes/> | ||||
|                     <host_prototypes/> | ||||
|                 </discovery_rule> | ||||
|             </discovery_rules> | ||||
|             <httptests/> | ||||
|             <macros/> | ||||
|             <templates/> | ||||
|             <screens/> | ||||
|         </template> | ||||
|     </templates> | ||||
| </zabbix_export> | ||||
		Reference in New Issue
	
	Block a user
	 Lukas Macura
					Lukas Macura