├── Certificado SSL ├── Host para RR Monitor de certificado SSL Descoberta.xml ├── README.md └── RR Monitor de certificado SSL Descoberta.xml ├── DELL └── RR Dell iDRAC SNMP.xml ├── Datacom ├── DMOS-MIB.zip ├── Datacom-onu.xml ├── DmOS - Transceivers Interface.xml ├── DmOS.xml └── README.md ├── FiberHome ├── GEPON-OLT-COMMON-MIB.txt ├── README.md ├── RR - Fiberhome AN5516-01 - HSWA.xml ├── RR - Fiberhome AN5516-01 - HU1A.xml ├── RR - Fiberhome AN5516-01 - Info ONUs por MAC.xml ├── RR - Fiberhome AN5516-01 - Info ONUs por PON.xml ├── RR - Fiberhome AN5516-01 - Info Placas.xml ├── RR - Fiberhome Trafego por PON.xml └── RR - Fiberhome-TODOS.xml ├── Furukawa ├── RR OLT Furukawa 16 PON.xml ├── RR OLT Furukawa 4 PON.xml ├── RR OLT Furukawa 8 PON.xml └── RR OLT Furukawa.xml ├── HTTP_APIs ├── README.md ├── RR Geolocalizacao API.xml ├── RR Pesquisa Banco de dados de Spam.xml ├── RR Traceroute MTR DNS.xml └── RR Traceroute MTR NO-DNS.xml ├── Huawei ├── (BETA) RR Huawei SNMPv2 - Interfaces PPPoE - Friendly.xml ├── 0-RR Huawei SNMPv2 - TODOS.xml ├── BGP │ ├── 000-RR Huawei SNMPv2 - BGP.txt │ ├── 001-RR Huawei SNMPv2 - BGP Mapeamento de valor.xml │ ├── 002-RR Huawei SNMPv2 - BGP.xml │ ├── README.md │ └── asname ├── RR Huawei SNMPv2 - CPU e Memoria.xml ├── RR Huawei SNMPv2 - FIB e RIB.xml ├── RR Huawei SNMPv2 - Informacoes Extra.xml ├── RR Huawei SNMPv2 - Interfaces Fisicas Todas - Trafego Erros PPS.xml ├── RR Huawei SNMPv2 - Interfaces Fisicas com Descricao - So Trafego.xml ├── RR Huawei SNMPv2 - Interfaces Fisicas com Descricao - Trafego Erros PPS.xml ├── RR Huawei SNMPv2 - Interfaces Info Modulos Opticos.xml ├── RR Huawei SNMPv2 - Interfaces Todas - So Trafego.xml ├── RR Huawei SNMPv2 - Interfaces Todas com Descricao - So Trafego.xml ├── RR Huawei SNMPv2 - Interfaces.xml └── RR Huawei SNMPv2 - Total PPPoE.xml ├── ICMP └── RR ICMP.xml ├── Linux ├── README.md └── RR Servicos.xml ├── Mikrotik ├── 00-TODOS RR Mikrotik SNMP.xml ├── BGP_ROUTEROS │ ├── Grafana_Modelo.json │ ├── README.md │ ├── RR Mikrotik - BGP - Script Python.xml │ ├── imgs │ │ ├── dados.png │ │ ├── grafana.png │ │ ├── graficos_bgp.png │ │ ├── host_1.png │ │ ├── host_2.png │ │ └── host_3.png │ └── mikrotikBgpZabbixScript │ │ └── README.md ├── BGP_SNMP_SCRIPT │ ├── README.md │ ├── RR Mikrotik - BGP - SNMP Script.xml │ └── mk_script.txt ├── RR Mikrotik - PPPOE por Services - SNMP Script.xml ├── RR Mikrotik SNMP AP.xml ├── RR Mikrotik SNMP CPU 1 Nucleo.xml ├── RR Mikrotik SNMP CPU 16 Nucleo.xml ├── RR Mikrotik SNMP CPU 2 Nucleo.xml ├── RR Mikrotik SNMP CPU 36 Nucleo.xml ├── RR Mikrotik SNMP CPU 4 Nucleo.xml ├── RR Mikrotik SNMP CPU 72 Nucleo.xml ├── RR Mikrotik SNMP CPU 9 Nucleo.xml ├── RR Mikrotik SNMP CPU Discovery.xml ├── RR Mikrotik SNMP Info Fan 1x.xml ├── RR Mikrotik SNMP Info Fan 2x.xml ├── RR Mikrotik SNMP Info Geral.xml ├── RR Mikrotik SNMP Info PSU.xml ├── RR Mikrotik SNMP Interf. Comentadas Rate Advertise.xml ├── RR Mikrotik SNMP Interf. Comentadas Trafego.xml ├── RR Mikrotik SNMP Interf. PPPoE Ativas.xml ├── RR Mikrotik SNMP Interf. Status Link Downs VPLS.xml ├── RR Mikrotik SNMP Interf. Status Link Downs.xml ├── RR Mikrotik SNMP Interf. Todas Rate Advertise.xml ├── RR Mikrotik SNMP Interf. Todas Traf. PPS e Erros.xml ├── RR Mikrotik SNMP Interf. Todas Trafego - FTTH 7dias.xml ├── RR Mikrotik SNMP Interf. Todas Trafego.xml ├── RR Mikrotik SNMP Interf. Trafego PPP.xml ├── RR Mikrotik SNMP Interf. Trafego PPS e Erros de portas Fisicas Comentadas.xml ├── RR Mikrotik SNMP Interf. Trafego PPS e erros de portas Fisicas.xml ├── RR Mikrotik SNMP Interf. Trafego e PPS de VLANs Comentadas.xml ├── RR Mikrotik SNMP Interf. Trafego e PPS de VLANs.xml ├── RR Mikrotik SNMP SFP Infos.xml └── RR Mikrotik SNMP Traf. so Queues.xml ├── Mimosa └── RR Mimosa.xml ├── NHS └── RR NHS.xml ├── PHB └── RR PHB.xml ├── README.md ├── Ubiquiti ├── README.md ├── RR Ubiquiti AC Series 8.x SNMP Clientes.xml ├── RR Ubiquiti AC Series 8.x SNMP Infos LiteAP.xml ├── RR Ubiquiti AC Series 8.x SNMP Infos Rocket.xml ├── RR Ubiquiti M Series 6.x SNMP Clientes.xml ├── RR Ubiquiti M Series 6.x SNMP Infos.xml ├── RR Ubiquiti M e AC Series SNMP apenas Trafego.xml └── RR Ubiquiti.xml ├── V-Sol ├── RR - OLT V-SOLUTIONS └── RR - OLT V-SOLUTIONS.xml ├── Volt └── RR Volt.xml ├── Wi2Be └── RR Wi2Be.xml └── frontend.po /Certificado SSL/Host para RR Monitor de certificado SSL Descoberta.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-06-21T20:28:47Z 5 | 6 | 7 | Servidores 8 | 9 | 10 | 11 | 12 | Monitoramento de Certificados 13 | Monitoramento de Certificados 14 | 15 | 18 | 19 | 20 | 21 | Servidores 22 | 23 | 24 | 25 | 26 | if1 27 | 28 | 29 | DISABLED 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Certificado SSL/README.md: -------------------------------------------------------------------------------- 1 | # Leia 2 | https://github.com/remontti/https-ssl-cert-check-zabbix 3 | -------------------------------------------------------------------------------- /Certificado SSL/RR Monitor de certificado SSL Descoberta.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-06-21T20:41:03Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 129 | 130 | 131 | 132 | Service state 133 | 134 | 135 | 0 136 | Down 137 | 138 | 139 | 1 140 | Up 141 | 142 | 143 | 144 | 145 | 146 | -------------------------------------------------------------------------------- /Datacom/DMOS-MIB.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remontti/Zabbix-Templates/4ee33dbcd565ae84d01f6dffa021ea17b45cf520/Datacom/DMOS-MIB.zip -------------------------------------------------------------------------------- /Datacom/README.md: -------------------------------------------------------------------------------- 1 | Copie para /usr/share/snmp/mibs 2 | 3 | 4 | 5 | https://share.zabbix.com/network_devices/datacom 6 | -------------------------------------------------------------------------------- /FiberHome/README.md: -------------------------------------------------------------------------------- 1 | 2 | RP700 Firmware: 3 | 4 | ```bash 5 | Admin# cd device 6 | Admin\device# set mib performance switch enable 7 | Admin# cd gponlinecard 8 | Admin\gponlinecard# set pon_traffic_sts switch opt enable 5 0 rtt enable 5 0 traffic enable 5 0 9 | ``` 10 | 11 | RP1000/1200 Firmware: 12 | ```bash 13 | Admin# cd maintenance 14 | Admin\maintenance# cd performance 15 | Admin\maintenance\performance# set mib performance switch enable 16 | Admin\maintenance\performance# show mib performance switch 17 | Mib performance switch is enable. 18 | Admin\maintenance\performance# set pon_traffic_sts switch opt enable 5 0 rtt enable 5 0 traffic enable 5 0 19 | Admin\maintenance\performance# show pon_traffic_sts switch 20 | Pon_traffic_sort_swicth cfg: 21 | Traffic cfg: switch:enable, interval:5, report_delaytime:0 22 | Onu_rttval cfg: switch:enable, interval:5, report_delaytime:0 23 | Opt_pwr cfg: switch:enable, interval:5, report_delaytime:0 24 | ``` 25 | -------------------------------------------------------------------------------- /FiberHome/RR - Fiberhome AN5516-01 - HSWA.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-12-09T14:13:38Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 179 | 180 | 181 | 182 | CPU / Memoria 183 | 184 | 185 | BOLD_LINE 186 | 0040FF 187 | 188 | RR - Fiberhome AN5516-01 - HSWA 189 | hswa.cpu 190 | 191 | 192 | 193 | 1 194 | BOLD_LINE 195 | 8F2809 196 | RIGHT 197 | 198 | RR - Fiberhome AN5516-01 - HSWA 199 | hswa.mem 200 | 201 | 202 | 203 | 204 | 205 | Temperatura HSWA 206 | 207 | 208 | GRADIENT_LINE 209 | 039BE5 210 | RIGHT 211 | 212 | RR - Fiberhome AN5516-01 - HSWA 213 | hswa.temperatura 214 | 215 | 216 | 217 | 218 | 219 | 220 | -------------------------------------------------------------------------------- /FiberHome/RR - Fiberhome AN5516-01 - Info ONUs por MAC.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-12-09T14:13:54Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 132 | 133 | 134 | -------------------------------------------------------------------------------- /FiberHome/RR - Fiberhome AN5516-01 - Info ONUs por PON.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2022-01-31T17:46:18Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 155 | 156 | 157 | 158 | Total de ONUs 159 | 160 | 161 | 1 162 | GRADIENT_LINE 163 | FF8000 164 | 165 | RR - Fiberhome AN5516-01 - Info ONUs por PON 166 | total.onu 167 | 168 | 169 | 170 | 171 | 172 | 173 | -------------------------------------------------------------------------------- /FiberHome/RR - Fiberhome Trafego por PON.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-12-09T14:14:15Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 129 | 130 | 131 | -------------------------------------------------------------------------------- /HTTP_APIs/README.md: -------------------------------------------------------------------------------- 1 | 2 | # Instalação - RR Traceroute MTR 3 | ``` 4 | # apt install mtr-tiny 5 | # cd /usr/lib/zabbix/externalscripts 6 | ``` 7 | ### RR Traceroute MTR DNS.xml 8 | ``` 9 | # echo '#!/bin/bash' > zbx_mtr 10 | # echo 'IP=$1' >> zbx_mtr 11 | # echo 'mtr -r -c5 -w -b -p -j $IP | sed -e "s/???/* * */g"' >> zbx_mtr 12 | # chown zabbix. zbx_mtr 13 | # chmod +x zbx_mtr 14 | ``` 15 | ### RR Traceroute MTR NO-DNS.xml 16 | ``` 17 | # echo '#!/bin/bash' > zbx_mtr_nodns 18 | # echo 'IP=$1' >> zbx_mtr_nodns 19 | # echo 'mtr -r -c3 -w -b -p -j -n $IP | sed -e "s/???/* * */g"' >> zbx_mtr_nodns 20 | # chown zabbix. zbx_mtr_nodns 21 | # chmod +x zbx_mtr_nodns 22 | ``` 23 | -------------------------------------------------------------------------------- /HTTP_APIs/RR Geolocalizacao API.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-12-06T12:20:16Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 227 | 228 | 229 | -------------------------------------------------------------------------------- /HTTP_APIs/RR Pesquisa Banco de dados de Spam.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2022-01-15T14:14:04Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /Huawei/(BETA) RR Huawei SNMPv2 - Interfaces PPPoE - Friendly.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2022-07-13T20:59:44Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /Huawei/BGP/000-RR Huawei SNMPv2 - BGP.txt: -------------------------------------------------------------------------------- 1 | Importe o 001-RR Huawei SNMPv2 - BGP Mapeamento de valor primeiro em seguida 002-RR Huawei SNMPv2 - BGP 2 | 3 | Debian + Zabbix 5.x 4 | 5 | # apt install whois 6 | # cd /usr/lib/zabbix/externalscripts 7 | # wget https://raw.githubusercontent.com/remontti/Zabbix-Templates/main/Huawei/BGP/asname 8 | # chown zabbix. /usr/lib/zabbix/externalscripts/asname 9 | # chmod +x /usr/lib/zabbix/externalscripts/asname 10 | -------------------------------------------------------------------------------- /Huawei/BGP/001-RR Huawei SNMPv2 - BGP Mapeamento de valor.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2020-09-09T18:18:33Z 5 | 6 | 7 | bgpPeerAdminStatus 8 | 9 | 10 | 1 11 | Stop 12 | 13 | 14 | 2 15 | Start 16 | 17 | 18 | 19 | 20 | BgpPeerState 21 | 22 | 23 | 1 24 | idle 25 | 26 | 27 | 2 28 | connect 29 | 30 | 31 | 3 32 | active 33 | 34 | 35 | 4 36 | opensent 37 | 38 | 39 | 5 40 | openconfirm 41 | 42 | 43 | 6 44 | established 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Huawei/BGP/README.md: -------------------------------------------------------------------------------- 1 | Importe o 001-RR Huawei SNMPv2 - BGP Mapeamento de valor primeiro em seguida 002-RR Huawei SNMPv2 - BGP 2 | 3 | Debian + Zabbix 5.x 4 | 5 |
# apt install whois
 6 | # cd /usr/lib/zabbix/externalscripts
 7 | # wget https://raw.githubusercontent.com/remontti/Zabbix-Templates/main/Huawei/BGP/asname
 8 | # chown zabbix. /usr/lib/zabbix/externalscripts/asname
 9 | # chmod +x /usr/lib/zabbix/externalscripts/asname
