Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Segundo-Zabbix-Meetup-do-interior-Zabbix-proxy-...
Search
Douglas Esteves
September 16, 2018
Technology
0
53
Segundo-Zabbix-Meetup-do-interior-Zabbix-proxy-com-raspberrypi
2° ZABBIX MEETUP DO INTERIOR - SP
Zabbix Proxy com Raspberry PI
Douglas Esteves
September 16, 2018
Tweet
Share
More Decks by Douglas Esteves
See All by Douglas Esteves
Oficina de IoT-Links-Fev-2025
estevesdouglas
0
9
Aula-DeVry.pdf
estevesdouglas
0
28
nodeLHC-ESP32-LATINOWARE-2020
estevesdouglas
0
150
OpenWRT LATINOWARE-2020
estevesdouglas
0
60
Conhecendo o OpenWRT: Roteador Livre, Seguro e Privativo
estevesdouglas
0
170
Monte seu roteador de internet caseiro - New Horizons #CPDE #CPTransireAmazônia
estevesdouglas
1
47
Monte_seu_roteador_seguro.pdf
estevesdouglas
0
29
Abertura Arduino Day 2019
estevesdouglas
0
38
Oficina de IoT conhecendo ESP8266 #CPBR12
estevesdouglas
0
36
Other Decks in Technology
See All in Technology
ソフトウェアエンジニアとデータエンジニアの違い・キャリアチェンジ
mtpooh
1
640
初海外がre:Inventだった人間の感じたこと
tommy0124
1
200
なぜ新機能リリース翌日にモニタリング可能なのか? 〜リードタイム短縮とリソース問題を「自走」で改善した話〜 / data_summit_findy_Session_2
sansan_randd
1
140
Gov-JAWS4回_某団体でのAmazon Bedrock活用検証で見えた“使う側”の課題精度よりもリテラシー
takuma818t
0
160
どうなる Remix 3
tanakahisateru
1
290
MCP サーバーの基礎から実践レベルの知識まで
azukiazusa1
25
12k
コミュニティと共に変化する 私とFusicの8年間
ayasamind
0
330
累計5000万DLサービスの裏側 – LINEマンガのKotlinで挑む大規模 Server-side ETLの最適化
ldf_tech
0
200
Logik: A Free and Open-source FPGA Toolchain
omasanori
0
230
AI時代におけるドメイン駆動設計 入門 / Introduction to Domain-Driven Design in the AI Era
fendo181
0
480
激動の2025年、Modern Data Stackの最新技術動向
sagara
0
1.1k
Beyond Prompts: Building Intelligent Applications with Genkit and the Model Context Protocol
peterfriese
0
100
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2.1k
Navigating Team Friction
lara
190
15k
Scaling GitHub
holman
463
140k
What's in a price? How to price your products and services
michaelherold
246
12k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Agile that works and the tools we love
rasmusluckow
331
21k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
Building Applications with DynamoDB
mza
96
6.7k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
Transcript
2° ZABBIX MEETUP DO INTERIOR - SP •ZABBIX Proxy com
Raspberry PI Douglas Esteves 15/09/2018
Sobre min
Motivação •Tema comum em comunidades •Baixo custo no hardware •Velocidade
em prototipar cenários •Customizar sua solução •Limitar o ambiente de teste •Facilidade em desenvolver e alterar disclaimer Não utilizar raspberry pi como produto final !
Recursos •Raspberry PI •Raspberry PI 3Modelo B Anatel
Especificações https://hackaday.com/2016/02/28/introducing-the-raspberry-pi-3/
Expectativa •Customizar meu Proxy (Gateway) • Encher de scripts •Adicionar
sensores • Encher de sensores •Conectar coisas em meu equipamento • Gerenciar mais equipamentos que o necessário
Hora de por em prática!
None
Shields // Seed Studio
https://www.seeedstudio.com/GroveP-p-2241.html
Outras opções
Omega2 MediaTek MT7688 CPU 580 MHz MIPS 64//128MB 16MB //
32MB b/g/n Wi-Fi Ethernet
Omega Base Board
Cenário para utilização de proxy Ambiente remoto Rede de desenvolvimento
Validar novos equipamentos e sistemas Melhorar o ambiente computacional Centralizar comunicação.
Instalação •Pacotes •Docker •Compilado github.com/EstevesDouglas/segundo-zabbix-meetup-do-interior-sp
Instalação por pacotes $ apt-get install zabbix-proxy-sqlite3 -y $ zcat
/usr/share/zabbix-proxy-sqlite3/schema.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db Editar o arquivo de configuração $ vim /etc/zabbix/zabbix_proxy.conf
Instalação por pacotes ProxyMode=0 Server=IP ServerPort=10051 Hostname=nomedoequipamento ListenPort=10051 LogFile=/var/log/zabbix-proxy/zabbix_proxy.log DebugLevel=3
PidFile=/var/run/zabbix/zabbix_proxy.pid DBName=/var/lib/zabbix/zabbix.db DBUser=zabbix $ systemctl restart zabbix-proxy $ systemctl status zabbix-proxy
Zabbix-agent Server=IP ListenPort=10050 StartAgent=3 ServerActive=IP Hostname=nomedoequipamento $ systemctl restart zabbix-agent
$ systemctl status zabbix-agent
Outra opção : Docker $ curl -fsSL get.docker.com -o get-docker.sh
&& sh get- docker.sh $ sudo groupadd docker $ sudo gpasswd -a $USER docker $ systemctl status docker Ou ./install-docker.sh https://github.com/EstevesDouglas/segundo-zabbix- meetup-do-interior-sp/tree/master/scripts
Docker $ docker pull zabbix/zabbix-proxy-sqlite3 $ docker run --name some-zabbix-proxy-sqlite3
-e ZBX_HOSTNAME=some-hostname -e ZBX_SERVER_HOST=some- zabbix-server -d zabbix/zabbix-proxy-sqlite3:tag https://github.com/EstevesDouglas/segundo-zabbix-meetup-do-interior-sp
None
None
Criar Proxy
Proxy Ativo
None
Monitorar o Ambiente com proxy •Gateway •Scripts •Centralizar a comunicação
•Apontamento de devices
None
Referências •https://zabbix.com •http://zabbixbrasil.org/ •https://zabbix.org/wiki/Dockerized_Zabbix •https://github.com/zabbix/zabbix-docker •https://docs.docker.com/install/linux/docker-ce/debian/ •https://hub.docker.com/r/zabbix/zabbix-server-mysql/
Obrigado! •Dúvidas ? •
[email protected]
•19 98230-3616