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
49
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
8
Aula-DeVry.pdf
estevesdouglas
0
26
nodeLHC-ESP32-LATINOWARE-2020
estevesdouglas
0
140
OpenWRT LATINOWARE-2020
estevesdouglas
0
58
Conhecendo o OpenWRT: Roteador Livre, Seguro e Privativo
estevesdouglas
0
160
Monte seu roteador de internet caseiro - New Horizons #CPDE #CPTransireAmazônia
estevesdouglas
1
45
Monte_seu_roteador_seguro.pdf
estevesdouglas
0
27
Abertura Arduino Day 2019
estevesdouglas
0
30
Oficina de IoT conhecendo ESP8266 #CPBR12
estevesdouglas
0
32
Other Decks in Technology
See All in Technology
データプラットフォーム技術におけるメダリオンアーキテクチャという考え方/DataPlatformWithMedallionArchitecture
smdmts
5
630
あなたの声を届けよう! 女性エンジニア登壇の意義とアウトプット実践ガイド #wttjp / Call for Your Voice
kondoyuko
4
450
Welcome to the LLM Club
koic
0
170
生成AI活用の組織格差を解消する 〜ビジネス職のCursor導入が開発効率に与えた好循環〜 / Closing the Organizational Gap in AI Adoption
upamune
3
2.1k
変化する開発、進化する体系時代に適応するソフトウェアエンジニアの知識と考え方(JaSST'25 Kansai)
mizunori
1
220
Github Copilot エージェントモードで試してみた
ochtum
0
100
SalesforceArchitectGroupOsaka#20_CNX'25_Report
atomica7sei
0
170
Microsoft Build 2025 技術/製品動向 for Microsoft Startup Tech Community
torumakabe
2
270
CI/CD/IaC 久々に0から環境を作ったらこうなりました
kaz29
1
170
Amazon S3標準/ S3 Tables/S3 Express One Zoneを使ったログ分析
shigeruoda
4
500
AIのAIによるAIのための出力評価と改善
chocoyama
2
550
第9回情シス転職ミートアップ_テックタッチ株式会社
forester3003
0
240
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.6k
4 Signs Your Business is Dying
shpigford
184
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
GitHub's CSS Performance
jonrohan
1031
460k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Site-Speed That Sticks
csswizardry
10
660
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