[Pkg-nagios-changes] [pkg-interfacetable-v3t] 03/14: Changed plugin filename to remove extension
Markus Frosch
lazyfrosch-guest at moszumanska.debian.org
Sun Dec 29 17:09:33 UTC 2013
This is an automated email from the git hooks/post-receive script.
lazyfrosch-guest pushed a commit to branch debmon-wheezy
in repository pkg-interfacetable-v3t.
commit f10f36f9268dc86529a2744702b1e8f0ddb0704c
Author: Markus Frosch <markus at lazyfrosch.de>
Date: Fri Sep 6 21:43:35 2013 +0200
Changed plugin filename to remove extension
---
debian/checkinterfacetable.cfg | 2 +-
debian/nagios-plugin-interfacetable-v3t.dirs | 2 ++
debian/nagios-plugin-interfacetable-v3t.links | 2 --
debian/rules | 7 +++++--
4 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/checkinterfacetable.cfg b/debian/checkinterfacetable.cfg
index bf98534..2f5baeb 100644
--- a/debian/checkinterfacetable.cfg
+++ b/debian/checkinterfacetable.cfg
@@ -2,6 +2,6 @@
define command{
command_name check_interfacetable_v3t
- command_line /usr/lib/nagios/plugins/check_interface_table_v3t.pl --config /etc/nagios-plugins/interfacetable-v3t.cfg -H $HOSTADDRESS$ $ARG1$
+ command_line /usr/lib/nagios/plugins/check_interface_table_v3t --config /etc/nagios-plugins/interfacetable-v3t.cfg -H $HOSTADDRESS$ $ARG1$
}
diff --git a/debian/nagios-plugin-interfacetable-v3t.dirs b/debian/nagios-plugin-interfacetable-v3t.dirs
index c2a80b6..b231cf5 100644
--- a/debian/nagios-plugin-interfacetable-v3t.dirs
+++ b/debian/nagios-plugin-interfacetable-v3t.dirs
@@ -6,6 +6,8 @@ usr/share/interfacetable-v3t/cgi
usr/share/interfacetable-v3t/htdocs
usr/share/interfacetable-v3t/tables
+usr/lib/nagios/plugins
+
etc/apache2/conf-available
usr/share/pnp4nagios/html/templates
diff --git a/debian/nagios-plugin-interfacetable-v3t.links b/debian/nagios-plugin-interfacetable-v3t.links
index 5e25d4c..b2bff98 100644
--- a/debian/nagios-plugin-interfacetable-v3t.links
+++ b/debian/nagios-plugin-interfacetable-v3t.links
@@ -1,5 +1,3 @@
var/lib/interfacetable-v3t/tables usr/share/interfacetable-v3t/htdocs/tables
-etc/interfacetable-v3t/apache2.conf etc/apache2/conf-available/interfacetable-v3t.conf
-
usr/share/interfacetable-v3t/htdocs/css var/lib/interfacetable-v3t/css
usr/share/interfacetable-v3t/tables/index.php var/lib/interfacetable-v3t/tables/index.php
diff --git a/debian/rules b/debian/rules
index 8090d51..4b9e3ec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,9 @@ override_dh_auto_install:
override_dh_install:
dh_install
+ # install plugin without .pl extension
+ cp libexec/check_interface_table_v3t.pl \
+ ${b}/usr/lib/nagios/plugins/check_interface_table_v3t
# additional files
cp debian/checkinterfacetable.cfg \
${b}/etc/nagios-plugins/config/interfacetable-v3t.cfg
@@ -41,11 +44,11 @@ override_dh_install:
cp etc/settings.cfg-sample \
${b}/etc/nagios-plugins/interfacetable-v3t.cfg
# executables
- chmod +x ${b}/usr/lib/nagios/plugins/check_interface_table_v3t.pl
+ chmod +x ${b}/usr/lib/nagios/plugins/check_interface_table_v3t
chmod +x ${b}/usr/share/interfacetable-v3t/cgi/InterfaceTableReset_v3t.cgi
# fix libdir in nagiosplugin
sed -i "s#use lib ('/usr/lib');#use lib ('/usr/lib/interfacetable-v3t');#" \
- ${b}/usr/lib/nagios/plugins/check_interface_table_v3t.pl
+ ${b}/usr/lib/nagios/plugins/check_interface_table_v3t
# remove quotes from settings
sed -i 's#"##g' ${b}/etc/nagios-plugins/interfacetable-v3t.cfg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-interfacetable-v3t.git
More information about the Pkg-nagios-changes
mailing list