10 | -------------------------------------------------------------------------------- /Huawei/BGP/asname: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #ASNUMBER=$(snmpget -Os -c public -v 2c $2 .1.3.6.1.2.1.15.3.1.9.$1 |cut -d ":" -f3|cut -d " " -f2) 3 | ASNUMBER=$3 4 | ASNAME=$(whois -h whois.cymru.com AS$ASNUMBER | egrep -v "AS Name") 5 | if [ "$ASNAME" = "NO_NAME" ]; then 6 | ASNAME="" 7 | fi 8 | if [ "$ASNAME" = "" ]; then 9 | ASNAME=$(whois $1|grep owner: |cut -d ":" -f 2|sed -e 's/^[ \t]*//') 10 | fi 11 | if [ "$ASNAME" = "" ]; then 12 | ASNAME=$(whois $1|grep network:Org-Name: |cut -d ":" -f 3|sed -e 's/^[ \t]*//') 13 | fi 14 | if [ "$ASNAME" = "" ]; then 15 | ASNAME=$(whois $1|grep netname: |cut -d ":" -f 2|sed -e 's/^[ \t]*//') 16 | fi 17 | if [ "$ASNAME" = "" ]; then 18 | ASNAME=NO_NAME 19 | fi 20 | echo $ASNAME 21 | -------------------------------------------------------------------------------- /Huawei/RR Huawei SNMPv2 - FIB e RIB.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-08T20:21:11Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 73 | 74 | 75 | 76 | FIB - IPv4 77 | 78 | 79 | 1 80 | FILLED_REGION 81 | 00EE00 82 | 83 | RR Huawei SNMPv2 - FIB e RIB 84 | hwIPv4FibRoutes 85 | 86 | 87 | 88 | 89 | 90 | FIB - IPv6 91 | 92 | 93 | 1 94 | F63100 95 | 96 | RR Huawei SNMPv2 - FIB e RIB 97 | hwIPv6FibRoutes 98 | 99 | 100 | 101 | 102 | 103 | RIB - IPv4 104 | 105 | 106 | 1 107 | FILLED_REGION 108 | EE0000 109 | 110 | RR Huawei SNMPv2 - FIB e RIB 111 | hwIPv4RibRoutes 112 | 113 | 114 | 115 | 116 | 117 | RIB x FIB - IPv4 118 | 119 | 120 | 1 121 | BOLD_LINE 122 | 00EE00 123 | 124 | RR Huawei SNMPv2 - FIB e RIB 125 | hwIPv4FibRoutes 126 | 127 | 128 | 129 | 2 130 | BOLD_LINE 131 | EE0000 132 | 133 | RR Huawei SNMPv2 - FIB e RIB 134 | hwIPv4RibRoutes 135 | 136 | 137 | 138 | 139 | 140 | 141 | -------------------------------------------------------------------------------- /Huawei/RR Huawei SNMPv2 - Interfaces Fisicas com Descricao - So Trafego.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-08T20:22:00Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /Huawei/RR Huawei SNMPv2 - Interfaces Todas - So Trafego.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-08T20:22:36Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /Huawei/RR Huawei SNMPv2 - Interfaces Todas com Descricao - So Trafego.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-08T20:22:43Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 123 | 124 | 125 | -------------------------------------------------------------------------------- /Huawei/RR Huawei SNMPv2 - Total PPPoE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-08T20:22:49Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 93 | 94 | 95 | 96 | PPPoE 97 | 98 | 99 | 1 100 | BOLD_LINE 101 | 0080FF 102 | 103 | RR Huawei SNMPv2 - Total PPPoE 104 | hwPPPoeOn 105 | 106 | 107 | 108 | 2 109 | BOLD_LINE 110 | BFFF00 111 | 112 | RR Huawei SNMPv2 - Total PPPoE 113 | hwPPPoeOnDS 114 | 115 | 116 | 117 | 3 118 | BOLD_LINE 119 | FF4000 120 | 121 | RR Huawei SNMPv2 - Total PPPoE 122 | hwPPPoeV4 123 | 124 | 125 | 126 | 127 | 128 | 129 | -------------------------------------------------------------------------------- /Linux/README.md: -------------------------------------------------------------------------------- 1 | # Veja também 2 | https://github.com/remontti/zabbix-fail2ban-discovery 3 |

