Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me

Directory Tree


Current Version
Last Release Date
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
PNP is an addon to Nagios which analyzes performance data provided by plugins and stores them automatically into RRD-databases (Round Robin Databases, see RRD Tool).
Reviews (7)
To make it work on Ubuntu 20.04 with PHP 7.4:

Edit /usr/local/pnp4nagios/lib/kohana/system/libraries/Input.php line 57 and replace
if (get_magic_quotes_runtime())
Kohana::log('debug', 'Disable magic_quotes_runtime! It is evil and deprecated:');

magic_quotes_gpc is enabled
if (get_magic_quotes_gpc())
$this->magic_quotes_gpc = TRUE;
Kohana::log('debug', 'Disable magic_quotes_gpc! It is evil and deprecated:');

if (version_compare(PHP_VERSION, '5.3.0', 'magic_quotes_gpc = TRUE;
Kohana::log('debug', 'Disable magic_quotes_gpc! It is evil and deprecated:');

(Credits to )

and edit /usr/local/pnp4nagios/share/application/models/data.php line 979 and replace:
if(sizeof($pages) > 0 ){
if (is_array($pages)) {
byfcw, September 18, 2020
1 of 1 people found this review helpful

These changes fixed the issues for me.
# diff /usr/local/pnp4nagios/share/application/models/data.php-orig /usr/local/pnp4nagios/share/application/models/data.php
0 ){
> if(is_array($pages) && sizeof($pages) > 0){
# diff /usr/local/pnp4nagios/share/application/lib/json.php-orig /usr/local/pnp4nagios/share/application/lib/json.php
function Services_JSON_construct($use = 0)
function Services_JSON_Error_construct($message = 'unknown error', $code = null,
function Services_JSON_Error_construct($message = 'unknown error', $code = null,
# diff /etc/php.ini-orig /etc/php.ini
> ; Added for pnp4nagios
> magic_quotes_gpc = Off

Thanks for a great plugin :)
This is a Nagios must have if you want great performance graphs.

If I could suggest one thing, it would be that it somehow graph the performance of your Nagios core daemon without any customization.

The classic MRTG graphs to graph that type of information are not user friendly like PNP4Nagios is.
I added PNP4Nagios to my environment over the last few days. Other than making some simple configuration changes to account for the RPM package-based installation, it installed easily and works very well. It even includes a mobile web interface!
bysircharlo, November 25, 2011
Amazing plugin, compiled from source on Ubuntu 11.10 with Nagios 3.1.1.

Works great, takes a lot of tweaking and configuring but is amazing once you're done.
bykosarajudeepak, November 5, 2010
1 of 1 people found this review helpful
Very Impressive at first I decided to go with nagiosgrapher but exporting reports to PDF really made my day to thing pnp4nagios is my choice.
byahuffman, August 26, 2009
4 of 4 people found this review helpful
This adds some nice graphs to your services and hosts. The popup config is great for displaying performance data.