SlideShare una empresa de Scribd logo
1 de 40
Descargar para leer sin conexión
How to think the zabbix wayHow to think the zabbix way
By @supergrilo
@tiagodacruz
Fábio SantosFábio Santos
A.K.A. Supergrilo
Tiago CruzTiago Cruz
Apps that make your life easier
For You
For Companies
BriefBrief
1. Timeout
2. Active vs Passive
3. Type of items
4. Trapper
5. Server and Proxy internals
6. Action
7. LLD
The beginning will decideThe beginning will decide
everything!everything!
Questions...Questions...
1. How large is my
environment?
2. How large my environment
can be?
3. How fast my environment
can grow
TimeoutTimeout
Specifies how long we wait
for agent, SNMP device or
external check (in seconds).
Spend no more than
Timeout seconds on
processing
How large?How large?
Active vs PassiveActive vs Passive
PassivePassive
ActiveActive
Item typesItem types
which is best?
More OverheadMore Overhead
Zabbix Agent
data gathering
SNMP
All protocol versions
IPMI
Intelligent Platform Management Interface
SIMPLE Checks
Network services
Internals checks
To monitoring internals of Zabbix
(SSH|Telnet) checks
agent-less monitoring
External Checks
check executed by Zabbix server
Aggregate checks
aggregate information
Calculated Items
calculations on the basis of other items
JMX
monitor JMX counters of a Java application
Less OverheadLess Overhead
Zabbix Agent (active)
data gathering using agent resources
SNMP Trapper
Receiving SNMP traps
Log Monitoring
monitoring and analysis of log files
Trapper
items accept incoming data
ODBC
Database monitor
TrapperTrapper
Don't do itDon't do it
$ cat /etc/zabbix/zabbix_agentd.d/too_slow.conf
UserParameter=check.tooslow,sleep 30
Zabbix SenderZabbix Sender
Running handlers:
[2016-04-16T12:56:33+00:00] INFO: Running report handlers
[2016-04-16T12:56:33+00:00] INFO: Zabbix::Report handler started
[2016-04-16T12:56:33+00:00] DEBUG: Sending tozabbix: angostura1.datac.movile.com custo
m.chef-client.last_run.success 1
angostura1.datac.movile.com custom.chef-client.last_run.elapsed_time 27.773516757
angostura1.datac.movile.com custom.chef-client.last_run.start_time 1460811365
angostura1.datac.movile.com custom.chef-client.last_run.end_time 1460811393
angostura1.datac.movile.com custom.chef-client.last_run.all_resources_num 450
angostura1.datac.movile.com custom.chef-client.last_run.updated_resources_num 16
[2016-04-16T12:56:33+00:00] DEBUG: Command /usr/bin/zabbix_sender --config /etc/zabbix
/zabbix_agentd.conf --input-file /tmp/client-handler-zabbix-report20160416-18836-w84yu
q
[2016-04-16T12:56:33+00:00] DEBUG: output ["info from server: "processed: 6; failed:
0; total: 6; seconds spent: 0.000168"n", "sent: 6; skipped: 0; total: 6n"]
- Zabbix::Report
Running handlers complete
[2016-04-16T12:56:33+00:00] INFO: Report handlers complete
InternalsInternals
Server InternalsServer Internals
Proxy InternalsProxy Internals
Server GatheringServer Gathering
Server CacheServer Cache
ActionsActions
Auto Registration
Trigger
* Event Source: Auto Registration
We use Chef o/ to generate the
zabbix_agentd.conf
<% if node.chef_environment == "production" %>
HostMetadata=Linux <%= node['base']['dc'] %> b41c15b8-c43f-42ba-8158
<% else %>
HostMetadata=Linux <%= node.chef_environment %>
<% end %>
And we use actions to register the machine in the correct
environment based on your datacenter
* Event Source: Triggers
- Slack
https://github.com/tiago-cruz-movile/zabbix-slack-
alertscript
* Event Source: Triggers
- Slack
* Event Source: Triggers
- OpsGenie
"We provide the tools you need to design meaningful,
actionable alerts and ensure the right people are notified."
Low Level DiscoveryLow Level Discovery
- Discovery rules
Name: ELBs in us-east-1
Type: External Check
Key : check_elb["list_elb","us-east-
1"]
Update Interval: 600
Keep lost resources period : 0
Template AWS ELBTemplate AWS ELB
- Item prototypes
Name: ELB Status {#ELB_NAME} - us-east-1
Type: External Check
Key : check_elb["elb_status_verify",us-east-1,{#ELB_NAME}]
Update Interval: 300
Type of Information: Numeric (float)
Units: %
[root@zabbix externalscripts]# ./check_elb elb_status_verify us-east-1 payment-api
100.00
[root@zabbix externalscripts]# ./check_elb elb_status_verify us-east-1 notifications
66.00
Discovered Items
- Trigger
JMX DiscoveryJMX Discovery
https://github.com/supergrilo/pyjmx-discovery
CaveatsCaveats
IssuesIssues
Zabbix links should be always unique to share with other people (Priority: Trivial)
https://support.zabbix.com/browse/ZBXNEXT-3179 (Mar/2016)
OK: /nagios/cgi-bin/extinfo.cgi?type=2&host=HOSTNAME&service=SERVICE
OK: /zabbix/charts.php?sid=aac18a95ab092ac1&form_refresh=1&fullscreen=0&groupid=5&hostid=13222&graphid=35034
NOK: /zabbix/charts.php?ddreset=1&sid=aac18a95ab092ac1
Search/ Filter on templates page (Priority: Trivial)
https://support.zabbix.com/browse/ZBXNEXT-3175 (Mar/2016)
Filter for Screens (Priority: Trivial)
https://support.zabbix.com/browse/ZBXNEXT-2189 (Mar/2014)
Multiline regular expression matching (Priority: Major)
https://support.zabbix.com/browse/ZBXNEXT-968 (Dec/2007)
- Proxy Last See
- No search on templates
Questions?Questions?
fabio.santos@movile.com
tiago.cruz@movile.com

Más contenido relacionado

La actualidad más candente

HashiCorp User Group Paris: Consul & Inversion of Control for Infrastructure
HashiCorp User Group Paris: Consul & Inversion of Control for InfrastructureHashiCorp User Group Paris: Consul & Inversion of Control for Infrastructure
HashiCorp User Group Paris: Consul & Inversion of Control for InfrastructurePierre Souchay
 
Splunk HTTP Event Collector
Splunk HTTP Event CollectorSplunk HTTP Event Collector
Splunk HTTP Event CollectorSplunk
 
Outlook and Exchange for the bad guys
Outlook and Exchange for the bad guysOutlook and Exchange for the bad guys
Outlook and Exchange for the bad guysNick Landers
 
Trouble Ticket Integration with Zabbix in Large Environment
Trouble Ticket Integration with Zabbix in Large EnvironmentTrouble Ticket Integration with Zabbix in Large Environment
Trouble Ticket Integration with Zabbix in Large EnvironmentAlain Ganuchaud
 
Consul administration at scale
Consul administration at scaleConsul administration at scale
Consul administration at scalePierre Souchay
 
[CB16] About the cyber grand challenge: the world’s first all-machine hacking...
[CB16] About the cyber grand challenge: the world’s first all-machine hacking...[CB16] About the cyber grand challenge: the world’s first all-machine hacking...
[CB16] About the cyber grand challenge: the world’s first all-machine hacking...CODE BLUE
 
Event Driven Automation Meetup May 14/2015
Event Driven Automation Meetup May 14/2015Event Driven Automation Meetup May 14/2015
Event Driven Automation Meetup May 14/2015Dmitri Zimine
 
Intro to Puppet Enterprise 04.20.2017
Intro to Puppet Enterprise 04.20.2017Intro to Puppet Enterprise 04.20.2017
Intro to Puppet Enterprise 04.20.2017Puppet
 
Adopting Kubernetes with Puppet
Adopting Kubernetes with PuppetAdopting Kubernetes with Puppet
Adopting Kubernetes with PuppetPuppet
 
SWAT Style – Live Network Crypto Hacking and Exploitation by Kevin Cardwell a...
SWAT Style – Live Network Crypto Hacking and Exploitation by Kevin Cardwell a...SWAT Style – Live Network Crypto Hacking and Exploitation by Kevin Cardwell a...
SWAT Style – Live Network Crypto Hacking and Exploitation by Kevin Cardwell a...EC-Council
 
Malware analysis - What to learn from your invaders
Malware analysis - What to learn from your invadersMalware analysis - What to learn from your invaders
Malware analysis - What to learn from your invadersTazdrumm3r
 
a framework for fingerprinting ICS honeypots
a framework for fingerprinting ICS honeypotsa framework for fingerprinting ICS honeypots
a framework for fingerprinting ICS honeypotsMohammad Reza Zamiri
 
Malware Analysis 101: N00b to Ninja in 60 Minutes at BSidesDC on October 19, ...
Malware Analysis 101: N00b to Ninja in 60 Minutes at BSidesDC on October 19, ...Malware Analysis 101: N00b to Ninja in 60 Minutes at BSidesDC on October 19, ...
Malware Analysis 101: N00b to Ninja in 60 Minutes at BSidesDC on October 19, ...grecsl
 
Bsides detroit 2013 honeypots
Bsides detroit 2013   honeypotsBsides detroit 2013   honeypots
Bsides detroit 2013 honeypotsTazdrumm3r
 

La actualidad más candente (16)

HashiCorp User Group Paris: Consul & Inversion of Control for Infrastructure
HashiCorp User Group Paris: Consul & Inversion of Control for InfrastructureHashiCorp User Group Paris: Consul & Inversion of Control for Infrastructure
HashiCorp User Group Paris: Consul & Inversion of Control for Infrastructure
 
Splunk HTTP Event Collector
Splunk HTTP Event CollectorSplunk HTTP Event Collector
Splunk HTTP Event Collector
 
Outlook and Exchange for the bad guys
Outlook and Exchange for the bad guysOutlook and Exchange for the bad guys
Outlook and Exchange for the bad guys
 
Audit
AuditAudit
Audit
 
Trouble Ticket Integration with Zabbix in Large Environment
Trouble Ticket Integration with Zabbix in Large EnvironmentTrouble Ticket Integration with Zabbix in Large Environment
Trouble Ticket Integration with Zabbix in Large Environment
 
Consul administration at scale
Consul administration at scaleConsul administration at scale
Consul administration at scale
 
[CB16] About the cyber grand challenge: the world’s first all-machine hacking...
[CB16] About the cyber grand challenge: the world’s first all-machine hacking...[CB16] About the cyber grand challenge: the world’s first all-machine hacking...
[CB16] About the cyber grand challenge: the world’s first all-machine hacking...
 
Event Driven Automation Meetup May 14/2015
Event Driven Automation Meetup May 14/2015Event Driven Automation Meetup May 14/2015
Event Driven Automation Meetup May 14/2015
 
Intro to Puppet Enterprise 04.20.2017
Intro to Puppet Enterprise 04.20.2017Intro to Puppet Enterprise 04.20.2017
Intro to Puppet Enterprise 04.20.2017
 
Adopting Kubernetes with Puppet
Adopting Kubernetes with PuppetAdopting Kubernetes with Puppet
Adopting Kubernetes with Puppet
 
SWAT Style – Live Network Crypto Hacking and Exploitation by Kevin Cardwell a...
SWAT Style – Live Network Crypto Hacking and Exploitation by Kevin Cardwell a...SWAT Style – Live Network Crypto Hacking and Exploitation by Kevin Cardwell a...
SWAT Style – Live Network Crypto Hacking and Exploitation by Kevin Cardwell a...
 
HowTo DR
HowTo DRHowTo DR
HowTo DR
 
Malware analysis - What to learn from your invaders
Malware analysis - What to learn from your invadersMalware analysis - What to learn from your invaders
Malware analysis - What to learn from your invaders
 
a framework for fingerprinting ICS honeypots
a framework for fingerprinting ICS honeypotsa framework for fingerprinting ICS honeypots
a framework for fingerprinting ICS honeypots
 
Malware Analysis 101: N00b to Ninja in 60 Minutes at BSidesDC on October 19, ...
Malware Analysis 101: N00b to Ninja in 60 Minutes at BSidesDC on October 19, ...Malware Analysis 101: N00b to Ninja in 60 Minutes at BSidesDC on October 19, ...
Malware Analysis 101: N00b to Ninja in 60 Minutes at BSidesDC on October 19, ...
 
Bsides detroit 2013 honeypots
Bsides detroit 2013   honeypotsBsides detroit 2013   honeypots
Bsides detroit 2013 honeypots
 

Destacado

Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...
Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...
Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...Nagios
 
Docker - The Linux container
Docker - The  Linux containerDocker - The  Linux container
Docker - The Linux containerBalaji Rajan
 
Zabbix plataforma de monitoreo.
Zabbix   plataforma de monitoreo.Zabbix   plataforma de monitoreo.
Zabbix plataforma de monitoreo.FlechaVeloz1
 
Rkt Container Engine
Rkt Container EngineRkt Container Engine
Rkt Container EngineThuc Le Dong
 
Zabbix monitoring in 5 pictures
Zabbix monitoring in 5 pictures  Zabbix monitoring in 5 pictures
Zabbix monitoring in 5 pictures Nicola Mauri
 
System development life cycle
System development life cycleSystem development life cycle
System development life cycleNigah Mathour
 
Gram negative rods
Gram negative rodsGram negative rods
Gram negative rodsHifza1995
 
Ferrier slideshare
Ferrier slideshareFerrier slideshare
Ferrier slidesharevferrier
 
Educating consumers through social media
Educating consumers through social mediaEducating consumers through social media
Educating consumers through social mediaBrian Hess
 
Walk Through Wednesday
Walk Through WednesdayWalk Through Wednesday
Walk Through WednesdayBrian Hess
 
Ieee paper mobile boadband
Ieee paper mobile boadbandIeee paper mobile boadband
Ieee paper mobile boadbandRamya Sasi
 

Destacado (18)

Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...
Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...
Nagios Conference 2013 - Sam Lansing - Getting Started With Nagios XI, Core, ...
 
Docker - The Linux container
Docker - The  Linux containerDocker - The  Linux container
Docker - The Linux container
 
Zabbix plataforma de monitoreo.
Zabbix   plataforma de monitoreo.Zabbix   plataforma de monitoreo.
Zabbix plataforma de monitoreo.
 
Rkt Container Engine
Rkt Container EngineRkt Container Engine
Rkt Container Engine
 
Zabbix monitoring in 5 pictures
Zabbix monitoring in 5 pictures  Zabbix monitoring in 5 pictures
Zabbix monitoring in 5 pictures
 
Social Networking
Social NetworkingSocial Networking
Social Networking
 
System development life cycle
System development life cycleSystem development life cycle
System development life cycle
 
Slideshare
SlideshareSlideshare
Slideshare
 
Diet
DietDiet
Diet
 
Gram negative rods
Gram negative rodsGram negative rods
Gram negative rods
 
Record Storage
Record StorageRecord Storage
Record Storage
 
Ferrier slideshare
Ferrier slideshareFerrier slideshare
Ferrier slideshare
 
Application form
Application formApplication form
Application form
 
Educating consumers through social media
Educating consumers through social mediaEducating consumers through social media
Educating consumers through social media
 
Phobia's
Phobia'sPhobia's
Phobia's
 
Rss
RssRss
Rss
 
Walk Through Wednesday
Walk Through WednesdayWalk Through Wednesday
Walk Through Wednesday
 
Ieee paper mobile boadband
Ieee paper mobile boadbandIeee paper mobile boadband
Ieee paper mobile boadband
 

Similar a Zabbixconf2016(2)

MySQL Monitoring Shoot Out
MySQL Monitoring Shoot OutMySQL Monitoring Shoot Out
MySQL Monitoring Shoot OutKris Buytaert
 
Move out from AppEngine, and Python PaaS alternatives
Move out from AppEngine, and Python PaaS alternativesMove out from AppEngine, and Python PaaS alternatives
Move out from AppEngine, and Python PaaS alternativestzang ms
 
Monitoring shootout loadays
Monitoring shootout loadaysMonitoring shootout loadays
Monitoring shootout loadaystomdc
 
Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Amirhossein Saberi
 
OSMC 2008 | Advanced Windows monitoring and NSClient++ with Nagios by Michael...
OSMC 2008 | Advanced Windows monitoring and NSClient++ with Nagios by Michael...OSMC 2008 | Advanced Windows monitoring and NSClient++ with Nagios by Michael...
OSMC 2008 | Advanced Windows monitoring and NSClient++ with Nagios by Michael...NETWAYS
 
PyCon AU 2012 - Debugging Live Python Web Applications
PyCon AU 2012 - Debugging Live Python Web ApplicationsPyCon AU 2012 - Debugging Live Python Web Applications
PyCon AU 2012 - Debugging Live Python Web ApplicationsGraham Dumpleton
 
DockerCon Europe 2018 Monitoring & Logging Workshop
DockerCon Europe 2018 Monitoring & Logging WorkshopDockerCon Europe 2018 Monitoring & Logging Workshop
DockerCon Europe 2018 Monitoring & Logging WorkshopBrian Christner
 
SHOWDOWN: Threat Stack vs. Red Hat AuditD
SHOWDOWN: Threat Stack vs. Red Hat AuditDSHOWDOWN: Threat Stack vs. Red Hat AuditD
SHOWDOWN: Threat Stack vs. Red Hat AuditDThreat Stack
 
Zabbix visión general del sistema - 04.12.2013
Zabbix   visión general del sistema - 04.12.2013Zabbix   visión general del sistema - 04.12.2013
Zabbix visión general del sistema - 04.12.2013Emmanuel Arias
 
OSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
OSMC 2008 | Monitoring Tools Shootout by Tom De CoomanOSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
OSMC 2008 | Monitoring Tools Shootout by Tom De CoomanNETWAYS
 
opensource Monitoring Tool , an overview
opensource Monitoring Tool , an overviewopensource Monitoring Tool , an overview
opensource Monitoring Tool , an overviewKris Buytaert
 
Unmasking Careto through Memory Forensics (video in description)
Unmasking Careto through Memory Forensics (video in description)Unmasking Careto through Memory Forensics (video in description)
Unmasking Careto through Memory Forensics (video in description)Andrew Case
 
CSW2017 Yuhao song+Huimingliu cyber_wmd_vulnerable_IoT
CSW2017 Yuhao song+Huimingliu cyber_wmd_vulnerable_IoTCSW2017 Yuhao song+Huimingliu cyber_wmd_vulnerable_IoT
CSW2017 Yuhao song+Huimingliu cyber_wmd_vulnerable_IoTCanSecWest
 
Log management principle and usage
Log management principle and usageLog management principle and usage
Log management principle and usageBikrant Gautam
 
Getting started with Splunk Breakout Session
Getting started with Splunk Breakout SessionGetting started with Splunk Breakout Session
Getting started with Splunk Breakout SessionSplunk
 
Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014Tomas Doran
 
5 Bare Minimum Things A Web Startup CTO Must Worry About
5 Bare Minimum Things A Web Startup CTO Must Worry About5 Bare Minimum Things A Web Startup CTO Must Worry About
5 Bare Minimum Things A Web Startup CTO Must Worry AboutIndus Khaitan
 

Similar a Zabbixconf2016(2) (20)

MySQL Monitoring Shoot Out
MySQL Monitoring Shoot OutMySQL Monitoring Shoot Out
MySQL Monitoring Shoot Out
 
Move out from AppEngine, and Python PaaS alternatives
Move out from AppEngine, and Python PaaS alternativesMove out from AppEngine, and Python PaaS alternatives
Move out from AppEngine, and Python PaaS alternatives
 
Monitoring shootout loadays
Monitoring shootout loadaysMonitoring shootout loadays
Monitoring shootout loadays
 
Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017
 
Nagios En
Nagios EnNagios En
Nagios En
 
OSMC 2008 | Advanced Windows monitoring and NSClient++ with Nagios by Michael...
OSMC 2008 | Advanced Windows monitoring and NSClient++ with Nagios by Michael...OSMC 2008 | Advanced Windows monitoring and NSClient++ with Nagios by Michael...
OSMC 2008 | Advanced Windows monitoring and NSClient++ with Nagios by Michael...
 
PyCon AU 2012 - Debugging Live Python Web Applications
PyCon AU 2012 - Debugging Live Python Web ApplicationsPyCon AU 2012 - Debugging Live Python Web Applications
PyCon AU 2012 - Debugging Live Python Web Applications
 
DockerCon Europe 2018 Monitoring & Logging Workshop
DockerCon Europe 2018 Monitoring & Logging WorkshopDockerCon Europe 2018 Monitoring & Logging Workshop
DockerCon Europe 2018 Monitoring & Logging Workshop
 
SHOWDOWN: Threat Stack vs. Red Hat AuditD
SHOWDOWN: Threat Stack vs. Red Hat AuditDSHOWDOWN: Threat Stack vs. Red Hat AuditD
SHOWDOWN: Threat Stack vs. Red Hat AuditD
 
Zabbix visión general del sistema - 04.12.2013
Zabbix   visión general del sistema - 04.12.2013Zabbix   visión general del sistema - 04.12.2013
Zabbix visión general del sistema - 04.12.2013
 
OSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
OSMC 2008 | Monitoring Tools Shootout by Tom De CoomanOSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
OSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
 
opensource Monitoring Tool , an overview
opensource Monitoring Tool , an overviewopensource Monitoring Tool , an overview
opensource Monitoring Tool , an overview
 
2023-May.pptx
2023-May.pptx2023-May.pptx
2023-May.pptx
 
Unmasking Careto through Memory Forensics (video in description)
Unmasking Careto through Memory Forensics (video in description)Unmasking Careto through Memory Forensics (video in description)
Unmasking Careto through Memory Forensics (video in description)
 
CSW2017 Yuhao song+Huimingliu cyber_wmd_vulnerable_IoT
CSW2017 Yuhao song+Huimingliu cyber_wmd_vulnerable_IoTCSW2017 Yuhao song+Huimingliu cyber_wmd_vulnerable_IoT
CSW2017 Yuhao song+Huimingliu cyber_wmd_vulnerable_IoT
 
Log management principle and usage
Log management principle and usageLog management principle and usage
Log management principle and usage
 
Getting started with Splunk Breakout Session
Getting started with Splunk Breakout SessionGetting started with Splunk Breakout Session
Getting started with Splunk Breakout Session
 
Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014
 
I hunt sys admins 2.0
I hunt sys admins 2.0I hunt sys admins 2.0
I hunt sys admins 2.0
 
5 Bare Minimum Things A Web Startup CTO Must Worry About
5 Bare Minimum Things A Web Startup CTO Must Worry About5 Bare Minimum Things A Web Startup CTO Must Worry About
5 Bare Minimum Things A Web Startup CTO Must Worry About
 

Último

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 

Último (20)

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 

Zabbixconf2016(2)

  • 1. How to think the zabbix wayHow to think the zabbix way By @supergrilo @tiagodacruz
  • 4. Apps that make your life easier For You For Companies
  • 5.
  • 6.
  • 7. BriefBrief 1. Timeout 2. Active vs Passive 3. Type of items 4. Trapper 5. Server and Proxy internals 6. Action 7. LLD
  • 8. The beginning will decideThe beginning will decide everything!everything!
  • 9. Questions...Questions... 1. How large is my environment? 2. How large my environment can be? 3. How fast my environment can grow
  • 10. TimeoutTimeout Specifies how long we wait for agent, SNMP device or external check (in seconds). Spend no more than Timeout seconds on processing
  • 12.
  • 17. More OverheadMore Overhead Zabbix Agent data gathering SNMP All protocol versions IPMI Intelligent Platform Management Interface SIMPLE Checks Network services Internals checks To monitoring internals of Zabbix (SSH|Telnet) checks agent-less monitoring External Checks check executed by Zabbix server Aggregate checks aggregate information Calculated Items calculations on the basis of other items JMX monitor JMX counters of a Java application
  • 18. Less OverheadLess Overhead Zabbix Agent (active) data gathering using agent resources SNMP Trapper Receiving SNMP traps Log Monitoring monitoring and analysis of log files Trapper items accept incoming data ODBC Database monitor
  • 20. Don't do itDon't do it $ cat /etc/zabbix/zabbix_agentd.d/too_slow.conf UserParameter=check.tooslow,sleep 30
  • 21. Zabbix SenderZabbix Sender Running handlers: [2016-04-16T12:56:33+00:00] INFO: Running report handlers [2016-04-16T12:56:33+00:00] INFO: Zabbix::Report handler started [2016-04-16T12:56:33+00:00] DEBUG: Sending tozabbix: angostura1.datac.movile.com custo m.chef-client.last_run.success 1 angostura1.datac.movile.com custom.chef-client.last_run.elapsed_time 27.773516757 angostura1.datac.movile.com custom.chef-client.last_run.start_time 1460811365 angostura1.datac.movile.com custom.chef-client.last_run.end_time 1460811393 angostura1.datac.movile.com custom.chef-client.last_run.all_resources_num 450 angostura1.datac.movile.com custom.chef-client.last_run.updated_resources_num 16 [2016-04-16T12:56:33+00:00] DEBUG: Command /usr/bin/zabbix_sender --config /etc/zabbix /zabbix_agentd.conf --input-file /tmp/client-handler-zabbix-report20160416-18836-w84yu q [2016-04-16T12:56:33+00:00] DEBUG: output ["info from server: "processed: 6; failed: 0; total: 6; seconds spent: 0.000168"n", "sent: 6; skipped: 0; total: 6n"] - Zabbix::Report Running handlers complete [2016-04-16T12:56:33+00:00] INFO: Report handlers complete
  • 28. * Event Source: Auto Registration We use Chef o/ to generate the zabbix_agentd.conf <% if node.chef_environment == "production" %> HostMetadata=Linux <%= node['base']['dc'] %> b41c15b8-c43f-42ba-8158 <% else %> HostMetadata=Linux <%= node.chef_environment %> <% end %> And we use actions to register the machine in the correct environment based on your datacenter
  • 29. * Event Source: Triggers - Slack https://github.com/tiago-cruz-movile/zabbix-slack- alertscript
  • 30. * Event Source: Triggers - Slack
  • 31. * Event Source: Triggers - OpsGenie "We provide the tools you need to design meaningful, actionable alerts and ensure the right people are notified."
  • 32. Low Level DiscoveryLow Level Discovery
  • 33. - Discovery rules Name: ELBs in us-east-1 Type: External Check Key : check_elb["list_elb","us-east- 1"] Update Interval: 600 Keep lost resources period : 0 Template AWS ELBTemplate AWS ELB
  • 34. - Item prototypes Name: ELB Status {#ELB_NAME} - us-east-1 Type: External Check Key : check_elb["elb_status_verify",us-east-1,{#ELB_NAME}] Update Interval: 300 Type of Information: Numeric (float) Units: % [root@zabbix externalscripts]# ./check_elb elb_status_verify us-east-1 payment-api 100.00 [root@zabbix externalscripts]# ./check_elb elb_status_verify us-east-1 notifications 66.00
  • 38. IssuesIssues Zabbix links should be always unique to share with other people (Priority: Trivial) https://support.zabbix.com/browse/ZBXNEXT-3179 (Mar/2016) OK: /nagios/cgi-bin/extinfo.cgi?type=2&host=HOSTNAME&service=SERVICE OK: /zabbix/charts.php?sid=aac18a95ab092ac1&form_refresh=1&fullscreen=0&groupid=5&hostid=13222&graphid=35034 NOK: /zabbix/charts.php?ddreset=1&sid=aac18a95ab092ac1 Search/ Filter on templates page (Priority: Trivial) https://support.zabbix.com/browse/ZBXNEXT-3175 (Mar/2016) Filter for Screens (Priority: Trivial) https://support.zabbix.com/browse/ZBXNEXT-2189 (Mar/2014) Multiline regular expression matching (Priority: Major) https://support.zabbix.com/browse/ZBXNEXT-968 (Dec/2007)
  • 39. - Proxy Last See - No search on templates