pnp-0.6.26_2.txz


Advertisement

Description

pnp - Nagios / Icinga performance data collector and grapher

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename pnp-0.6.26_2.txz
Package name pnp
Package version 0.6.26
Package release 2
Package architecture amd64
Package type txz
Category net-mgmt
Homepage http://www.pnp4nagios.org/
License GPLv2
Maintainer lme@FreeBSD.org
Download size 2.25 MB
Installed size 5.01 MB
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).
During development of PNP we set value on easy installation and
little maintenance while running it. An administrator should do
other things than configure graphing tools.
WWW: http://www.pnp4nagios.org/
Options:
- EXAMPLES: on
- PDF: on
========================================================================
You just installed/upgraded PNP graphing tool for nagios.
You will need to read the documentation at
http://docs.pnp4nagios.org/pnp-0.6/doc_complete
both for new installations and upgrades from 0.4, since you will
need to tweak your nagios and PNP configuration according to the
0.6.x recipes.
We recommend to start with the following restrictive Apache configuration for
the PNP area:
{{{
# PNP graphing tool
Alias /nagios/pnp /usr/local/www/pnp
<Directory "/usr/local/www/pnp/">
Order deny,allow
Allow from all
Deny from all
AddHandler application/x-httpd-php .php
DirectoryIndex index.php
RewriteEngine on
RewriteBase /nagios/pnp/
# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L]
</Directory>
# PNP graphing tool
Alias /nagios/pnp /usr/local/www/pnp
<Directory /usr/local/www/pnp>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAll>
Require all granted
# Require local
Require valid-user
</RequireAll>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order allow,deny
Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
Require valid-user
</IfModule>
AuthName "PNP Access"
AuthType Basic
AuthUserFile /usr/local/etc%%NAGIOSHTMURL%%/htpasswd.users
AddHandler application/x-httpd-php .php
DirectoryIndex index.php
RewriteEngine on
RewriteBase /nagios/pnp/
# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L]
</Directory>
}}}
Don't forget to install and enable www/mod_php5 as well as mod_rewrite.
If you use another web server like nginx or lighttpd, take a look at
/usr/local/share/examples/pnp
Create /usr/local/www/pnp/install.ignore to disable sanity check
and start using PNP.
Please, note that user who runs Apache processes should be able to
read PNP RRD spool files from
/var/spool/nagios/pnp/rrd
so you should tune path permissions accordingly.  Probably one could
start from adding Apache user to the group 'nagios'.
Remember to restart NPCD service after upgrade if you're using
'bulk' mode with NPCD.
========================================================================

Alternatives

Package Version Architecture Repository
pnp-0.6.26_2.txz 0.6.26 i386 FreeBSD Ports Quarterly
pnp-0.6.26_2.txz 0.6.26 amd64 FreeBSD Ports Quarterly
pnp-0.6.26_2.txz 0.6.26 i386 FreeBSD Ports Latest
pnp - - -

Requires

Name Value
nagios = 3.5.1_11
perl5 = 5.28.1_1
php72 = 7.2.17_2
php72-gd = 7.2.17_2
php72-iconv = 7.2.17_2
php72-json = 7.2.17_2
php72-session = 7.2.17_2
php72-simplexml = 7.2.17_2
php72-sockets = 7.2.17_2
php72-xml = 7.2.17_2
php72-zlib = 7.2.17_2
rrdtool = 1.7.0_2

Download

Type URL
Mirror pkg.freebsd.org
Binary Package pnp-0.6.26_2.txz
Source Package net-mgmt/pnp

Install Howto

Install pnp txz package:

# pkg install pnp

See Also

Package Description
pnp-icinga2-0.6.26_2.txz Icinga2 performance data collector and grapher
pnpids-20140917.txz Database of IDs used in Plug and Play devices
po4a-0.51.txz Brings gettext translation tools to all kinds of docs
pocketreader-1.0_2.txz Siemens PocketReader
pocketsphinx-0.8_1.txz Speech recognition system
pocl-1.3.txz POrtable Computing Language (POCL)
poco-1.9.0_1.txz C++ libraries with a network/internet focus
pod2mdoc-0.2.txz Convert POD data to mdoc input
podcastamatic-1.3_1.txz Automates creation of webpage and RSS feed for a podcast
podcastdl-0.3.3.txz Simple command line podcast client written in plain C
podofo-0.9.6_1.txz PDF manipulation library and tools
podsleuth-0.6.7_2.txz Tool to discover detailed model information about an iPod
poe-0.5.1_13.txz Vorbis comment editor for GNUstep
poedit-1.8.4_28.txz Gettext catalogs (.po files) editor
pointcloud-1.2.0_3.txz LIDAR types for PostgreSQL
Advertisement
Advertisement