Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
142 lines (141 sloc) 5.4 KB
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.2</version>
<date>2018-07-02T22:12:03Z</date>
<groups>
<group>
<name>Custom Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template Mikrotik API Poke</template>
<name>Template Mikrotik API Poke</name>
<description>Just pokes mikrotik.api.** which executes the script</description>
<groups>
<group>
<name>Custom Templates</name>
</group>
</groups>
<applications>
<application>
<name>Mikrotik API Poke</name>
</application>
</applications>
<items>
<item>
<name>API Discovery Services</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>mikrotik.api.discovery[{$MTIK_HOSTNAME},{$MTIK_API_HOST},{$MTIK_API_USER},{$MTIK_API_PASSWORD},-s]</key>
<delay>1800</delay>
<history>1</history>
<trends>1</trends>
<status>0</status>
<value_type>3</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>Executes the script which discovers the services doing API call to Mikrotik</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Mikrotik API Poke</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>API Getdata Call</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>mikrotik.api.getdata[{$MTIK_HOSTNAME},{$MTIK_API_HOST},{$MTIK_API_USER},{$MTIK_API_PASSWORD},-s -t]</key>
<delay>60</delay>
<history>1</history>
<trends>1</trends>
<status>0</status>
<value_type>3</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>Executes the script which gets the data doing API call to Mikrotik</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Mikrotik API Poke</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<httptests/>
<macros>
<macro>
<macro>{$MTIK_API_HOST}</macro>
<value>192.168.0.1</value>
</macro>
<macro>
<macro>{$MTIK_API_PASSWORD}</macro>
<value>admin</value>
</macro>
<macro>
<macro>{$MTIK_API_SCRIPT_PARAMS}</macro>
<value>-t</value>
</macro>
<macro>
<macro>{$MTIK_API_USER}</macro>
<value>admin</value>
</macro>
<macro>
<macro>{$MTIK_HOSTNAME}</macro>
<value>Mikrotik</value>
</macro>
</macros>
<templates/>
<screens/>
</template>
</templates>
</zabbix_export>
You can’t perform that action at this time.