SlideShare a Scribd company logo
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

More Related Content

What's hot

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
Pierre Souchay
 
Splunk HTTP Event Collector
Splunk HTTP Event CollectorSplunk HTTP Event Collector
Splunk HTTP Event Collector
Splunk
 
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
Nick 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 Environment
Alain Ganuchaud
 
Consul administration at scale
Consul administration at scaleConsul administration at scale
Consul administration at scale
Pierre 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/2015
Dmitri 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.2017
Puppet
 
Adopting Kubernetes with Puppet
Adopting Kubernetes with PuppetAdopting Kubernetes with Puppet
Adopting Kubernetes with Puppet
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...
EC-Council
 
HowTo DR
HowTo DRHowTo 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
Tazdrumm3r
 
a framework for fingerprinting ICS honeypots
a framework for fingerprinting ICS honeypotsa framework for fingerprinting ICS honeypots
a framework for fingerprinting ICS honeypots
Mohammad 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
 

What's hot (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
 

Viewers also liked

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 container
Balaji 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 Engine
Thuc Le Dong
 
Zabbix monitoring in 5 pictures
Zabbix monitoring in 5 pictures  Zabbix monitoring in 5 pictures
Zabbix monitoring in 5 pictures
Nicola Mauri
 
Social Networking
Social NetworkingSocial Networking
Social Networking
Govind Mishra
 
System development life cycle
System development life cycleSystem development life cycle
System development life cycle
Nigah Mathour
 
Slideshare
SlideshareSlideshare
Slideshare
lissettgeyer1
 
Diet
DietDiet
Gram negative rods
Gram negative rodsGram negative rods
Gram negative rodsHifza1995
 
Record Storage
Record StorageRecord Storage
Record Storage
Record Storage
 
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 media
Brian Hess
 
Phobia's
Phobia'sPhobia's
Phobia's
Govind Mishra
 
Rss
RssRss
Walk Through Wednesday
Walk Through WednesdayWalk Through Wednesday
Walk Through Wednesday
Brian Hess
 
Ieee paper mobile boadband
Ieee paper mobile boadbandIeee paper mobile boadband
Ieee paper mobile boadband
Ramya Sasi
 

Viewers also liked (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 to Zabbixconf2016(2)

MySQL Monitoring Shoot Out
MySQL Monitoring Shoot OutMySQL Monitoring Shoot Out
MySQL Monitoring Shoot Out
Kris 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 loadays
tomdc
 
Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017
Amirhossein Saberi
 
Nagios En
Nagios EnNagios En
Nagios En
Aleksey Trusov
 
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 Applications
Graham Dumpleton
 
DockerCon Europe 2018 Monitoring & Logging Workshop
DockerCon Europe 2018 Monitoring & Logging WorkshopDockerCon Europe 2018 Monitoring & Logging Workshop
DockerCon Europe 2018 Monitoring & Logging Workshop
Brian 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 AuditD
Threat 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 Cooman
NETWAYS
 
opensource Monitoring Tool , an overview
opensource Monitoring Tool , an overviewopensource Monitoring Tool , an overview
opensource Monitoring Tool , an overview
Kris Buytaert
 
2023-May.pptx
2023-May.pptx2023-May.pptx
2023-May.pptx
mnaeemuetcs
 
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_IoT
CanSecWest
 
Log management principle and usage
Log management principle and usageLog management principle and usage
Log management principle and usage
Bikrant Gautam
 
Getting started with Splunk Breakout Session
Getting started with Splunk Breakout SessionGetting started with Splunk Breakout Session
Getting started with Splunk Breakout Session
Splunk
 
Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014
Tomas Doran
 
I hunt sys admins 2.0
I hunt sys admins 2.0I hunt sys admins 2.0
I hunt sys admins 2.0
Will Schroeder
 
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
Indus Khaitan
 

Similar to 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
 

Recently uploaded

2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 

Recently uploaded (20)

2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 

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