Port details |
- pnp Nagios / Icinga performance data collector and grapher
- 0.6.26_2 net-mgmt
=5 0.6.26_2Version of this port present on the latest quarterly branch. - Maintainer: joneum@FreeBSD.org
 - Port Added: 2008-08-17 06:49:57
- Last Update: 2021-07-30 17:58:13
- Commit Hash: 8e72064
- People watching this port, also watch:: nagios-plugins, screen, py38-subversion
- License: GPLv2
- Description:
- 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/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/net-mgmt/pnp/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/pnp
- pkg install pnp
- PKGNAME: pnp
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1503401418
SHA256 (pnp4nagios-0.6.26.tar.gz) = ab59a8a02d0f70de3cf89b12fe1e9216e4b1127bc29c04a036cd06dde72ee8fb
SIZE (pnp4nagios-0.6.26.tar.gz) = 3039265
- Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- net-mgmt/pnp-icinga2
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- rrdtool : databases/rrdtool
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- rrdtool : databases/rrdtool
- nagios : net-mgmt/nagios
- php.h : lang/php74
- perl5>=5.32.r0<5.33 : lang/perl5.32
- gd.so : graphics/php74-gd
- iconv.so : converters/php74-iconv
- json.so : devel/php74-json
- session.so : www/php74-session
- simplexml.so : textproc/php74-simplexml
- sockets.so : net/php74-sockets
- xml.so : textproc/php74-xml
- zlib.so : archivers/php74-zlib
- There are no ports dependent upon this port
- Configuration Options:
- ===> The following configuration options are available for pnp-0.6.26_2:
EXAMPLES=on: Build and/or install examples
PDF=on: Use built-in fpdf library to produce PDF views
===> Use 'make config' to modify these settings
- Options name:
- net-mgmt_pnp
- USES:
- dos2unix perl5 php php:web
- pkg-message:
- For install:
- 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.
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
30 Jul 2021 17:58:13 0.6.26_2
|
Jochen Neumeister (joneum)  |
net-mgmt/icinga*: - Take Maintainership
Sponsored by: Netzkommune GmbH |
28 Jul 2021 20:34:51 0.6.26_2
|
Lars Engels (lme)  |
*: Drop maintainership on most of my ports.
Unfortunately I cannot give them the love they deserve at the moment. |
06 Apr 2021 14:31:13 0.6.26_2
|
Mathieu Arnold (mat)  |
all: Remove all other $FreeBSD keywords. |
06 Apr 2021 14:31:07 0.6.26_2
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
14 Aug 2019 08:48:51
0.6.26_2
|
mat  |
Convert to UCL & cleanup pkg-message (categories n)
(and missed 3 missed files from previous categories.) |
15 Mar 2019 04:50:27
0.6.26_2
|
tobik  |
net-mgmt/pnp: Fix PDF option
Options helpers are ineffective when set after bsd.port.options.mk.
Move them before that point.
Reported by: tobik (in D19553) |
16 Jan 2019 13:37:50
0.6.26_1
|
lme  |
net-mgmt/pnp:
- Add patches from Check_MK that workaround missing sizeof() function in PHP 7.x
- Bump PORTREVSION |
10 Sep 2018 13:15:48
0.6.26
|
mat  |
Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.
PR: 230864
Submitted by: mat
exp-runs by: antoine |
23 Aug 2017 10:46:51
0.6.26
|
lme  |
net-mgmt/pnp:
- Update to 0.6.26
- Remove upstreamed patches |
02 Aug 2017 16:09:43
0.6.25_6
|
lme  |
- Add descr variable to all my ports' rc scripts
- Bump PORTREVISION |
21 Mar 2017 13:49:10
0.6.25_5
|
lme  |
net-mgmt/pnp:
- Add patches for templates.dist to work with newer versions of rrdtool
- Switch from WANT_PHP_WEB to USES= php and php:web
- Bump PORTREVISION |
02 May 2016 16:08:56
0.6.25_4
|
zeising  |
Update databases/rrdtool to 1.6.0
Most notably, this version of rrdtools.so is thread safe, so the
rrdtools_th.so library is removed.
Bump portrevision for depending ports due to shlib version bump.
For full changelog: http://oss.oetiker.ch/rrdtool/pub/CHANGES
Reviewed by: kwm
Differential Revision: D6168 |
01 Apr 2016 14:16:20
0.6.25_3
|
mat  |
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight |
18 Aug 2015 19:00:37
0.6.25_3
|
lme  |
- Use the correct dependencies, now that the icinga port was made a meta port
- Bump PORTREVISION
Noticed by: antoine |
31 May 2015 19:58:41
0.6.25_2
|
lme  |
- Really fix plist permissions
- Bump PORTREVISION
PR: 200545
Submitted by: peter
MFH: 2015Q2 |
31 May 2015 19:48:34
0.6.25_1
|
lme  |
- Fix directory permissions
- Bump PORTREVISION
PR: 200545
Submitted by: peter
MFH: 2015Q2 |
14 May 2015 10:15:09
0.6.25
|
mat  |
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight |
24 Apr 2015 13:30:42
0.6.25
|
lme  |
- Update to 0.6.25
- Take maintainership. Reason: last maintainer's activity on the port was 5
years ago, never replied to my mails concerning the port.
- Update COMMENT
- Add a missing dependency on php5-session
- Use simpler version of OPTIONS
- Remove pkg-{de,}install
- Install webserver sample configs
- Update pkg-message |
03 Mar 2015 07:54:12
0.6.21_1
|
bapt  |
Cleanup plist from @unexec rmdir and @dirrm* |
18 May 2014 14:29:07
0.6.21
|
ohauer  |
- update to 0.6.21
- add stage support
- sort pkg-plist (closer match to new `make makeplist')
- add NAGIOSDIR to PLIST_SUB (support nagios/icinga)
PR: ports/189197
Submitted by: ohauer
Approved by: maintainer timeout (16 days) |
04 Mar 2014 21:06:03
0.6.18_1
|
gerald  |
Chase libdbi update.
Convert postfix-gps and refdb to new LIB_DEPENDS format.
Reported by: Jimmy Olgeni <olgeni@olgeni.com> |
29 Sep 2013 09:00:05
0.6.18
|
lme  |
Add a slave port to pnp: pnp-icinga to use PNP with Icinga.
Approved by: portmgr (bapt) |
20 Sep 2013 22:24:44
0.6.18
|
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
net-mgmt) |
14 Sep 2013 16:38:29
0.6.18
|
az  |
- convert to the new perl5 framework
- convert USE_GMAKE to Uses
Approved by: portmgr (bapt@, blanket) |
10 May 2013 11:28:32
0.6.18
|
bapt  |
Convert to new options framework
While here do some build with clang fixes
PR: ports/178445, ports/178446, ports/178444, ports/178443, ports/178425,
ports/178423
Submitted by: "Ilya A. Arkhipov" <rum1cro@yandex.ru> |
13 Aug 2012 19:56:31
0.6.18
|
madpilot  |
- Update to 0.6.18
- This version makes it work again with php 5.4
- Update WWW line in pkg-descr
- While I'm here fix some portlint warnings
PR: ports/170565
Submitted by: Guido Falsi <madpilot@FreeBSD.org>
Approved by: maintainer timeout
Approved by: tabthorpe (mentor) |
05 Aug 2012 23:19:40
0.6.10_2
|
dougb  |
Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file
No PORTREVISION bump necessary because this is a no-op |
07 May 2012 18:52:09
0.6.10_2
|
sylvio  |
- Chase rrdtool shlib version bump. |
14 Jan 2012 08:57:23
0.6.10_1
|
dougb  |
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other. |
30 Dec 2010 17:25:47
0.6.10_1
|
rea  |
net-mgmt/pnp: fix issues brought by PNP developers
* php5-sockets is needed and php5-filter -- not needed;
* local modifications to config.php should go into config_local.php
and config.php must be replaced at every installation.
Feature safe: yes
Approved by: garga (mentor) |
28 Dec 2010 19:01:10
0.6.10
|
rea  |
net-mgmt/pnp: upgrade to 0.6.10
Changelog (there were no 0.6.8 and 0.6.9):
- Feature: Add RRDTool Option ?only-graph if graph height is below
32px to create thumbnails
- Feature: RRDTool Option ?width and ?height is now allowed in
templates
- Feature: RRDTool DS Type for UOM of ?c? changed from COUNTER
to DERIVE
- Feature: Pass query string from special controller to image
controller ( Matthew Garrett )
- Feature: Authorisation against mk_livestatus API added
- Feature: Sample nginx webserver config added
(by evax@users.sourceforge.net)
- Feature: Kohana backport to support PHP 5.1.6 (Kudos to (Only the first 15 lines of the commit message are shown above ) |
28 Dec 2010 18:58:11
0.6.10
|
rea  |
net-mgmt/pnp: upgrade to 0.6.10
Changelog (there were no 0.6.8 and 0.6.9):
- Feature: Add RRDTool Option ?only-graph if graph height is below
32px to create thumbnails
- Feature: RRDTool Option ?width and ?height is now allowed in
templates
- Feature: RRDTool DS Type for UOM of ?c? changed from COUNTER
to DERIVE
- Feature: Pass query string from special controller to image
controller ( Matthew Garrett )
- Feature: Authorisation against mk_livestatus API added
- Feature: Sample nginx webserver config added
(by evax@users.sourceforge.net)
- Feature: Kohana backport to support PHP 5.1.6 (Kudos to (Only the first 15 lines of the commit message are shown above ) |
10 Dec 2010 19:21:01
0.6.7
|
pgollucci  |
- Mark MAKE_JOBS_UNSAFE=yes
Reported by: RideCharge Inc. / TaxiMagic TB
Confirmed by: P6 TB |
23 Nov 2010 22:10:20
0.6.7
|
rea  |
net-mgmt/pnp: update to 0.6.7
- update sources to 0.6.7 -- the tip of 0.6-series;
- reworked patches and grouped them by-commit rather than by-file;
- excluded removal of .orig files -- all files aren't installed anymore;
- changed maintainer (my) e-mail.
Approved by: garga (mentor)
PR: ports/151118 |
30 Sep 2010 18:29:12
0.4.14_2
|
glarkin  |
- Fixed PNG file breakage caused by overzealous dos2unix that I
introduced in a previous commit
- Fixed portlint warning about LICENSE
- Bumped PORTREVISION
PR: ports/151108
Submitted by: Youssef Ghorbal <djo at pasteur dot fr>
Approved by: Eygene Ryabinkin <rea-fbsd at codelabs dot ru> (maintainer,
implicit) |
23 Jul 2010 20:59:08
0.4.14_1
|
glarkin  |
- Patch code emitting warnings after PHP 5.3.x upgrade
- Regenerated patch files with "make makepatch"
- Added GPLv2 license
- Bumped PORTREVISION
PR: ports/147199
Submitted by: olli hauer <ohauer at gmx dot de>
Approved by: rea-fbsd@codelabs.ru (maintainer - timeout; 55 days) |
27 Mar 2010 00:15:24
0.4.14
|
dougb  |
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr# |
22 Aug 2009 00:32:25
0.4.14 
|
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with N |
15 Jul 2009 16:56:10
0.4.14
|
dougb  |
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops. |
07 Jul 2009 20:25:19
0.4.14
|
miwi  |
- Update to 0.4.14
PR: 136362
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (maintainer) |
25 Dec 2008 00:32:12
0.4.12
|
miwi  |
- Update to 0.4.12
PR: 129912
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (maintainer) |
04 Nov 2008 19:14:45
0.4.10_3
|
lth  |
- Fix PHP module dependency
- Bump PORTREVISION
PR: ports/127863
Submitted by: me
Approved by: maintainer |
18 Aug 2008 15:42:50
0.4.10_2
|
pav  |
- Correct dependencies, install manpage, fix directory permissions
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (maintainer) |
18 Aug 2008 00:10:38
0.4.10_1
|
edwin  |
Pull in rrdtool as a build-dependency.
Noticed by: pavbot. |
17 Aug 2008 06:49:35
0.4.10
|
edwin  |
New port: net-mgmt/pnp, modern graphing tool for Nagios
After evaluation of net-mgmt/nagiosgraph I decided to search for
something more useful -- Nagios Graph was too hackish and unpretty for
my taste. Digging through Nagios sites I had found PNP and was pleased
by its simplicity and power.
WWW: http://www.pnp4nagios.org/pnp/start
PR: ports/126576
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> |