Installing widgets in Centreon

widget01

You can customize the Centreon web interface building your own dashboard using the Centreon widgets.

With this solution you can extend the Centreon functionalities configuring the monitor system in the way that best fit into your corporate network environment.

 

Prerequisites

  • Linux distribution CentOS 6.x
  • Working Nagios environment
  • Configured Centreon application

 

Download widgets templates

From Centreon website download available templates to be installed in your system.

widget02

Widgets files .gz have to be extracted in the /usr/local/centreon/www/widgets/ directory.

tar –vxzf /install/widgetname.tar.tg

# cd /usr/local/centreon/www/widgets/
# tar -vxzf /install/centreon-widget-host-monitoring-1.1.2.tar.gz
# tar -vxzf /install/centreon-widget-hostgroup-monitoring-1.1.1.tar.gz
# tar -vxzf /install/centreon-widget-servicegroup-monitoring-1.1.0.tar.gz
# tar -vxzf /install/centreon-widget-service-monitoring-1.1.2.tar.gz

widget03

Rename folders to reflect the widgets default configuration path then assign files ownership to user centreon.

# mv centreon-widget-host-monitoring-1.1.2/ host-monitoring
# mv centreon-widget-hostgroup-monitoring-1.1.1/ hostgroup-monitoring
# mv centreon-widget-service-monitoring-1.1.2/ service-monitoring
# mv centreon-widget-servicegroup-monitoring-1.1.0/ servicegroup-monitoring

#chow centreon:centreon * -R

widget04

 

Install the widgets

From your browser, open Centreon and enter the credentials to login in the system.

widget05

Go to Administration > Modules > Widgets > Setup menu to see the list of available widgets.

widget06

Under Actions field click on the icon to install the desired widget then click OK in the popup window to confirm the installation.

widget07

Once the widgets have been installed, the Actions icons change. Clicking this new icon (recycle bin), the widget is uninstalled from the system.

widget08

 

Widgets configuration

From Centreon main screen, click Home > Custom Views menu. Click Add view button to configure a view.

widgets11

Type a View name, select the Layout then click Submit.

widgets12

Click Add widget button.

widgets14

Type a Widget Title, select the widget type you want to install then click Submit.

widgets15

Install all the views and widgets you may need following these steps. If you set up different views, you can show all of them in sequence by configuring a Rotation time.

widgets16

The final result with four views configured.

widgets17

You can also create your own widgets following the instructions in the Centreon website.

centreon widgets 1

3 Comments

  1. Andre 09/10/2013
  2. Rob 23/10/2014
  3. manolo 25/11/2014