Skip to content

Instantly share code, notes, and snippets.

@Cromeshnic
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cromeshnic/8468e1db201c3b9473d0 to your computer and use it in GitHub Desktop.
Save Cromeshnic/8468e1db201c3b9473d0 to your computer and use it in GitHub Desktop.
Template for BGBilling v 5.2 BGInetAccess server: http://bgbilling.ru/v5.2/doc/ch18.html
<?xml version="1.0" encoding="UTF-8"?>
<!--
Macros to be defined
* JMX_USERNAME
* JMX_PASSWORD
-->
<zabbix_export>
<version>2.0</version>
<date>2014-12-17T05:57:30Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template JMX BGInetAccess 5.2</template>
<name>Template JMX BGInetAccess 5.2</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Radius Connections</name>
</application>
<application>
<name>Radius Counters</name>
</application>
<application>
<name>Serv runtime</name>
</application>
</applications>
<items>
<item>
<name>radius auth per minute - accept</name>
<type>16</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,accessAcceptPerMinute]</key>
<delay>60</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase/>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username>{$JMX_USERNAME}</username>
<password>{$JMX_PASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Radius Counters</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>radius auth per minute - antispam</name>
<type>16</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,antispamIgnorePerMinute]</key>
<delay>60</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase/>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username>{$JMX_USERNAME}</username>
<password>{$JMX_PASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Radius Counters</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>radius auth per minute - ignore</name>
<type>16</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,accessRequestIgnorePerMinute]</key>
<delay>60</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase/>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username>{$JMX_USERNAME}</username>
<password>{$JMX_PASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Radius Counters</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>radius auth per minute - reject</name>
<type>16</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,accessRejectPerMinute]</key>
<delay>60</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase/>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username>{$JMX_USERNAME}</username>
<password>{$JMX_PASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Radius Counters</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>runtime - contract count</name>
<type>16</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.runtime:type=InetServRuntimeMap&quot;,contractCount]</key>
<delay>60</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase/>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username>{$JMX_USERNAME}</username>
<password>{$JMX_PASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Serv runtime</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>runtime - serv count</name>
<type>16</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.runtime:type=InetServRuntimeMap&quot;,count]</key>
<delay>60</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase/>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username>{$JMX_USERNAME}</username>
<password>{$JMX_PASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Serv runtime</name>
</application>
</applications>
<valuemap/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template JMX BGInetAccess 5.2:jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,accessRequestIgnorePerMinute].last(0)}&gt;0</expression>
<name>auth ignore</name>
<url/>
<status>0</status>
<priority>2</priority>
<description>Радиус-сервер не успевает обрабатывать auth-запросы</description>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
<graphs>
<graph>
<name>Radius</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>00DD00</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template JMX BGInetAccess 5.2</host>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,accessAcceptPerMinute]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
<color>DDDD00</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template JMX BGInetAccess 5.2</host>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,accessRejectPerMinute]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>0</drawtype>
<color>EE0000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template JMX BGInetAccess 5.2</host>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,accessRequestIgnorePerMinute]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<drawtype>0</drawtype>
<color>0000EE</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template JMX BGInetAccess 5.2</host>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.radius:type=InetRadiusProcessor&quot;,antispamIgnorePerMinute]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Serv runtime</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>0000BB</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template JMX BGInetAccess 5.2</host>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.runtime:type=InetServRuntimeMap&quot;,contractCount]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
<color>00C800</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template JMX BGInetAccess 5.2</host>
<key>jmx[&quot;ru.bitel.bgbilling.modules.inet.runtime:type=InetServRuntimeMap&quot;,count]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment