41
Maps Maps Maps

The hidden power of network maps on Zabbix

Embed Size (px)

DESCRIPTION

The hidden power of network maps on Zabbix by Rihards Olups at Zabbix Conference 2011

Citation preview

Page 1: The hidden power of network maps on Zabbix

Maps

Maps

Maps

Page 2: The hidden power of network maps on Zabbix

See - Do

● Maps – what can you do● Maps – how can you do it

Page 3: The hidden power of network maps on Zabbix

SEE

Page 4: The hidden power of network maps on Zabbix
Page 5: The hidden power of network maps on Zabbix
Page 6: The hidden power of network maps on Zabbix
Page 7: The hidden power of network maps on Zabbix
Page 8: The hidden power of network maps on Zabbix

2.0

Page 9: The hidden power of network maps on Zabbix
Page 10: The hidden power of network maps on Zabbix
Page 11: The hidden power of network maps on Zabbix

Custom icon...

● custom icon for all 5 types

Page 12: The hidden power of network maps on Zabbix

...that changes

Page 13: The hidden power of network maps on Zabbix
Page 14: The hidden power of network maps on Zabbix

Icon highlighting, change marking

Page 15: The hidden power of network maps on Zabbix

Those labels have type

Page 16: The hidden power of network maps on Zabbix

Label “Label”

● OK/PROBLEM● Problem (trigger) name or "1 problem"

Page 17: The hidden power of network maps on Zabbix

Label location

Page 18: The hidden power of network maps on Zabbix

Acknowledge status

Page 19: The hidden power of network maps on Zabbix

Links between elements

Page 20: The hidden power of network maps on Zabbix

Labels on links

Page 21: The hidden power of network maps on Zabbix

Display realtime data

Page 22: The hidden power of network maps on Zabbix

Link indicators

Page 23: The hidden power of network maps on Zabbix

2.0

Global scripts

Page 24: The hidden power of network maps on Zabbix

2.0

Built-in and custom URLs

Page 25: The hidden power of network maps on Zabbix

Background

Page 26: The hidden power of network maps on Zabbix

Timestamped

Page 27: The hidden power of network maps on Zabbix

DO

Page 28: The hidden power of network maps on Zabbix

permissions -

ALLOR

NOTHING

Page 29: The hidden power of network maps on Zabbix

Drag drop

Page 30: The hidden power of network maps on Zabbix

2.0

Grid

Page 31: The hidden power of network maps on Zabbix

2.0

Element editing

Page 32: The hidden power of network maps on Zabbix

2.0

Multiple element editing

Page 33: The hidden power of network maps on Zabbix

Routed and branching links

● Use invisible images

Page 34: The hidden power of network maps on Zabbix

Macro-variables

● Can be used both in element and link labels● {HOSTNAME}● {Server:system.cpu.load.last(0)}● {{HOSTNAME}:system.cpu.load.last(0)}● last(), min(), max(), avg()

Page 35: The hidden power of network maps on Zabbix

SAVE THE MAP

Page 36: The hidden power of network maps on Zabbix

Custom images

● Icons & background images● Administration -> General -> Images● www.osm.org ← the best

Page 37: The hidden power of network maps on Zabbix

XML

● Backup purposes● Generate maps externally

Page 38: The hidden power of network maps on Zabbix

XML – image import

● XML may contain icons & backgrounds● base64

Page 39: The hidden power of network maps on Zabbix

API{

"jsonrpc": "2.0",

"method": "map.create",

"params": [{

"selements": [{

"elementid": "0",

"elementtype": "4",

"iconid_off": "100100000000036",

"iconid_on": "0",

"iconid_unknown": "0",

"label": "New element",

"label_location": "0",

"x": "200",

"y": "100",

"url": "",

"iconid_disabled": "0",

"iconid_maintenance": "0"

}],

}],

"name": "ZABBIX-Map",

"width": "800",

"height": "600",

"backgroundid": "0",

"label_type": "0",

"label_location": "0",

"highlight": 0,

"expandproblem": 0,

"markelements": 0,

"show_unack": 0

}],

"auth": "038e1d7b1735c6a5436ee9eae095879e",

"id": 2

}

Page 40: The hidden power of network maps on Zabbix

Selecting a map in the URL

● Usual way – refer by ID● maps.php?sysmapid=13

● “mapname” – refer by name● maps.php?mapname=Happy%20Mappy

Page 41: The hidden power of network maps on Zabbix

Happy mapping(got your own hints ?)