[Pkg-nagios-changes] [pkg-nagios] r1796 - in nagvis/trunk/debian: . patches
Wolfgang Barth
wob-guest at alioth.debian.org
Sat Nov 28 16:36:47 UTC 2009
Author: wob-guest
Date: 2009-11-28 16:36:46 +0000 (Sat, 28 Nov 2009)
New Revision: 1796
Modified:
nagvis/trunk/debian/apache.conf
nagvis/trunk/debian/patches/10_pathnames.dpatch
nagvis/trunk/debian/postrm
Log:
bugfix postrm; backend=merlin from nagvis.ini.php removed (see README.backend.merlin for configuration)
Modified: nagvis/trunk/debian/apache.conf
===================================================================
--- nagvis/trunk/debian/apache.conf 2009-11-28 10:48:44 UTC (rev 1795)
+++ nagvis/trunk/debian/apache.conf 2009-11-28 16:36:46 UTC (rev 1796)
@@ -1,8 +1,8 @@
# -- new style
Alias /nagvis /usr/share/nagvis/htdocs
-# -- backward compatibility
-Alias /nagios3/nagvis /usr/share/nagvis/htdocs
+# -- old style
+# Alias /nagios3/nagvis /usr/share/nagvis/htdocs
# -- use basic authentification from nagios3 package
# please adapt to your needs
Modified: nagvis/trunk/debian/patches/10_pathnames.dpatch
===================================================================
--- nagvis/trunk/debian/patches/10_pathnames.dpatch 2009-11-28 10:48:44 UTC (rev 1795)
+++ nagvis/trunk/debian/patches/10_pathnames.dpatch 2009-11-28 16:36:46 UTC (rev 1796)
@@ -7,7 +7,7 @@
@DPATCH@
diff -urNad trunk~/etc/nagvis.ini.php-sample trunk/etc/nagvis.ini.php-sample
--- trunk~/etc/nagvis.ini.php-sample 2009-11-27 16:41:36.000000000 +0100
-+++ trunk/etc/nagvis.ini.php-sample 2009-11-27 18:35:57.000000000 +0100
++++ trunk/etc/nagvis.ini.php-sample 2009-11-28 17:20:58.000000000 +0100
@@ -24,17 +24,20 @@
; Path definitions
@@ -66,19 +66,32 @@
; Path to the ndo2fs var directory where the VOLATILE and PERSISTENT directories are
;path="/usr/local/ndo2fs/var"
; Name of the instance to get the data from
-@@ -199,9 +202,9 @@
+@@ -198,37 +201,18 @@
+ ; path to the cgi-bin of this backend
;htmlcgi="/nagios/cgi-bin"
- ; in this example the ID of the Backend is "merlinmy_1" you can define another ID.
+-; in this example the ID of the Backend is "merlinmy_1" you can define another ID.
-[backend_merlinmy_1]
-+;[backend_merlinmy_1]
- ; type of backend - MUST be set
+-; type of backend - MUST be set
-backendtype="merlinmy"
-+;backendtype="merlinmy"
- ; hostname for Merlin db
- ;dbhost="localhost"
- ; portname for Merlin db
-@@ -223,12 +226,12 @@
+-; hostname for Merlin db
+-;dbhost="localhost"
+-; portname for Merlin db
+-;dbport=3306
+-; database name for Merlin db
+-;dbname="merlin"
+-; username for Merlin db
+-;dbuser="merlin"
+-; password for Merlin db
+-;dbpass="merlin"
+-; maximum delay of the Merlin Database in seconds
+-;maxtimewithoutupdate=180
+-; path to the cgi-bin of this backend
+-;htmlcgi="/nagios/cgi-bin"
+-
+ ; ----------------------------
+ ; Rotation pool definitions
+ ; ----------------------------
; in this example the browser switches between the maps demo and demo2 every 15
; seconds, the rotation is enabled by url: index.php?rotation=demo
Modified: nagvis/trunk/debian/postrm
===================================================================
--- nagvis/trunk/debian/postrm 2009-11-28 10:48:44 UTC (rev 1795)
+++ nagvis/trunk/debian/postrm 2009-11-28 16:36:46 UTC (rev 1796)
@@ -1,5 +1,5 @@
#!/bin/sh
-# postrm script for #PACKAGE#
+# postrm script for nagvis
#
# see: dh_installdeb(1)
@@ -9,7 +9,7 @@
. /usr/share/debconf/confmodule
fi
-if [ -f /usr/share/dbconfig-common/dpkg/postrm.@@DB@@ ]; then
+if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
. /usr/share/dbconfig-common/dpkg/frontend.postrm.mysql
dbc_go nagvis $@
fi
@@ -48,8 +48,7 @@
# rm -f /etc/apache2/conf.d/nagvis.conf
#fi
- rm -f /var/cache/nagvis/*
- rmdir /var/cache/nagvis
+ rm -rf /var/cache/nagvis
fi
# dh_installdeb will replace this with shell code automatically
More information about the Pkg-nagios-changes
mailing list