Reader small image

You're reading from  Nagios Core Administration Cookbook Second Edition - Second Edition

Product typeBook
Published inFeb 2016
Publisher
ISBN-139781785889332
Edition2nd Edition
Tools
Right arrow
Author (1)
Tom Ryder
Tom Ryder
author image
Tom Ryder

Tom Ryder is a systems administrator living in New Zealand who works for an internet services provider. He loves terminals, text editors, network monitoring and security, Unix and GNU/Linux, shell script, and programming in general. He is also the author of the Nagios Core Administration Cookbook.
Read more about Tom Ryder

Right arrow

Reading status in a MySQL database with NDOUtils


In this recipe, you'll learn how to install the NDOUtils extension to Nagios Core in order to have all of Nagios Core's configuration and data written into a MySQL database. This allows us to easily develop custom reports and interfaces for Nagios Core data with languages such as Perl and PHP and their standard interfaces for the popular MySQL server, as opposed to interacting with Nagios Core's own logs or data format. Some plugins such as NagVis use this format to read information about Nagios Core configuration and objects.

Getting ready

You will need a Nagios Core server version 4.0 or later. NDOUtils will probably still get installed and work on older versions of Nagios Core, but the installation process is slightly different; refer to the INSTALL file included in the NDO source for more information on this.

Nagios Core uses its event broker functionality to write information to the socket for the MySQL database to pick up. You will need...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Nagios Core Administration Cookbook Second Edition - Second Edition
Published in: Feb 2016Publisher: ISBN-13: 9781785889332

Author (1)

author image
Tom Ryder

Tom Ryder is a systems administrator living in New Zealand who works for an internet services provider. He loves terminals, text editors, network monitoring and security, Unix and GNU/Linux, shell script, and programming in general. He is also the author of the Nagios Core Administration Cookbook.
Read more about Tom Ryder