Zabbix API example: creating a graph with LLD-generated items

We talked about the second most-voted feature request for Zabbix, an ability to create a graph containing an item for all LLD-created entities like network interfaces or filesystems. There was a teaser on using the Zabbix API to implement something like that. Now is the time to check out a simple example that shows such a functionality using a Perl module for the Zabbix API, Zabbix::Tiny.

Don’t despair if you have never used Zabbix::Tiny or even Perl before – everybody starts that way, and questions are always welcome. You might also want to review the posts that introduced Zabbix::Tiny:

Our script will do these things:

  • connect to the Zabbix API and obtain the host ID
  • query items by the specified key pattern that belong to the specified host (using the host ID obtained earlier)
  • create a custom graph

Our goal is to automatically create graphs with LLD-generated items like these:
Zabbix graph configuration, showing 4 free diskspace items
Continue reading Zabbix API example: creating a graph with LLD-generated items

Zabbix feature request TOP20, January 2017

We recently covered the most desirable feature request in Zabbix – ability to tell an item to collect a value right now, instead of waiting for the next polling interval. But there are many more feature requests – actually, there are almost 2000 open feature requests. Let’s look at TOP20 out of those, and let’s figure out what’s the second most desirable thing to be implemented for Zabbix.

Zabbix TOP3 feature requests
There are 17 more of these below!

Continue reading Zabbix feature request TOP20, January 2017

Visiting the Open Source Monitoring Conference 2016, Part 2

WeMos D1 Mini boardContinuing the visit of Open Source Monitoring Conference 2016, it was time for Jan-Piet Mens to talk about using small things for monitoring. These specific small things communicate using MQTT, a messaging protocol that has been around since 1999. After that, Remo Rickli introduced a tool called NeDi – short for Network Discovery. Being around since 2003, it has received more development effort recently.

Continue reading Visiting the Open Source Monitoring Conference 2016, Part 2

Visiting the Open Source Monitoring Conference 2016, Part 1

A witch on a broom over a crescent moonOpen Source Monitoring Conference (OSMC) is an event in Nuremberg, Germany. It started back in 2006 as a Nagios Conference, and got renamed to OSMC in 2009. As the name implies, it started out very focused on Nagios, then slowly became more generic with various other monitoring-related topics being included. I had the pleasure of attending the conference this year and here’s a small summary of a few of the very interesting talks at OSMC 2016.

Continue reading Visiting the Open Source Monitoring Conference 2016, Part 1

Monitoring items for uneven values, how odd is that?

As someone working in IT infrastructure, every now and then you are confronted with a problem that you are not certain how to solve. Often times I have found myself overthinking things and ending up with a complex solution that isn’t very elegant but get’s the job done.

One such occasion was my solution to monitor Link Aggregation Group (or LAG) interfaces on switches.

dice
A game of Chō-han, anyone?

Continue reading Monitoring items for uneven values, how odd is that?

The social part of the Zabbix Conference 2016

or Why should conferences have long breaks

A wizard kneeling to a wounded knight
Picture (c) Zabbix

In the post about the first day of the conference I explicitly mentioned that the coffee/tea breaks were fairly long. And that was not a complaint – it was a positive observation and “thank you” to the organisers. Why should conferences have long breaks then?

Continue reading The social part of the Zabbix Conference 2016

Lightning talks and Q&A at the Zabbix Conference 2016

We covered the main talks during day one and day two of the Zabbix Conference 2016, but there were a few more things that happened in the conference hall at the end of the second day. After the main talks were over, in 5-minute long lightning talks various topics were introduced and briefly covered.

Burning duck / Ahiruyaki

Afterwards, the participants had a chance to ask questions to the Zabbix team. While there is a lot of talking going on off-the-record (conference participants catching a developer, separate sessions for Zabbix partners etc), this was a chance both to raise a topic to be heard by a bigger audience, and find out something if you had not managed to grab a Zabbix team member before.

Continue reading Lightning talks and Q&A at the Zabbix Conference 2016