4 | https://github.com/remontti/Zabbix-Bind9-Statistics-Collection 5 | -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/README.md: -------------------------------------------------------------------------------- 1 | # Monitoramento dos Peers no RouterOS (API + Script Python) 2 | ### Créditos 3 | Python: Gabriel Vargas Padilha | mikrotikBgpZabbixScript
4 | Zabbix: Rudimar Remontti | Zabbix BGP RouterOS 5 | 6 | Espero que um dia a mikrotik inclua em seu snmp! 🙌 7 | 8 | 9 | 10 | 11 | 12 | # Configuração 13 | 14 | ### Monitorando sessão BGP do RouterOS/Mikrotik em seu Zabbix 15 | https://blog.remontti.com.br/6075 16 | 17 | 18 | ### Tutorial de instalção do Zabbix 19 | Instalação do Zabbix 5 LTS + Grafana + NGINX + PostgreSQL + Telegram 20 | 21 | ### LICENÇA 22 | Se usar ou melhorar não seja cuzão de não compartilha! 23 | -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/RR Mikrotik - BGP - Script Python.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-12T13:10:39Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 154 | 155 | 156 | 157 | Service state 158 | 159 | 160 | 0 161 | Down 162 | 163 | 164 | 1 165 | Up 166 | 167 | 168 | 169 | 170 | 171 | -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/imgs/dados.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remontti/Zabbix-Templates/4ee33dbcd565ae84d01f6dffa021ea17b45cf520/Mikrotik/BGP_ROUTEROS/imgs/dados.png -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/imgs/grafana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remontti/Zabbix-Templates/4ee33dbcd565ae84d01f6dffa021ea17b45cf520/Mikrotik/BGP_ROUTEROS/imgs/grafana.png -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/imgs/graficos_bgp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remontti/Zabbix-Templates/4ee33dbcd565ae84d01f6dffa021ea17b45cf520/Mikrotik/BGP_ROUTEROS/imgs/graficos_bgp.png -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/imgs/host_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remontti/Zabbix-Templates/4ee33dbcd565ae84d01f6dffa021ea17b45cf520/Mikrotik/BGP_ROUTEROS/imgs/host_1.png -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/imgs/host_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remontti/Zabbix-Templates/4ee33dbcd565ae84d01f6dffa021ea17b45cf520/Mikrotik/BGP_ROUTEROS/imgs/host_2.png -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/imgs/host_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remontti/Zabbix-Templates/4ee33dbcd565ae84d01f6dffa021ea17b45cf520/Mikrotik/BGP_ROUTEROS/imgs/host_3.png -------------------------------------------------------------------------------- /Mikrotik/BGP_ROUTEROS/mikrotikBgpZabbixScript/README.md: -------------------------------------------------------------------------------- 1 | https://github.com/gtkpad/mikrotikBgpZabbixScript 2 | -------------------------------------------------------------------------------- /Mikrotik/BGP_SNMP_SCRIPT/README.md: -------------------------------------------------------------------------------- 1 | # Monitoramento dos Peers no RouterOS SNMP 2 | 3 | ### Monitorando sessão BGP do RouterOS/Mikrotik em seu Zabbix 4 | https://blog.remontti.com.br/6175 5 | 6 | ### Tutorial de instalção do Zabbix 7 | Instalação do Zabbix 5 LTS + Grafana + NGINX + PostgreSQL + Telegram 8 | 9 | ### LICENÇA 10 | Se usar ou melhorar não seja cuzão de não compartilha! 11 | -------------------------------------------------------------------------------- /Mikrotik/BGP_SNMP_SCRIPT/mk_script.txt: -------------------------------------------------------------------------------- 1 | :put "{\"peer\": ["; 2 | :global lista [/routing bgp peer find]; 3 | :global contador 0; 4 | :foreach i in=$lista do={ 5 | :global disabled [/routing bgp peer get value-name=disabled number=$i]; 6 | :global name [/routing bgp peer get value-name=name number=$i]; 7 | :global remoteaddress [/routing bgp peer get value-name=remote-address number=$i]; 8 | :global remoteas [/routing bgp peer get value-name=remote-as number=$i]; 9 | :global state [/routing bgp peer get value-name=state number=$i]; 10 | :if (state = "idle") do={:set state 1;}; 11 | :if (state = "connect") do={:set state 2;} 12 | :if (state = "active") do={:set state 3;}; 13 | :if (state = "opensent") do={:set state 4;} 14 | :if (state = "openconfirm") do={:set state 5;}; 15 | :if (state = "established") do={:set state 6;} 16 | :if (disabled = true) do={:set state 1;} 17 | :global prefix [/routing bgp peer get value-name=prefix number=$i]; 18 | :if (prefix < 1) do={:set prefix 0;} 19 | :global uptime [/routing bgp peer get value-name=uptime number=$i]; 20 | :if (uptime < 1) do={:set uptime 0;} 21 | :global uptimeseconds 0; :global weekend 0; 22 | :global dayend 0; :global weeks 0; :global days 0; 23 | :if ([:find $uptime "w" -1] > 0) do={ 24 | :set weekend [:find $uptime "w" -1]; 25 | :set weeks [:pick $uptime 0 $weekend]; 26 | :set weekend ($weekend+1); 27 | }; 28 | :if ([:find $uptime "d" -1] > 0) do={ 29 | :set dayend [:find $uptime "d" -1]; 30 | :set days [:pick $uptime $weekend $dayend]; 31 | }; 32 | :global time [:pick $uptime ([:len $uptime]-8) [:len $uptime]]; 33 | :global hours [:pick $time 0 2]; 34 | :global minutes [:pick $time 3 5]; 35 | :global seconds [:pick $time 6 8]; 36 | :set uptimeseconds [($weeks*86400*7+$days*86400+$hours*3600+$minutes*60+$seconds)]; 37 | 38 | :set contador ($contador + 1); 39 | :if ( $contador < [:len $lista]) do={ 40 | :put "{\"Id\": \"$contador\",\"Disabled\": \"$disabled\",\"Name\": \"$name\",\"Remote-Address\": \"$remoteaddress\",\"Remote-AS\": \"$remoteas\",\"State\": \"$state\",\"Prefix\": \"$prefix\",\"Uptime\": \"$uptimeseconds\"}," 41 | } else={ 42 | :put "{\"Id\": \"$contador\",\"Disabled\": \"$disabled\",\"Name\": \"$name\",\"Remote-Address\": \"$remoteaddress\",\"Remote-AS\": \"$remoteas\",\"State\": \"$state\",\"Prefix\": \"$prefix\",\"Uptime\": \"$uptimeseconds\"}" 43 | }; 44 | }; 45 | :put "]}"; -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik - PPPOE por Services - SNMP Script.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2023-02-03T03:10:25Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 142 | 143 | 144 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP AP.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:10:04Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 93 | 94 | 95 | 96 | Conexões 97 | 98 | 99 | GRADIENT_LINE 100 | D32F2F 101 | 102 | RR Mikrotik SNMP AP 103 | mk.ap.conexoes 104 | 105 | 106 | 107 | 108 | 109 | Frequencia 110 | 111 | 112 | 199C0D 113 | 114 | RR Mikrotik SNMP AP 115 | mk.ap.frequencia 116 | 117 | 118 | 119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP CPU 1 Nucleo.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:10:24Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 50 | 51 | 52 | 53 | Info: CPU 54 | 55 | 56 | GRADIENT_LINE 57 | FF8A65 58 | 59 | RR Mikrotik SNMP CPU 1 Nucleo 60 | mk.1n.cpu1 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP CPU 2 Nucleo.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:10:46Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 93 | 94 | 95 | 96 | Info: CPU Geral 97 | 98 | 99 | GRADIENT_LINE 100 | FF8A65 101 | 102 | RR Mikrotik SNMP CPU 2 Nucleo 103 | mk.2n.cpugeral 104 | 105 | 106 | 107 | 108 | 109 | Info: CPUs 110 | 111 | 112 | GRADIENT_LINE 113 | FFFDE7 114 | 115 | RR Mikrotik SNMP CPU 2 Nucleo 116 | mk.2n.cpugeral 117 | 118 | 119 | 120 | 1 121 | C80000 122 | 123 | RR Mikrotik SNMP CPU 2 Nucleo 124 | mk.2n.cpu1 125 | 126 | 127 | 128 | 2 129 | 00C800 130 | 131 | RR Mikrotik SNMP CPU 2 Nucleo 132 | mk.2n.cpu2 133 | 134 | 135 | 136 | 137 | 138 | Info: CPUs Individuais 139 | 140 | 141 | C80000 142 | 143 | RR Mikrotik SNMP CPU 2 Nucleo 144 | mk.2n.cpu1 145 | 146 | 147 | 148 | 1 149 | 00C800 150 | 151 | RR Mikrotik SNMP CPU 2 Nucleo 152 | mk.2n.cpu2 153 | 154 | 155 | 156 | 157 | 158 | 159 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP CPU 4 Nucleo.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:10:53Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 137 | 138 | 139 | 140 | Info: CPU Geral 141 | 142 | 143 | GRADIENT_LINE 144 | FF5722 145 | 146 | RR Mikrotik SNMP CPU 4 Nucleo 147 | mk.4n.cpugeral 148 | 149 | 150 | 151 | 152 | 153 | Info: CPUs 154 | 155 | 156 | GRADIENT_LINE 157 | FFFDE7 158 | 159 | RR Mikrotik SNMP CPU 4 Nucleo 160 | mk.4n.cpugeral 161 | 162 | 163 | 164 | 1 165 | BOLD_LINE 166 | 673AB7 167 | 168 | RR Mikrotik SNMP CPU 4 Nucleo 169 | mk.4n.cpu1 170 | 171 | 172 | 173 | 2 174 | BOLD_LINE 175 | 8E24AA 176 | 177 | RR Mikrotik SNMP CPU 4 Nucleo 178 | mk.4n.cpu2 179 | 180 | 181 | 182 | 3 183 | BOLD_LINE 184 | C2185B 185 | 186 | RR Mikrotik SNMP CPU 4 Nucleo 187 | mk.4n.cpu3 188 | 189 | 190 | 191 | 4 192 | BOLD_LINE 193 | BF360C 194 | 195 | RR Mikrotik SNMP CPU 4 Nucleo 196 | mk.4n.cpu4 197 | 198 | 199 | 200 | 201 | 202 | Info: CPUs Individuais 203 | 204 | 205 | FC6EA3 206 | 207 | RR Mikrotik SNMP CPU 4 Nucleo 208 | mk.4n.cpu1 209 | 210 | 211 | 212 | 1 213 | 6C59DC 214 | 215 | RR Mikrotik SNMP CPU 4 Nucleo 216 | mk.4n.cpu2 217 | 218 | 219 | 220 | 2 221 | C7A72D 222 | 223 | RR Mikrotik SNMP CPU 4 Nucleo 224 | mk.4n.cpu3 225 | 226 | 227 | 228 | 3 229 | BA2A5D 230 | 231 | RR Mikrotik SNMP CPU 4 Nucleo 232 | mk.4n.cpu4 233 | 234 | 235 | 236 | 237 | 238 | 239 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP CPU Discovery.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:11:30Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 97 | 98 | 99 | 100 | CPU Geral 101 | 102 | 103 | 1 104 | GRADIENT_LINE 105 | 7E57C2 106 | 107 | RR Mikrotik SNMP CPU Discovery 108 | cpu.load.geral 109 | 110 | 111 | 112 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Info Fan 1x.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:11:37Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 78 | 79 | 80 | 81 | Info: Fan RPM 82 | 83 | 84 | BOLD_LINE 85 | 0080FF 86 | 87 | RR Mikrotik SNMP Info Fan 1x 88 | mk.fan.rpm 89 | 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Info Fan 2x.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:11:44Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 92 | 93 | 94 | 95 | Info: Fan RPM 96 | 97 | 98 | BOLD_LINE 99 | 199C0D 100 | 101 | RR Mikrotik SNMP Info Fan 2x 102 | mk.fan1.rpm 103 | 104 | 105 | 106 | 1 107 | BOLD_LINE 108 | F63100 109 | 110 | RR Mikrotik SNMP Info Fan 2x 111 | mk.fan2.rpm 112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Info PSU.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:11:57Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 88 | 89 | 90 | 91 | Mikrotik PSU state 92 | 93 | 94 | 0 95 | Not OK 96 | 97 | 98 | 1 99 | OK 100 | 101 | 102 | 2 103 | Not OK 104 | 105 | 106 | 3 107 | Not OK 108 | 109 | 110 | 4 111 | Not OK 112 | 113 | 114 | 115 | 116 | 117 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. Comentadas Rate Advertise.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-03T17:39:32Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. Comentadas Trafego.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-03T17:39:39Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. PPPoE Ativas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:12:18Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 65 | 66 | 67 | 68 | Info: PPPoEs Ativos 69 | FIXED 70 | 71 | 72 | GRADIENT_LINE 73 | 00FFBF 74 | RIGHT 75 | 76 | RR Mikrotik SNMP Interf. PPPoE Ativas 77 | ifPPPoEActives 78 | 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. Status Link Downs VPLS.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-03T17:44:12Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 118 | 119 | 120 | 121 | SNMP interface status (ifAdminStatus) 122 | 123 | 124 | 1 125 | up 126 | 127 | 128 | 2 129 | down 130 | 131 | 132 | 3 133 | testing 134 | 135 | 136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. Status Link Downs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-12-24T14:30:29Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 115 | 116 | 117 | 118 | SNMP interface status (ifAdminStatus) 119 | 120 | 121 | 1 122 | up 123 | 124 | 125 | 2 126 | down 127 | 128 | 129 | 3 130 | testing 131 | 132 | 133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. Todas Rate Advertise.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-03T17:44:22Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. Todas Trafego - FTTH 7dias.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-03T17:46:38Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. Todas Trafego.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-03T17:44:53Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Interf. Trafego PPP.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-03T17:46:57Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 123 | 124 | 125 | -------------------------------------------------------------------------------- /Mikrotik/RR Mikrotik SNMP Traf. so Queues.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-09-17T18:13:15Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /PHB/RR PHB.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-05-12T20:01:58Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 75 | 76 | 77 | 78 | Temperatura Externa 79 | 80 | 81 | GRADIENT_LINE 82 | 00E676 83 | 84 | RR Phb USCC SNMP 85 | phb.temp.ext 86 | 87 | 88 | 89 | 90 | 91 | Tensão de Entrada 92 | 93 | 94 | GRADIENT_LINE 95 | 3949AB 96 | 97 | RR Phb USCC SNMP 98 | phb.tensao.entrada 99 | 100 | 101 | 102 | 103 | 104 | Tensão de Saída 105 | 106 | 107 | GRADIENT_LINE 108 | C62828 109 | 110 | RR Phb USCC SNMP 111 | phb.tensao.saida 112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Repositório pessoal de templates Zabbix 5.x > 6.x 2 | Alguns dos templates foram copiado, alterado, mexido, bagunçado... rsrsrs 3 | 4 | Contribua também, se usar e fizer alguma melhoria, criar novos, não hesite em compartilhar criando um pull request com as suas modificações/arquivo! 5 | 6 | ### Instalação do Zabbix 7 | #### 6.0 LTS Debian 11 8 | https://blog.remontti.com.br/6350 9 | 10 | #### 5.0 LTS + Grafana - Debian 10/11 11 | Acesse: https://blog.remontti.com.br/4348 12 | 13 | #### Grafana - Debian 11 14 | Acesse: https://blog.remontti.com.br/6370 15 | 16 | ### Instalação MIBs :: (Requisito para alguns Templates) 17 | Instale o pacotes snmp-mibs-downloader e snmp, para isso sera necessário adicionar contrib e non-free ao repositório. 18 | ``` 19 | # vim /etc/apt/sources.list 20 | ``` 21 | VERSÃO: buster / bullseye 22 |

