Port details |
- pnp-icinga2 Icinga2 performance data collector and grapher
- 0.6.26_4 net-mgmt =2 0.6.26_2Version of this port present on the latest quarterly branch.
- There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
- Port Added: 2016-08-05 16:20:23
- Last Update: 2024-09-13 14:33:24
- Commit Hash: df5b495
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: GPLv2
- WWW:
- https://www.pnp4nagios.org/
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- pnp-icinga2>0:net-mgmt/pnp-icinga2
- To install the port:
- cd /usr/ports/net-mgmt/pnp-icinga2/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/pnp-icinga2
- pkg install pnp-icinga2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: pnp-icinga2
- 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):
- Master port: net-mgmt/pnp
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- rrdtool : databases/rrdtool
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- rrdtool : databases/rrdtool
- index.php : net-mgmt/icingaweb2
- php.h : lang/php82
- perl5>=5.36<5.37 : lang/perl5.36
- gd.so : graphics/php82-gd
- iconv.so : converters/php82-iconv
- session.so : www/php82-session
- simplexml.so : textproc/php82-simplexml
- sockets.so : net/php82-sockets
- xml.so : textproc/php82-xml
- zlib.so : archivers/php82-zlib
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for pnp-icinga2-0.6.26_4:
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-icinga2
- USES:
- dos2unix perl5 php php:web
- pkg-message:
- For install:
- You just installed/upgraded PNP graphing tool for icinga.
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 icinga 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 /icingaweb2/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 /icingaweb2/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 /icingaweb2/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 /icingaweb2/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/icinga2/pnp/rrd
so you should tune path permissions accordingly. Probably one could
start from adding Apache user to the group 'icinga'.
Remember to restart NPCD service after upgrade if you're using
'bulk' mode with NPCD.
- Master Sites:
|
Number of commits found: 9
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
This is a slave port. You may also want to view the commits to the master port: net-mgmt/pnp | Commit | Credits | Log message |
0.6.26_4 13 Sep 2024 14:33:24 |
Jochen Neumeister (joneum) |
net-mgmt/pnp-icinga2: drop maintainership
net-mgmt/pnp-icinga2: drop maintainership |
0.6.26_2 30 Jul 2021 17:58:13 |
Jochen Neumeister (joneum) |
net-mgmt/icinga*: - Take Maintainership
Sponsored by: Netzkommune GmbH |
0.6.26_2 28 Jul 2021 20:34:51 |
Lars Engels (lme) |
*: Drop maintainership on most of my ports.
Unfortunately I cannot give them the love they deserve at the moment. |
0.6.26_2 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.6.26_2 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.6.26_2 26 Jul 2019 20:46:57 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
0.6.26_1 16 Jan 2019 13:37:50 |
lme |
net-mgmt/pnp:
- Add patches from Check_MK that workaround missing sizeof() function in PHP 7.x
- Bump PORTREVSION |
0.6.26_1 12 Dec 2018 01:35:36 |
gerald |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
0.6.25_4 05 Aug 2016 16:20:15 |
lme |
Add a slave port of net-mgmt/pnp for use with net-mgmt/icinga2 and
net-mgmt/icingaweb2
Suggested by: mr |
Number of commits found: 9
|