All Projects → Icinga → icingaweb2-module-pnp

Icinga / icingaweb2-module-pnp

Licence: GPL-2.0 license
Integrate PNP graphs into Icinga Web 2

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to icingaweb2-module-pnp

Web Vitals Module
Web Vitals: Essential module for a healthy Nuxt.js
Stars: ✭ 138 (+331.25%)
Mutual labels:  module, metrics
phpstats
CLI Statistics and dependency graphs for PHP
Stars: ✭ 61 (+90.63%)
Mutual labels:  metrics, graphs
icingaweb2-module-pdfexport
PDF export functionality for Icinga Web 2
Stars: ✭ 27 (-15.62%)
Mutual labels:  module, icingaweb2
Grafterm
Metrics dashboards on terminal (a grafana inspired terminal version)
Stars: ✭ 613 (+1815.63%)
Mutual labels:  metrics, graphs
icingaweb2-module-cube
Drill-down view for Icinga web 2 based on custom variables
Stars: ✭ 40 (+25%)
Mutual labels:  module, icingaweb2
icingaweb2-module-businessprocess
Create top-level views of your applications in a graphical editor. Rules express dependencies between existing hosts and services and let you alert on application level. Business processes are displayed in a tree or list overview.
Stars: ✭ 106 (+231.25%)
Mutual labels:  module, icingaweb2
Neural-Plot-Development
A Library for visualizing Neural Networks of the TensorFlow/Keras models.
Stars: ✭ 16 (-50%)
Mutual labels:  module, graphs
graphs
⬆️📊 Generate response time chart images in Upptime
Stars: ✭ 31 (-3.12%)
Mutual labels:  graphs
co2
Nous sommes passé à GitLab. Go : https://gitlab.adullact.net/pixelhumain/co2
Stars: ✭ 22 (-31.25%)
Mutual labels:  module
Windows-Python-RAT
A New Microsoft Windows Remote Administrator Tool [RAT] with Python by Sir.4m1R.
Stars: ✭ 70 (+118.75%)
Mutual labels:  module
pbwrap
Pastebin API wrapper for Python
Stars: ✭ 19 (-40.62%)
Mutual labels:  module
VieCut
VieCut 1.00 - Shared-memory Minimum Cuts
Stars: ✭ 34 (+6.25%)
Mutual labels:  graphs
pkg-require
require node files relative to your package directory
Stars: ✭ 22 (-31.25%)
Mutual labels:  module
webtrees-fancy-research-links
Fancy Research Links Module for webtrees
Stars: ✭ 20 (-37.5%)
Mutual labels:  module
maruko
maruko是一个基于dotnetcore的快速开发框架,他实现freesql,automap,模块化,DDD 设计思想等常用性功能.
Stars: ✭ 29 (-9.37%)
Mutual labels:  module
pbPlots
A plotting library available in many programming languages.
Stars: ✭ 71 (+121.88%)
Mutual labels:  graphs
libmcu
A toolkit for firmware development
Stars: ✭ 33 (+3.13%)
Mutual labels:  metrics
libvmod-geoip2
A Varnish VMOD to query MaxMind GeoIP2 DB files
Stars: ✭ 37 (+15.63%)
Mutual labels:  module
pm2-githook
receive webhook from github/gitlab and ask pm2 to reload the application for you
Stars: ✭ 39 (+21.88%)
Mutual labels:  module
DRL graph exploration
Autonomous Exploration Under Uncertainty via Deep Reinforcement Learning on Graphs
Stars: ✭ 53 (+65.63%)
Mutual labels:  graphs

PNP module for Icinga Web 2

Table of Contents

  1. About
  2. License
  3. Support
  4. Requirements
  5. Installation
  6. Configuration
  7. FAQ
  8. Thanks
  9. Contributing

About

This module integrates PNP into Icinga Web 2 and allows you to view beautiful graphs in the host/service detail view.

Detail View Iframe

License

Icinga Web 2 and this Icinga Web 2 module are licensed under the terms of the GNU General Public License Version 2, you will find a copy of this license in the LICENSE file included in the source package.

Support

Join the Icinga community channels for questions.

Requirements

This module glues PNP and Icinga Web 2 together. Both of them are required to be installed and configured:

Installation

Extract this module to your Icinga Web 2 modules directory as pnp directory.

Git clone:

cd /usr/share/icingaweb2/modules
git clone https://github.com/Icinga/icingaweb2-module-pnp.git pnp

Tarball download (latest release):

cd /usr/share/icingaweb2/modules
wget https://github.com/Icinga/icingaweb2-module-pnp/archive/v1.1.0.zip
unzip v1.1.0.zip
mv icingaweb2-module-pnp-1.1.0 pnp

Enable Icinga Web 2 module

Enable the module in the Icinga Web 2 frontend in Configuration -> Modules -> pnp -> enable. You can also enable the module by using the icingacli command:

icingacli module enable pnp

Configuration

PNP Configuration

The base URL for PNP (e.g. /pnp4nagios) must be accessible on the webserver.

There is an open issue for forwarding the Icinga Web 2 auth session to PNP.

Module Configuration

Navigate to Modules - PNP - Config and specify the settings.

Configuration

FAQ

Duplicated Graphs in Detail View

There is a problem with config.php and config_local.php in PNP (discussion here).

Remove the duplicated views in one of them, e.g. in config_local.php:

- $views[] = array('title' => '4 Hours',   'start' => (60*60*4) ); 
- $views[] = array('title' => '25 Hours',  'start' => (60*60*25) ); 
- $views[] = array('title' => 'One Week',  'start' => (60*60*25*7) ); 
- $views[] = array('title' => 'One Month', 'start' => (60*60*24*32) ); 
- $views[] = array('title' => 'One Year',  'start' => (60*60*24*380) );

The related issue can be found here.

Preview Graphs Missing in Detail View

First off, the module needs to read the local PNP configuration files and as such you need to ensure that the path can be read by the web server user. SELinux may prevent this too next to wrong permissions or wrong paths. This path defaults to /etc/pnp4nagios and requires adjustments for your own needs. If the module is not able to read the configuration, an error will be logged to the debug log and no graph will be rendered.

Also ensure that the user who is not seeing the graphs actually has the permission to view the PNP module. Navigate into your roles configuration and verify that.

PNP stores meta information in an XML file next to the actual RRD file. If this file is missing in your RRD data store, the module won't render graphs. Verify that PNP and NPCD are running and troubleshoot why metrics are not updated. The debug level helps here.

Last but not least, if there are no graphs available, the detail view won't show any graphs. You can verify that by opening the native PNP interface and search for the corresponding host or service.

Thanks

Contributing

There are many ways to contribute to the Icinga Web module for PNP -- whether it be sending patches, testing, reporting bugs, or reviewing and updating the documentation. Every contribution is appreciated!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].