23 | deb http://ftp.br.debian.org/debian/ {VERSAO} main contrib non-free
24 | deb-src http://ftp.br.debian.org/debian/ {VERSAO} main contrib non-free
25 | 
26 | deb http://security.debian.org/debian-security {VERSAO}/updates main contrib non-free
27 | deb-src http://security.debian.org/debian-security {VERSAO}/updates main contrib non-free
28 | 
29 | # stretch-updates, previously known as 'volatile'
30 | deb http://ftp.br.debian.org/debian/ {VERSAO}-updates main contrib non-free
31 | deb-src http://ftp.br.debian.org/debian/ {VERSAO}-updates main contrib non-free
32 | 
33 | 34 | ``` 35 | # apt update 36 | # apt upgrade 37 | # apt install snmp-mibs-downloader snmp 38 | ``` 39 | ``` 40 | # vim /etc/snmp/snmp.conf 41 | ``` 42 | Comente ==> #mibs : 43 | ``` 44 | # systemctl restart zabbix-server 45 | # systemctl disable snmpd 46 | # systemctl stop snmpd 47 | ``` 48 | 49 | ## Comandos úteis 50 | snmpwalk / snmptranslate
51 | Exemplos: 52 | ``` 53 | # snmpwalk -v2c -c public 10.10.20.30 .1.3.6.1.2.1.2.2.1.2 54 | # snmptranslate -m ALL 1.3.6.1.2.1.2.2.1.2 55 | # snmptranslate -On IF-MIB::ifName 56 | ``` 57 | -------------------------------------------------------------------------------- /Ubiquiti/README.md: -------------------------------------------------------------------------------- 1 | ``` 2 | cd /tmp/ 3 | wget https://www.ui.com/downloads/firmwares/ufiber/EdgeMAX-MIB.zip 4 | unzip EdgeMAX-MIB.zip 5 | mv UBNT-*.txt /usr/share/snmp/mibs 6 | ``` 7 | -------------------------------------------------------------------------------- /Ubiquiti/RR Ubiquiti M e AC Series SNMP apenas Trafego.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2021-11-03T18:03:53Z 5 | 6 | 7 | Templates RR 8 | 9 | 10 | 11 | 77 | 78 | 79 | 80 | Tráfego 81 | 82 | 83 | GRADIENT_LINE 84 | 00CC00 85 | 86 | RR Ubiquiti M e AC Series SNMP apenas Trafego 87 | ubnt.in.eth0 88 | 89 | 90 | 91 | 1 92 | GRADIENT_LINE 93 | 3333FF 94 | 95 | RR Ubiquiti M e AC Series SNMP apenas Trafego 96 | ubnt.out.eth0 97 | 98 | 99 | 100 | 101 | 102 | 103 | --------------------------------------------------------------------------------