Nagios several ways to achieve fast data visualization

Nagios  is a powerful open source monitoring software, but he is not drawing itself, can only view the current data, historical data and trends can not see, also, therefore, would want a more comfortable use with mapping software, is now available with graphics there are a lot of software, for example pnp4nagios, rrdtools, grafana, cacti, and  Cloud Insight , Nagios software and some even with use.

This article describes several fast implementation Nagio data visualization software, as well as their installation and configuration showing the effect of FIG.

## Pnp4nagios, Rrdtools Pnp4nagios rrdtool tool using data acquired plotted Nagios related charts and rrdtool installation requires a series of complex dependencies.

  • First yum install various dependencies
  • Install rrdtools, if the corresponding error during the installation corresponding to eleven dependent libraries
  • Finally, install PNP4nagios
  • After installation configuration file, nagios configuration needs to be configured in four areas, modify nagios.cfg, command.cfg, templates.cfg, and server configuration file localhost.cfg

Finally out of the map is this:

Nagios several ways to achieve fast data visualization

Difficulty of the operation: 3 stars intuitive Index: 2 stars

## Nagiosgraph Nagiosgraph is a plug-in Nagios monitoring system, with RRD format to collect performance data service, via a CGI show chart data, nagiosgraph create charts and generate HTML pages based on image data report.

  • Installation nagiosgraph components, first download the source package
  • Detection of environmental requirements, install the missing modules, but also pay attention to the requirements of version
  • Installation, edit nagios.cfg, commands.cfg, httpd.conf, templates.cfg files after successful
  • Restart nagios, you can see on the web

FIG out configuration is such that:

Nagios several ways to achieve fast data visualization

Difficulty of the operation: semi-intuitive 3 Star Index: 2 and a half stars

## Graphite, Grafana Graphite nagios data collected from the stored time-series data, presentation graphics data is needed.

Grafana is a professional graphics generation software, the data show only function is a pure html / js application. It focuses on providing a rich way to visualize time series of indicators. So with Graphite and Nagios data show together.

Graphios is a script that can send data to nagios graphite, graphite solve the problem of data acquisition is less than nagios

  • graphite installation Preparing the environment
  • Obtain the installation package graphite-web, carbon, whisper
  • Configuring apache, initialize the database
  • Start graphite, graphite landing set user name and password
  • Add grafana apache configuration settings login user name and password grafana
  • Installation elasticsearch
  • Grafana get the source code, modify config.js, set up user login and password
  • Nagios configuration script graphios send data to the graphite
  • Configure nagios, modify the configuration file nagios.cfg, commands.cfg, configure nagios use graphios
  • All of the above configuration, reboot nagios

This graph is substantially:

Nagios several ways to achieve fast data visualization

Good to see, but at least you have to master Graphite, Grafana, Graphios installation configuration.

Difficulty of the operation: 5 star interface is intuitive: 4 stars half

## Cacti Cacti is a set of open source, web-based traffic monitoring graphical analysis tool RRDTool good graphics by NPC (Nagios Plugin for Cacti) plug-nagios monitoring information is integrated into the monitoring page

  • Cacti install dependencies, installation cacti
  • Set the Apache, MySQL , PHP, Cacti
  • Before installing the plug-in to install the PIA (Cacti-Plugin), after installing the npc plug, installed after the Nagios can use the functions in the interface in Cacti
  • Log cacti background in the plug-in installed and enabled NPC management center

Graphic shows like this:

Nagios several ways to achieve fast data visualization

Difficulty of the operation: semi-intuitive 3 Star Index: 2 stars

## Cloud Insight  Cloud Insigh by a  StatsD  , using OpenTSDB collect performance metrics data aggregation, packet filtering, using a front end for highcharts display data management platform.

  • A key installation probe, 40s can be installed successfully

  • Nagios modify configuration files nagios.cfg, Cloud Insight configuration file nagios.yaml

  • Restart probe

The graphics are out of this:

Nagios several ways to achieve fast data visualization

Operation difficulty: 2 stars intuitive interface: 4 stars

## summarizes the comprehensive, Nagios want to see real-time data as well as historical trends, it would need to configure data visualization plug-ins, a variety of software configuration above above, according to their own preferences, time, interest configure a different graphical look Look.

Also, 5.1 holidays coming up, you still have a few days to engage in a practice? And then take the opportunity to pondering pondering configured with other functions in addition to the function of the chart!

Cloud Insight  set monitoring, management, computing, collaboration, visualization in one, all IT companies to help reduce the time and manpower costs on the system monitor input, so that operation and maintenance work more efficient and simple. To read more technical articles, please visit  OneAPM official technical blog .

Guess you like

Origin www.cnblogs.com/xuefy/p/12381786.html