Package Details: pnp4nagios 0.6.25-1

Git Clone URL: (read-only)
Package Base: pnp4nagios
Description: Nagios addon to create graphs from performance data
Upstream URL:
Licenses: GPL
Submitter: paulez
Maintainer: None
Last Packager: jsteel
Votes: 5
Popularity: 0.000000
First Submitted: 2010-05-06 08:47
Last Updated: 2015-07-29 15:03

Latest Comments

jsteel commented on 2014-10-27 19:23

Adopted, updated and service file added. I've tidied up the PKGBUILD, and that might mean the default locations for some files have changed; in my opinion more accurate, but feedback welcome.

zork commented on 2013-11-25 18:26

service file for npcd:

Description=PNP4Nagios NPCD service

ExecStart=/usr/bin/npcd -d -f /etc/pnp/npcd.cfg


Anonymous comment on 2013-04-10 13:34

Hi kidoz,
here is my suggestion for PKGBUILD to update the pkg to the current version:

# Contributor: Paul Ezvan <>
# Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>

pkgdesc="Addon to Nagios which analyzes performance data provided by plugins and stores them automatically into RRD-databases"
arch=('i686' 'x86_64')
depends=('nagios' 'perl' 'rrdtool' 'php' 'php-gd' 'ttf-liberation' 'libtool')
backup=('etc/httpd/conf/extra/pnp4nagios.conf' 'etc/pnp/config.php')


build() {
cd "$srcdir/$pkgname-$pkgver"

getent group $_nagios_group || _nagios_group=30
getent passwd $_nagios_user || _nagios_user=30

./configure \
--with-nagios-user=$_nagios_user \
--with-nagios-group=$_nagios_group \
--prefix="/$_instdir" \
--bindir="/$_bindir" \
--localstatedir="/$_vardir" \
--sysconfdir="/$_confdir" \
--with-httpd-conf="/$_httpdconfdir" \
--with-perfdata-dir=/$_perfdatadir \

make all

package() {
cd "$srcdir/$pkgname-$pkgver"

make \
prefix=$pkgdir/$_instdir \
BINDIR=$pkgdir/$_bindir \
LOGDIR=$pkgdir/$_vardir \
CFGDIR=$pkgdir/$_confdir \
SYSCONFDIR=$pkgdir/$_confdir \
HTTPD_CONF=$pkgdir/$_httpdconfdir \
CHECKRESULTDIR=$pkgdir/$_checkresultdir \
PERFDATADIR=$pkgdir/$_perfdatadir \
PERFDATA_DIR=$pkgdir/$_perfdatadir \
LIBEXECDIR=$pkgdir/$_libexecdir \
install install-config

install -D -m644 ${srcdir}/$pkgname-$pkgver/sample-config/httpd.conf ${pkgdir}/etc/httpd/conf/extra/pnp4nagios.conf