Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

39
Trouble Ticket Integration with Zabbix in Large Environment 2016 Sept

Transcript of Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 1: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Trouble Ticket Integration with Zabbix in Large Environment

2016 Sept

Page 2: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Alain GanuchaudCool Monitoring

http://[email protected]

Presentation

Page 2

Page 3: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Presentation

Page 3

Page 4: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Summary

1. Introduction2. Issues3. Plugin Architecture4. External Specifications5. Technical Details

Page 4

Page 5: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 5

-> What are we talking about ?

-> Large Environment ?

-> Trouble Ticket ?

Part 1Introduction

Page 6: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

What are we talking about ?

Zabbix TroubleTicket Connexion→ Two ways connexion→ APIs→ Connector Database (Zabbix TroubleTicket Link)

Large Environment→ 1000 tickets per day

Page 6

Page 7: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Trouble Ticket ?

• Lists of issues (Most of the time : Source = mail or phone)

• Manage issues (Most of the time through HelpDesk)

→ ServiceNow is a SaaS Trouble Ticketing System widely used in Large environments

Page 7

Page 8: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

What is a Large Environment ?

• More than 14 000 servers , 1 million items

• Some servers with over 10 000 items• Some servers with over 10 000 triggers• More than 100 Zabbix administrators

developping Application Templates

Page 8

Page 9: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Part 2Issues

Page 9

Page 10: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

The Problem

Large Environments rely on TroubleTicket tool and HelpDesk for managing IT issues. Bridging Zabbix with over 5000 servers and HelpDesk manually is a painful and impossible project.

Page 10

Page 11: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

SwissLife Case Study

Page 11

Page 12: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

SwissLife Presentation

Page 12

Page 13: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

SwissLife Presentation

Page 13

Page 14: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Part 3Plugin Architecture

Page 14

Page 15: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 15

Plugin Architecture

Page 16: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 16

Plugin Architecture

Page 17: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 17

Plugin Architecture

Page 18: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Part 4External Specifications

Page 18

Page 19: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 19

Some of the Functionalities

→ Opens automatically a ServiceNow Ticket via Snow APIsFull Automatic (based on Trigger name TR--A)Manual (TR--M), needs acknowledge from operator

→ Fill in automatically Snow fields with Zabbix macrosCaller, Environment, CI, Application, Server, Team, Category,

Subcategory, Dates,…→ Correlate Zabbix events automatically with Snow tickets

(same trigger source)→ Correlate Zabbix events manually with Snow tickets

(different triggers sources)→ Sends back Correlation confirmations to Operators→ Monitor Snow tickets status and update Zabbix via APIs

when ticket is closed or resolved→ Others: http proxy, debug, logs, ...

Page 20: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 20

Triggers Nomenclature

TR--A/M--PRD/HPR--{$SERVICEXXX}--{$CIXXX}--Free Description of Trigger | Auto/Manu |

Prod or Non Prod | Service (~ Application Name) |

CI (could be Server or Oracle DB, …) | Free Description

Nota Bene: Some détails come from Host Inventory

Page 21: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 21

External Specifications

Page 22: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 22

External Specifications

Page 23: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Part 5Technical Details

Page 23

Page 24: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 24

Automatic Tickets

Page 25: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 25

Automatic Tickets

Page 26: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 26

Automatic Tickets

Page 27: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 27

Automatic Tickets

Page 28: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 28

Automatic Tickets

Page 29: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 29

Manual Tickets

Page 30: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 30

Manual Tickets

Page 31: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 31

Manual Tickets : noticket

Page 32: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 32

Manual Tickets : link to ticket

Page 33: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 33

Zabbix Events Correlation

Page 34: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Connector Database

Page 34

Page 35: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 35

Connector Database

Page 36: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 36

Code

Page 37: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Page 37

Supported Versions

Connector Release V6 synchronized with :

- Zabbix V2.2.x (must be OK with 2.4 and 3.0 but not tested)

- ServiceNow Fuji Version

Page 38: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Released as OpenSourceOn Zabbix Share

Page 38

Page 39: Alain Ganuchaud - Trouble Ticket Integration with Zabbix in Large Environment | ZabConf2016

Merci pour votre attention !

Alain Ganuchaud

Cool [email protected]

Questions?

Page 39

Follow us on Twitter: @zabbix_fr @AlainGanuchaud