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
dbtとAIエージェントを組み合わせて見えたデータ調査の新しい形
10xinc
3
810
What's new in OpenShift 4.20
redhatlivestreaming
0
290
プロファイルとAIエージェントによる効率的なデバッグ / Effective debugging with profiler and AI assistant
ymotongpoo
1
250
serverless team topology
_kensh
3
230
AIとともに歩んでいくデザイナーの役割の変化
lycorptech_jp
PRO
0
890
Behind Postgres 18: The People, the Code, & the Invisible Work | Claire Giordano | PGConfEU 2025
clairegiordano
0
140
ハノーファーメッセ2025で見た生成AI活用ユースケース.pdf
hamadakoji
1
480
【SORACOM UG Explorer 2025】さらなる10年へ ~ SORACOM MVC 発表
soracom
PRO
0
150
ソースを読む時の思考プロセスの例-MkDocs
sat
PRO
1
270
Azure Well-Architected Framework入門
tomokusaba
1
130
SQLAlchemy の select(User).where(User.id =="123") を理解してみる/sqlalchemy deep dive
3l4l5
3
520
混合雲環境整合異質工作流程工具運行關鍵業務 Job 的經驗分享
yaosiang
0
190
Featured
See All Featured
Designing for Performance
lara
610
69k
Making Projects Easy
brettharned
120
6.4k
What's in a price? How to price your products and services
michaelherold
246
12k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Rails Girls Zürich Keynote
gr2m
95
14k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6k
The Language of Interfaces
destraynor
162
25k
Code Reviewing Like a Champion
maltzj
526
40k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Music & Morning Musume
bryan
46
6.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