Additional scripts for Zabbix agent on Linux to discover and monitor several services
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.
 
 

107 lines
4.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-03-02T14:10:14Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Model_SNMP_Device</template>
<name>Model_SNMP_Device</name>
<templates>
<template>
<name>Template_Ping</name>
</template>
</templates>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<items>
<item>
<name>Contact</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<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>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<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>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<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>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<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>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<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()}&lt;7200</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>
</macros>
</template>
</templates>
</zabbix_export>