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-com-raspberrypi
Search
Douglas Esteves
September 16, 2018
Technology
0
46
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
Aula-DeVry.pdf
estevesdouglas
0
20
nodeLHC-ESP32-LATINOWARE-2020
estevesdouglas
0
110
OpenWRT LATINOWARE-2020
estevesdouglas
0
44
Conhecendo o OpenWRT: Roteador Livre, Seguro e Privativo
estevesdouglas
0
130
Monte seu roteador de internet caseiro - New Horizons #CPDE #CPTransireAmazônia
estevesdouglas
1
41
Monte_seu_roteador_seguro.pdf
estevesdouglas
0
16
Abertura Arduino Day 2019
estevesdouglas
0
24
Oficina de IoT conhecendo ESP8266 #CPBR12
estevesdouglas
0
22
Monte seu roteador caseiro - ROADSEC 2018
estevesdouglas
0
46
Other Decks in Technology
See All in Technology
最近たまに見かけるTiDBってなんだ? - Findy
pingcap0315
2
730
マルチアカウント環境への発見的統制の導入
ch1aki
1
1.3k
自動生成を活用した、運用保守コストを抑える Error/Alert/Runbook の一元集約管理 / Centralized management of Error/Alert/Runbook to minimize operational costs using automated code generation
biwashi
12
2.3k
アクセシビリティを考慮したUI/CSSフレームワーク・ライブラリ選定
yajihum
2
970
DevOpsDays History and my DevOps story
kawaguti
PRO
9
2.2k
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
340
On Your Data を超えていく!
hirotomotaguchi
2
600
コードを書く隙間を見つけて生きていく技術/Findy 思考の現在地
fujiwara3
27
5.7k
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
840
AWS認定資格を取得したので、初めてマネコンを触った時を振り返ってみた。
ainatsuptr
2
100
カオナビの利用実績をアウトカムへつなげる旅 / example-of-data-management-startup-in-kaonavi
kaonavi
0
130
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
130
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
16
6.4k
The Invisible Customer
myddelton
114
12k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
990
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
321
20k
Producing Creativity
orderedlist
PRO
336
39k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
115
18k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
273
13k
Fireside Chat
paigeccino
20
2.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.4k
Web Components: a chance to create the future
zenorocha
305
41k
The Art of Programming - Codeland 2020
erikaheidi
41
12k
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