Package Details: pnp4nagios 0.6.26-6

Git Clone URL: https://aur.archlinux.org/pnp4nagios.git (read-only, click to copy)
Package Base: pnp4nagios
Description: Nagios addon to create graphs from performance data
Upstream URL: http://pnp4nagios.org
Licenses: GPL
Submitter: paulez
Maintainer: webdawg
Last Packager: webdawg
Votes: 5
Popularity: 0.000000
First Submitted: 2010-05-06 08:47 (UTC)
Last Updated: 2020-07-02 17:02 (UTC)

Latest Comments

1 2 Next › Last »

mosh5382 commented on 2023-09-08 22:51 (UTC)

This is being worked on again and apparently has PHP 8 support in the master branch. Perhaps this AUR package should follow this repository?

https://github.com/pnp4nagios/pnp4nagios

webdawg commented on 2022-09-06 13:51 (UTC)

no php8 support

unless someone picks this up (upstream) it looks like we are done here:

Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /usr/share/pnp4nagios/share/install.php:108 Stack trace: #0 /usr/share/pnp4nagios/share/index.php(140): include() #1 {main} thrown in /usr/share/pnp4nagios/share/install.php on line 108

https://github.com/lingej/pnp4nagios

README This project is no longer active.

Thank you for the many years we have worked together on this project.

Feel free to take over the project.

This repository is no longer maintained!

webdawg commented on 2020-07-02 17:08 (UTC)

this was helpful in configuring bulk mode:

*https://www.centlinux.com/2016/09/install-pnp4nagios-nagios-core-centos-7.html

not copy and paste, but it helped me.

webdawg commented on 2020-07-02 17:05 (UTC)

task complete. .install should output the following notes:

A git repo exists now, and someone should make a git package.
The patches that I have made, one of them is from there

See:
*https://betanzos.org/gmo/2020/01/13/pnp4nagios-function-get_magic_quotes_runtime-is-deprecated/
*https://github.com/lingej/pnp4nagios/issues/148

pnp4nagios is pretty rough to configure if you do not get what it is.
It has a daemon that processes and converts nagios data, and some php
to view it.

I could not get synchronous mode working.  I dont know why.  Bulk mode
is the way to go:  http://docs.pnp4nagios.org/pnp-0.6/config

You make sure to check the user and group in: /etc/pnp4nagios/npcd.cfg

also systemctl start npcd
also systemctl restart httpd
but only after you enable modules in php.ini

remember if you are using php-fpm you have to restart that too, I
forgot I was, and it took a while to figure that out

you also need to

Include conf/extra/pnp4nagios.conf
*I have patched it with the location of password file in aur nagios

This was a great help too figuring things out:
*https://support.nagios.com/kb/article/nagios-core-performance-graphs-using-pnp4nagios-801.html#Arch_Linux

It helps you understand what php modules have to be installed.

Once everything is said, and done visit server/pnp4nagios/ ,and see how
things look...then you just have to rename install.php to install.php.old

Good luck!

webdawg commented on 2020-07-02 04:45 (UTC)

I adopted this for just a bit.

webdawg commented on 2020-07-02 04:44 (UTC)

it took me about 3-4 hours to patch this package, and learn how to config. I may throw some docs here, and this will not work without the following patches:

https://github.com/lingej/pnp4nagios/issues/148

https://betanzos.org/gmo/2020/01/13/pnp4nagios-function-get_magic_quotes_runtime-is-deprecated/

We may want to move this package over to git, as at least one of those patches was merged a very long time ago.

webdawg commented on 2020-07-02 03:44 (UTC)

just a friendly reminder to restart php-fpm if you are using it for php.ini/php/etc spent about an hour forgetting all about php-fpm

webdawg commented on 2020-07-02 03:10 (UTC)

this is going to need some patches too, it does not match the nagios packaged defaults in the aur httpd pnp4nagios.conf AuthUserFile /etc/nagios/htpasswd.users

webdawg commented on 2020-07-02 03:05 (UTC) (edited on 2020-07-02 03:07 (UTC) by webdawg)

is it common for a package to have to

echo 'Include conf/extra/pnp4nagios.conf' >> /etc/httpd/conf/httpd.conf

https://support.nagios.com/kb/article/nagios-core-performance-graphs-using-pnp4nagios-801.html#Arch_Linux

webdawg commented on 2020-07-02 02:49 (UTC)

their is a github too ...

may want to make a git package: https://github.com/lingej/pnp4nagios

0.6.26 IS OUT

git clone https://aur.archlinux.org/pnp4nagios.git

edit PKGBUILD

pkgver=0.6.26

change first md5sum to 7a71b47f70e4e99d52c3b1df334e0342

makepkg -si