MonitoringExchange
NagiosForge
NagiosWiki
Nagios Community Platform powered by NETWAYS

Addon:Birdseye

Search  
From NagiosWiki
Jump to: navigation, search

Birdseye

Addon:Birdseye
Cover
Description: Birdseye provides a clear overview of problems with hosts and services.
Author: Jeroen Claeys
Developer: Jeroen Claeys
Released: 2009, 2 June
Latest release version: 1.0
OS: Unix/Linux
Genre: {{{Genre}}}
Licence: {{{license}}}
Licence: GNU General Public License version 3
Website: {{{website}}}


This interface is meant to be left running on a screen. It serves as an overview, not as a replacement for the default Nagios interface.

Contents


How it works

1. First you will need the ndoutils-nagios3-mysql package.

2. The next step is to create the following tables and triggers:

create database events; create table e (object_id int(11) not null, status_update_time datetime, primary key(object_id));

grant select on events.e to 'ndoutils'@'localhost';

create trigger chu after update on nagios_hoststatus for each row begin replace into events.e select new.host_object_id, now(); end; create trigger csu after update on nagios_servicestatus for each row begin replace into events.e select new.service_object_id, now(); end;

view triggers: select * from information_schema.triggers; view rights: select * from mysql.tables_priv;

3. You will also need the php-db package.

4. Now copy the Birdseye files to your /var/www/ folder.

Some remarks:

  • Edit connection.php in order to ensure database connection.
  • Some settings can be changed in settings.php.
  • Possible issues are database permissions, Apache2 file permissions, incorrect javascript path used in index.html, incorrect Nagios3 alias used in the Apache2 conf.d files.
  • This interface was optimized for 1920x1080 pixels. It will probably require some tweaking to make it look decent in a different resolution. All of the CSS related to size can be found in styles.php and backend.php.

Features

When hosts change state to critical or services change state to critical, warning or unknown, the name of this host or service will be shown on screen. The background color of the name specifies if the problem is of type critical, warning or unknown. New notifications are displayed in a popup.

The lower half of the screen is used to show some extra info about Nagios: whether Nagios and the Ndo2db plugin are running, number of hosts and services, host and service health...

At the bottom of the interface there are two tickers. The top ticker shows plugin output of critical services, the bottom ticker shows output of warning services.

Refresh rate and ticker speed can be changed.

Application automatically refreshes if Nagios is reloaded/restarted.

Screenshots

External links

Download