Creating graphs

In this recipe, we will show you how to build some nice looking graphs from the data that we have gathered from our items.

Getting ready

For this recipe, we need a Zabbix installation and an agent installed on the Zabbix server or another host that we can use. We also need admin rights in Zabbix to be able to create our graph.

How to do it…

  1. First we need an item. For this we will monitor our CPU load as it always gives a nice graph. Add an item system.cpu.load[percpu,avg1]. If you don't know how to do this, have look at Chapter 4, Passive agents or Active agents.
  2. Next go to Configuration | Hosts, then go to Configuration | Template if you would like to create it in a template.
  3. Click on the Graphs link after your host and click Create ...

Get Zabbix Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.