|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<zabbix_export>
|
|
|
|
<version>5.0</version>
|
|
|
|
<date>2021-06-19T10:41:22Z</date>
|
|
|
|
<groups>
|
|
|
|
<group>
|
|
|
|
<name>Templates</name>
|
|
|
|
</group>
|
|
|
|
</groups>
|
|
|
|
<templates>
|
|
|
|
<template>
|
|
|
|
<template>Template_SNMP_Device</template>
|
|
|
|
<name>Template_SNMP_Device</name>
|
|
|
|
<templates>
|
|
|
|
<template>
|
|
|
|
<name>Template_Ping</name>
|
|
|
|
</template>
|
|
|
|
</templates>
|
|
|
|
<groups>
|
|
|
|
<group>
|
|
|
|
<name>Templates</name>
|
|
|
|
</group>
|
|
|
|
</groups>
|
|
|
|
<items>
|
|
|
|
<item>
|
|
|
|
<name>Contact</name>
|
|
|
|
<type>SNMP_AGENT</type>
|
|
|
|
<snmp_oid>SNMPv2-MIB::sysContact.0</snmp_oid>
|
|
|
|
<key>sysContact</key>
|
|
|
|
<delay>2h</delay>
|
|
|
|
<history>30d</history>
|
|
|
|
<trends>0</trends>
|
|
|
|
<value_type>CHAR</value_type>
|
|
|
|
<request_method>POST</request_method>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<name>Description</name>
|
|
|
|
<type>SNMP_AGENT</type>
|
|
|
|
<snmp_oid>SNMPv2-MIB::sysDescr.0</snmp_oid>
|
|
|
|
<key>sysDescr</key>
|
|
|
|
<delay>2h</delay>
|
|
|
|
<history>30d</history>
|
|
|
|
<trends>0</trends>
|
|
|
|
<value_type>CHAR</value_type>
|
|
|
|
<request_method>POST</request_method>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<name>Location</name>
|
|
|
|
<type>SNMP_AGENT</type>
|
|
|
|
<snmp_oid>SNMPv2-MIB::sysLocation.0</snmp_oid>
|
|
|
|
<key>sysLocation</key>
|
|
|
|
<delay>2h</delay>
|
|
|
|
<history>30d</history>
|
|
|
|
<trends>0</trends>
|
|
|
|
<value_type>CHAR</value_type>
|
|
|
|
<request_method>POST</request_method>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<name>Device name</name>
|
|
|
|
<type>SNMP_AGENT</type>
|
|
|
|
<snmp_oid>SNMPv2-MIB::sysName.0</snmp_oid>
|
|
|
|
<key>sysName</key>
|
|
|
|
<delay>2h</delay>
|
|
|
|
<history>30d</history>
|
|
|
|
<trends>0</trends>
|
|
|
|
<value_type>CHAR</value_type>
|
|
|
|
<request_method>POST</request_method>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<name>Uptime</name>
|
|
|
|
<type>SNMP_AGENT</type>
|
|
|
|
<snmp_oid>DISMAN-EVENT-MIB::sysUpTimeInstance</snmp_oid>
|
|
|
|
<key>sysUpTimeInstance</key>
|
|
|
|
<delay>10m</delay>
|
|
|
|
<history>30d</history>
|
|
|
|
<trends>730d</trends>
|
|
|
|
<units>s</units>
|
|
|
|
<preprocessing>
|
|
|
|
<step>
|
|
|
|
<type>MULTIPLIER</type>
|
|
|
|
<params>0.01</params>
|
|
|
|
</step>
|
|
|
|
</preprocessing>
|
|
|
|
<request_method>POST</request_method>
|
|
|
|
<triggers>
|
|
|
|
<trigger>
|
|
|
|
<expression>{last()}<{$SNMP_REBOOT_WARN}</expression>
|
|
|
|
<name>Device rebooted {ITEM.LASTVALUE1} ago</name>
|
|
|
|
<priority>WARNING</priority>
|
|
|
|
</trigger>
|
|
|
|
</triggers>
|
|
|
|
</item>
|
|
|
|
</items>
|
|
|
|
<macros>
|
|
|
|
<macro>
|
|
|
|
<macro>{$SNMP_COMMUNITY}</macro>
|
|
|
|
<value>public</value>
|
|
|
|
</macro>
|
|
|
|
<macro>
|
|
|
|
<macro>{$SNMP_REBOOT_WARN}</macro>
|
|
|
|
<value>7200</value>
|
|
|
|
</macro>
|
|
|
|
</macros>
|
|
|
|
</template>
|
|
|
|
</templates>
|
|
|
|
</zabbix_export>
|