SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 

Kürzlich hochgeladen (20)

GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 

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