Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Paris Monitoring meetup #1 - Zabbix at BlaBlaCar

Paris Monitoring meetup #1 - Zabbix at BlaBlaCar

How we use Zabbix at BlaBlaCar. What we did to be able to deal with >25k items, >300 values per second & >6.5k triggers
- Trappers everywhere
- Low level discovery
- python-protobix
- jmx-zabbix

Jean Baptiste Favre

June 04, 2015
Tweet

More Decks by Jean Baptiste Favre

Other Decks in Technology

Transcript

  1. at

  2. Zabbix •Server / Proxy / Agent •3 ways to get

    items • Agent • Agent (active) • Trappers •SNMP •JMX
  3. Zabbix •Many other (very) cool features like • Low Level

    Discovery • VmWare monitoring • Web Scenario
  4. Standardization All probes written in Python Easy to maintain Widely

    deployed on systems Or Java When accurate Use LLD wherever possible Avoid template duplication Only 2 zabbix-agent (active) items Triggers script to update items Triggers script for LLD
  5. python-protobix At first A personal project to learn Python What

    it is now Unified way of dealing with trappers https://github.com/jbfavre/python-protobix (Soon on pypi.python.org)
  6. python-protobix Support LLD #!/usr/bin/env python import protobix ''' create DataContainer,

    providing data_type, zabbix server and port ''' zbx_container = protobix.DataContainer('lld', 'localhost', 10051) hostname='myhost' item='hardware.power_supply' value=[ { '{#SLOT}': 0, '{#PLUGGED}' : 1 }, { '{#SLOT}': 1, '{#PLUGGED}' : 0 }, ] zbx_container.add_item( hostname, item, value) try: zbx_response = zbx_container.send(zbx_container) except protobix.SenderException: print 'Oups...'