Bump
This commit is contained in:
parent
2594665299
commit
8327b61924
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
pnp4nagios (0.6.25-1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Bump to new upstream verison
|
||||||
|
|
||||||
|
-- Mario Fetka <mario.fetka@gmail.com> Sat, 20 May 2017 17:29:18 +0200
|
||||||
|
|
||||||
pnp4nagios (0.6.24+dfsg1-4~bpo80+1) jessie-backports; urgency=medium
|
pnp4nagios (0.6.24+dfsg1-4~bpo80+1) jessie-backports; urgency=medium
|
||||||
|
|
||||||
* Backport to jessie-backports.
|
* Backport to jessie-backports.
|
||||||
|
14
debian/control
vendored
14
debian/control
vendored
@ -44,7 +44,7 @@ Depends:
|
|||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
librrds-perl,
|
librrds-perl,
|
||||||
adduser
|
adduser
|
||||||
Recommends: pnp4nagios-web, icinga | nagios3
|
Recommends: pnp4nagios-web, icinga | nagios4
|
||||||
Suggests: rrdtool, rrdcached, perl, libgearman-client-perl, libcrypt-rijndael-perl
|
Suggests: rrdtool, rrdcached, perl, libgearman-client-perl, libcrypt-rijndael-perl
|
||||||
Description: monitoring addon to create graphs from performance data - binaries
|
Description: monitoring addon to create graphs from performance data - binaries
|
||||||
PNP is a graphing tool for Nagios, Icinga or similar frameworks that
|
PNP is a graphing tool for Nagios, Icinga or similar frameworks that
|
||||||
@ -62,7 +62,7 @@ Architecture: all
|
|||||||
Depends: pnp4nagios-web (=${source:Version}), ${misc:Depends}
|
Depends: pnp4nagios-web (=${source:Version}), ${misc:Depends}
|
||||||
Recommends: apache2 | httpd
|
Recommends: apache2 | httpd
|
||||||
Suggests: icinga, icinga-cgi
|
Suggests: icinga, icinga-cgi
|
||||||
Conflicts: pnp4nagios-web-config-nagios3
|
Conflicts: pnp4nagios-web-config-nagios4
|
||||||
Replaces: pnp4nagios-web (<< 0.6.21)
|
Replaces: pnp4nagios-web (<< 0.6.21)
|
||||||
Description: monitoring addon to create graphs from performance data - Icinga Classic config
|
Description: monitoring addon to create graphs from performance data - Icinga Classic config
|
||||||
PNP is a graphing tool for Nagios, Icinga or similar frameworks that
|
PNP is a graphing tool for Nagios, Icinga or similar frameworks that
|
||||||
@ -75,14 +75,14 @@ Description: monitoring addon to create graphs from performance data - Icinga Cl
|
|||||||
.
|
.
|
||||||
This package contains the icinga-cgi configuration for pnp4nagios-web.
|
This package contains the icinga-cgi configuration for pnp4nagios-web.
|
||||||
|
|
||||||
Package: pnp4nagios-web-config-nagios3
|
Package: pnp4nagios-web-config-nagios4
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: pnp4nagios-web (=${source:Version}), ${misc:Depends}
|
Depends: pnp4nagios-web (=${source:Version}), ${misc:Depends}
|
||||||
Recommends: apache2 | httpd
|
Recommends: apache2 | httpd
|
||||||
Suggests: nagios3, nagios3-cgi
|
Suggests: nagios4, nagios4-cgi
|
||||||
Conflicts: pnp4nagios-web-config-icinga
|
Conflicts: pnp4nagios-web-config-icinga
|
||||||
Replaces: pnp4nagios-web (<< 0.6.21)
|
Replaces: pnp4nagios-web (<< 0.6.21)
|
||||||
Description: monitoring addon to create graphs from performance data - Nagios3 CGI config
|
Description: monitoring addon to create graphs from performance data - nagios4 CGI config
|
||||||
PNP is a graphing tool for Nagios, Icinga or similar frameworks that
|
PNP is a graphing tool for Nagios, Icinga or similar frameworks that
|
||||||
analyzes performance data provided by plugins and stores them
|
analyzes performance data provided by plugins and stores them
|
||||||
automatically into Round Robin Databases (RRD).
|
automatically into Round Robin Databases (RRD).
|
||||||
@ -91,7 +91,7 @@ Description: monitoring addon to create graphs from performance data - Nagios3 C
|
|||||||
.
|
.
|
||||||
PNP's goal is to be easily configurable and maintainable.
|
PNP's goal is to be easily configurable and maintainable.
|
||||||
.
|
.
|
||||||
This package contains the nagios3-cgi configuration for pnp4nagios-web.
|
This package contains the nagios4-cgi configuration for pnp4nagios-web.
|
||||||
|
|
||||||
Package: pnp4nagios-web
|
Package: pnp4nagios-web
|
||||||
Architecture: all
|
Architecture: all
|
||||||
@ -106,7 +106,7 @@ Depends:
|
|||||||
libjs-jquery-mobile,
|
libjs-jquery-mobile,
|
||||||
rrdtool,
|
rrdtool,
|
||||||
adduser
|
adduser
|
||||||
Recommends: pnp4nagios-bin, pnp4nagios-web-config-icinga | pnp4nagios-web-config-nagios3
|
Recommends: pnp4nagios-bin, pnp4nagios-web-config-icinga | pnp4nagios-web-config-nagios4
|
||||||
Suggests: rrdcached
|
Suggests: rrdcached
|
||||||
Description: monitoring addon to create graphs from performance data - web interface
|
Description: monitoring addon to create graphs from performance data - web interface
|
||||||
PNP is a graphing tool for Nagios, Icinga or similar frameworks that
|
PNP is a graphing tool for Nagios, Icinga or similar frameworks that
|
||||||
|
2
debian/nagios3/config.nagios3.php
vendored
2
debian/nagios3/config.nagios3.php
vendored
@ -1,2 +0,0 @@
|
|||||||
<?php
|
|
||||||
$conf['nagios_base'] = "/cgi-bin/nagios3";
|
|
2
debian/nagios4/config.nagios4.php
vendored
Normal file
2
debian/nagios4/config.nagios4.php
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?php
|
||||||
|
$conf['nagios_base'] = "/cgi-bin/nagios4";
|
@ -5,7 +5,7 @@ Alias /pnp4nagios "/usr/share/pnp4nagios/html"
|
|||||||
|
|
||||||
AuthName "Nagios Access"
|
AuthName "Nagios Access"
|
||||||
AuthType Basic
|
AuthType Basic
|
||||||
AuthUserFile /etc/nagios3/htpasswd.users
|
AuthUserFile /etc/nagios4/htpasswd.users
|
||||||
Require valid-user
|
Require valid-user
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
# Turn on URL rewriting
|
# Turn on URL rewriting
|
2
debian/patches/apache-fix-path-to-userfile
vendored
2
debian/patches/apache-fix-path-to-userfile
vendored
@ -9,7 +9,7 @@ Forwarded: not-needed
|
|||||||
AuthName "Nagios Access"
|
AuthName "Nagios Access"
|
||||||
AuthType Basic
|
AuthType Basic
|
||||||
- AuthUserFile /usr/local/nagios/etc/htpasswd.users
|
- AuthUserFile /usr/local/nagios/etc/htpasswd.users
|
||||||
+ AuthUserFile /etc/nagios3/htpasswd.users
|
+ AuthUserFile /etc/nagios4/htpasswd.users
|
||||||
Require valid-user
|
Require valid-user
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
# Turn on URL rewriting
|
# Turn on URL rewriting
|
||||||
|
16
debian/patches/config_instances
vendored
16
debian/patches/config_instances
vendored
@ -1,28 +1,28 @@
|
|||||||
Description: Include a instance based config
|
Description: Include a instance based config
|
||||||
Author: Markus Frosch <lazyfrosch@debian.org>
|
Author: Markus Frosch <lazyfrosch@debian.org>
|
||||||
Last-Update: 2014-09-01
|
Last-Update: 2017-05-20
|
||||||
---
|
---
|
||||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||||
--- a/sample-config/pnp/config.php.in
|
--- a/sample-config/pnp/config.php.in 2015-01-03 14:09:06.000000000 +0100
|
||||||
+++ b/sample-config/pnp/config.php.in
|
+++ b/sample-config/pnp/config.php.in 2017-05-20 17:21:56.852000000 +0200
|
||||||
@@ -89,7 +89,8 @@
|
@@ -89,7 +89,8 @@
|
||||||
#
|
#
|
||||||
# Link back to Nagios or Thruk ( www.thruk.org )
|
# Link back to Nagios or Thruk ( www.thruk.org )
|
||||||
#
|
#
|
||||||
-$conf['nagios_base'] = "/cgi-bin/nagios3";
|
-$conf['nagios_base'] = "/nagios/cgi-bin";
|
||||||
+## Debian: please see /etc/pnp4nagios/config.<NAME>.php
|
+## Debian: please see /etc/pnp4nagios/config.<NAME>.php
|
||||||
+##$conf['nagios_base'] = "/cgi-bin/nagios3";
|
+##$conf['nagios_base'] = "/cgi-bin/nagios4";
|
||||||
|
|
||||||
#
|
#
|
||||||
# Link back to check_mk´s multisite ( http://mathias-kettner.de/checkmk_multisite.html )
|
# Link back to check_mk´s multisite ( http://mathias-kettner.de/checkmk_multisite.html )
|
||||||
@@ -278,4 +279,10 @@
|
@@ -272,4 +273,10 @@
|
||||||
'#F6E8C3','#C7EAE5','#DFC27D','#80CDC1','#BF812D','#35978F','#8C510A','#01665E');
|
'#F6E8C3','#C7EAE5','#DFC27D','#80CDC1','#BF812D','#35978F','#8C510A','#01665E');
|
||||||
$scheme['mixed3'] = array ('#67001F','#80CDC1','#B2182B','#35978F','#D6604D','#01665E','#F4A582','#003C30',
|
$scheme['mixed3'] = array ('#67001F','#80CDC1','#B2182B','#35978F','#D6604D','#01665E','#F4A582','#003C30',
|
||||||
'#FDDBC7','#92C5DE','#D1E5F0','#2166AC','#4393C3','#8C510A','#053061','#BF812D');
|
'#FDDBC7','#92C5DE','#D1E5F0','#2166AC','#4393C3','#8C510A','#053061','#BF812D');
|
||||||
+
|
+
|
||||||
+if (file_exists('/etc/pnp4nagios/config.icinga.php')) {
|
+if (file_exists('/etc/pnp4nagios/config.icinga.php')) {
|
||||||
+ include '/etc/pnp4nagios/config.icinga.php';
|
+ include '/etc/pnp4nagios/config.icinga.php';
|
||||||
+} else if (file_exists('/etc/pnp4nagios/config.nagios3.php')) {
|
+} else if (file_exists('/etc/pnp4nagios/config.nagios4.php')) {
|
||||||
+ include '/etc/pnp4nagios/config.nagios3.php';
|
+ include '/etc/pnp4nagios/config.nagios4.php';
|
||||||
+}
|
+}
|
||||||
?>
|
?>
|
||||||
|
2
debian/patches/fix-nagios-url
vendored
2
debian/patches/fix-nagios-url
vendored
@ -9,7 +9,7 @@ Forwarded: not-needed
|
|||||||
# Link back to Nagios or Thruk ( www.thruk.org )
|
# Link back to Nagios or Thruk ( www.thruk.org )
|
||||||
#
|
#
|
||||||
-$conf['nagios_base'] = "/nagios/cgi-bin";
|
-$conf['nagios_base'] = "/nagios/cgi-bin";
|
||||||
+$conf['nagios_base'] = "/cgi-bin/nagios3";
|
+$conf['nagios_base'] = "/cgi-bin/nagios4";
|
||||||
|
|
||||||
#
|
#
|
||||||
# Link back to check_mk´s multisite ( http://mathias-kettner.de/checkmk_multisite.html )
|
# Link back to check_mk´s multisite ( http://mathias-kettner.de/checkmk_multisite.html )
|
||||||
|
6
debian/patches/fix-path-fpdi
vendored
6
debian/patches/fix-path-fpdi
vendored
@ -2,9 +2,9 @@ Description: FPDI is shipped in its own subdirectory -- adopt path in pdf.php.
|
|||||||
Author: Sven Velt <sven@velt.de>
|
Author: Sven Velt <sven@velt.de>
|
||||||
Forwarded: not-needed
|
Forwarded: not-needed
|
||||||
|
|
||||||
--- a/share/pnp/application/controllers/pdf.php
|
--- a/share/pnp/application/controllers/pdf.php 2015-01-03 14:09:06.000000000 +0100
|
||||||
+++ b/share/pnp/application/controllers/pdf.php
|
+++ b/share/pnp/application/controllers/pdf.php 2017-05-20 15:37:12.472000000 +0200
|
||||||
@@ -268,7 +268,7 @@ class Pdf_Controller extends System_Cont
|
@@ -259,7 +259,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
require Kohana::find_file('vendor/fpdf', 'fpdf');
|
require Kohana::find_file('vendor/fpdf', 'fpdf');
|
||||||
|
6
debian/pnp4nagios-bin.postinst
vendored
6
debian/pnp4nagios-bin.postinst
vendored
@ -47,9 +47,9 @@ case "$1" in
|
|||||||
|
|
||||||
setperm root nagios 640 /etc/pnp4nagios/process_perfdata.cfg
|
setperm root nagios 640 /etc/pnp4nagios/process_perfdata.cfg
|
||||||
|
|
||||||
if [ -d /etc/nagios3/conf.d/ ]; then
|
if [ -d /etc/nagios4/conf.d/ ]; then
|
||||||
if [ ! -e /etc/nagios3/conf.d/pnp4nagios.cfg ]; then
|
if [ ! -e /etc/nagios4/conf.d/pnp4nagios.cfg ]; then
|
||||||
ln -s /etc/pnp4nagios/nagios.cfg /etc/nagios3/conf.d/pnp4nagios.cfg
|
ln -s /etc/pnp4nagios/nagios.cfg /etc/nagios4/conf.d/pnp4nagios.cfg
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -d /etc/icinga/objects/ ]; then
|
if [ -d /etc/icinga/objects/ ]; then
|
||||||
|
8
debian/pnp4nagios-bin.postrm
vendored
8
debian/pnp4nagios-bin.postrm
vendored
@ -21,11 +21,11 @@ set -e
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
purge|remove)
|
purge|remove)
|
||||||
if [ -d /etc/nagios3/conf.d/ ]; then
|
if [ -d /etc/nagios4/conf.d/ ]; then
|
||||||
if [ -L /etc/nagios3/conf.d/pnp4nagios.cfg ]; then
|
if [ -L /etc/nagios4/conf.d/pnp4nagios.cfg ]; then
|
||||||
ls -l /etc/nagios3/conf.d/pnp4nagios.cfg | grep -q /etc/pnp4nagios/nagios.cfg
|
ls -l /etc/nagios4/conf.d/pnp4nagios.cfg | grep -q /etc/pnp4nagios/nagios.cfg
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
rm -f /etc/nagios3/conf.d/pnp4nagios.cfg
|
rm -f /etc/nagios4/conf.d/pnp4nagios.cfg
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
2
debian/pnp4nagios-web-config-nagios3.install
vendored
2
debian/pnp4nagios-web-config-nagios3.install
vendored
@ -1,2 +0,0 @@
|
|||||||
debian/nagios3/config.nagios3.php etc/pnp4nagios
|
|
||||||
debian/nagios3/pnp4nagios.conf etc/apache2/conf-available
|
|
2
debian/pnp4nagios-web-config-nagios4.install
vendored
Normal file
2
debian/pnp4nagios-web-config-nagios4.install
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
debian/nagios4/config.nagios4.php etc/pnp4nagios
|
||||||
|
debian/nagios4/pnp4nagios.conf etc/apache2/conf-available
|
@ -4,4 +4,4 @@ apache2-reverse-dependency-calls-invoke-rc.d postrm
|
|||||||
apache2-reverse-dependency-calls-wrapper-script postinst a2enmod
|
apache2-reverse-dependency-calls-wrapper-script postinst a2enmod
|
||||||
apache2-reverse-dependency-calls-invoke-rc.d postinst
|
apache2-reverse-dependency-calls-invoke-rc.d postinst
|
||||||
# we actually want that
|
# we actually want that
|
||||||
non-standard-apache2-configuration-name pnp4nagios.conf != pnp4nagios-web-config-nagios3.conf
|
non-standard-apache2-configuration-name pnp4nagios.conf != pnp4nagios-web-config-nagios4.conf
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# postinst script for pnp4nagios-web-config-nagios3
|
# postinst script for pnp4nagios-web-config-nagios4
|
||||||
#
|
#
|
||||||
# see: dh_installdeb(1)
|
# see: dh_installdeb(1)
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# postrm script for pnp4nagios-web-config-nagios3
|
# postrm script for pnp4nagios-web-config-nagios4
|
||||||
#
|
#
|
||||||
# see: dh_installdeb(1)
|
# see: dh_installdeb(1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user