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
52
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
27
nodeLHC-ESP32-LATINOWARE-2020
estevesdouglas
0
150
OpenWRT LATINOWARE-2020
estevesdouglas
0
59
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
Rustから学ぶ 非同期処理の仕組み
skanehira
1
130
フィンテック養成勉強会#56
finengine
0
140
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
1
360
【初心者向け】ローカルLLMの色々な動かし方まとめ
aratako
7
3.4k
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
100
Automating Web Accessibility Testing with AI Agents
maminami373
0
1.2k
MCPで変わる Amebaデザインシステム「Spindle」の開発
spindle
PRO
3
3.2k
Language Update: Java
skrb
2
290
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
380k
AWSで推進するデータマネジメント
kawanago
1
1.3k
ハードウェアとソフトウェアをつなぐ全てを内製している企業の E2E テストの作り方 / How to create E2E tests for a company that builds everything connecting hardware and software in-house
bitkey
PRO
1
120
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
210
Featured
See All Featured
Six Lessons from altMBA
skipperchong
28
4k
Docker and Python
trallard
45
3.6k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Code Review Best Practice
trishagee
70
19k
Thoughts on Productivity
jonyablonski
70
4.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
How to train your dragon (web standard)
notwaldorf
96
6.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
4 Signs Your Business is Dying
shpigford
184
22k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
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