[Pkg-nagios-changes] [pkg-nagios-snmp-plugins] 01/01: Use full binary path instead of $ macro in command definitions

Jan Wagner waja at moszumanska.debian.org
Fri Jan 17 22:55:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-snmp-plugins.

commit baa90eb96d3ac332d886b99d7173c48dec6e05a3
Author: Jan Wagner <waja at cyconet.org>
Date:   Fri Jan 17 23:53:37 2014 +0100

    Use full binary path instead of $ macro in command definitions
---
 debian/README.Debian                 | 26 +++++++++++++-------------
 debian/pluginconfig/snmp_cpfw.cfg    |  2 +-
 debian/pluginconfig/snmp_env.cfg     |  6 +++---
 debian/pluginconfig/snmp_int.cfg     |  6 +++---
 debian/pluginconfig/snmp_load.cfg    |  6 +++---
 debian/pluginconfig/snmp_mem.cfg     |  6 +++---
 debian/pluginconfig/snmp_process.cfg |  4 ++--
 debian/pluginconfig/snmp_storage.cfg |  6 +++---
 debian/pluginconfig/snmp_vrrp.cfg    |  6 +++---
 debian/pluginconfig/snmp_win.cfg     |  2 +-
 10 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index e5092c7..41355cc 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -50,7 +50,7 @@ nagios-snmp-plugins for Debian
 
    define command {
 	command_name check_snmp_cpfw_v3
-	command_line $USER1$/check_snmp_cpfw.pl -H $HOSTADDRESS$ $USER8$
+	command_line /usr/lib/nagios/plugins/check_snmp_cpfw.pl -H $HOSTADDRESS$ $USER8$
 	$ARG1$
    }
 
@@ -64,13 +64,13 @@ nagios-snmp-plugins for Debian
 
    define command {
 	command_name check_snmp_load_v1
-	command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T
+	command_line /usr/lib/nagios/plugins/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T
    $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
    }
 
    define command {
 	command_name check_snmp_load_v3
-	command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER8$ -T
+	command_line /usr/lib/nagios/plugins/check_snmp_load.pl -H $HOSTADDRESS$ $USER8$ -T
    $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
    }
 
@@ -98,13 +98,13 @@ nagios-snmp-plugins for Debian
 
    define command {
 	command_name check_snmp_int_v1
-	command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ $USER7$ -n
+	command_line /usr/lib/nagios/plugins/check_snmp_int.pl -H $HOSTADDRESS$ $USER7$ -n
    $ARG1$ $ARG2$
    }
 
    define command{
 	command_name check_snmp_int_v3
-	command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ $USER8$ -n
+	command_line /usr/lib/nagios/plugins/check_snmp_int.pl -H $HOSTADDRESS$ $USER8$ -n
    $ARG1$ $ARG2$
    }
 
@@ -122,13 +122,13 @@ nagios-snmp-plugins for Debian
 
    define command {
 	command_name check_snmp_mem_v1
-	command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER7$ $ARG1$
+	command_line /usr/lib/nagios/plugins/check_snmp_mem.pl -H $HOSTADDRESS$ $USER7$ $ARG1$
    -w $ARG2$ -c $ARG3$ $ARG4$
    }
 
    define command {
 	command_name check_snmp_mem_v3
-	command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER8$ $ARG1$
+	command_line /usr/lib/nagios/plugins/check_snmp_mem.pl -H $HOSTADDRESS$ $USER8$ $ARG1$
    -w $ARG2$ -c $ARG3$ $ARG4$
    }
 
@@ -146,7 +146,7 @@ nagios-snmp-plugins for Debian
 
    define command {
 	command_name check_snmp_process_v1
-	command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ $USER7$ -n
+	command_line /usr/lib/nagios/plugins/check_snmp_process.pl -H $HOSTADDRESS$ $USER7$ -n
    $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
    }
 
@@ -170,13 +170,13 @@ nagios-snmp-plugins for Debian
 
    define command {
 	command_name check_snmp_storage_v1
-	command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ $USER7$ -m
+	command_line /usr/lib/nagios/plugins/check_snmp_storage.pl -H $HOSTADDRESS$ $USER7$ -m
    $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
    }
 
    define command {
 	command_name check_snmp_storage_v3
-	command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ $USER8$ -m
+	command_line /usr/lib/nagios/plugins/check_snmp_storage.pl -H $HOSTADDRESS$ $USER8$ -m
    $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
    }
 
@@ -208,13 +208,13 @@ nagios-snmp-plugins for Debian
 
    define command {
 	command_name check_snmp_vrrp_v1
-	command_line $USER1$/check_snmp_vrrp.pl -H $HOSTADDRESS$ $USER7$ -T
+	command_line /usr/lib/nagios/plugins/check_snmp_vrrp.pl -H $HOSTADDRESS$ $USER7$ -T
    $ARG1$ -s $ARG2$
    }
 
    define command {
 	command_name check_snmp_vrrp_v3
-	command_line $USER1$/check_snmp_vrrp.pl -H $HOSTADDRESS$ $USER8$ -T
+	command_line /usr/lib/nagios/plugins/check_snmp_vrrp.pl -H $HOSTADDRESS$ $USER8$ -T
    $ARG1$ -s $ARG2$
    }
 
@@ -239,7 +239,7 @@ nagios-snmp-plugins for Debian
 
    define command {
 	command_name check_win
-	command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ $USER7$ -n
+	command_line /usr/lib/nagios/plugins/check_snmp_win.pl -H $HOSTADDRESS$ $USER7$ -n
    $ARG2$
    # comment community service(s) name
    }
diff --git a/debian/pluginconfig/snmp_cpfw.cfg b/debian/pluginconfig/snmp_cpfw.cfg
index 27810ab..eb9a5a5 100644
--- a/debian/pluginconfig/snmp_cpfw.cfg
+++ b/debian/pluginconfig/snmp_cpfw.cfg
@@ -4,5 +4,5 @@
 # 'check_snmp_cpfw_v3' command definition
 define command {
 	command_name check_snmp_cpfw_v3
-	command_line $USER1$/check_snmp_cpfw.pl -H $HOSTADDRESS$ $USER9$ $ARG1$
+	command_line /usr/lib/nagios/plugins/check_snmp_cpfw.pl -H $HOSTADDRESS$ $USER9$ $ARG1$
 }
diff --git a/debian/pluginconfig/snmp_env.cfg b/debian/pluginconfig/snmp_env.cfg
index 1ab7d98..edc7f01 100644
--- a/debian/pluginconfig/snmp_env.cfg
+++ b/debian/pluginconfig/snmp_env.cfg
@@ -4,17 +4,17 @@
 # 'check_snmp_env_v1' command definition
 define command {
 	command_name check_snmp_env_v1
-	command_line $USER1$/check_snmp_env.pl -H $HOSTADDRESS$ -C $ARG3$ -T $ARG1$ $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_env.pl -H $HOSTADDRESS$ -C $ARG3$ -T $ARG1$ $ARG2$
 }
 
 # 'check_snmp_env_v2' command definition
 define command {
 	command_name check_snmp_env_v2
-	command_line $USER1$/check_snmp_env.pl -H $HOSTADDRESS$ -C $ARG3$ -2 -T $ARG1$ $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_env.pl -H $HOSTADDRESS$ -C $ARG3$ -2 -T $ARG1$ $ARG2$
 }
 
 # 'check_snmp_env_v3' command definition
 define command {
 	command_name check_snmp_env_v3
-	command_line $USER1$/check_snmp_env.pl -H $HOSTADDRESS$ $USER9$ -T $ARG1$ $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_env.pl -H $HOSTADDRESS$ $USER9$ -T $ARG1$ $ARG2$
 }
diff --git a/debian/pluginconfig/snmp_int.cfg b/debian/pluginconfig/snmp_int.cfg
index 5e0dba6..9480b34 100644
--- a/debian/pluginconfig/snmp_int.cfg
+++ b/debian/pluginconfig/snmp_int.cfg
@@ -4,17 +4,17 @@
 # 'check_snmp_int_v1' command definition
 define command {
 	command_name check_snmp_int_v1
-	command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG3$ -n $ARG1$ -B$ARG4$ $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG3$ -n $ARG1$ -B$ARG4$ $ARG2$
 }
 
 # 'check_snmp_int_v2' command definition
 define command {
 	command_name check_snmp_int_v2
-	command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG3$ -2 -n $ARG1$ -B$ARG4$ $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG3$ -2 -n $ARG1$ -B$ARG4$ $ARG2$
 }
 
 # 'check_snmp_int_v3' command definition
 define command {
 	command_name check_snmp_int_v3
-	command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ $USER9$ -n $ARG1$ -B$ARG4$ $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_int.pl -H $HOSTADDRESS$ $USER9$ -n $ARG1$ -B$ARG4$ $ARG2$
 }
diff --git a/debian/pluginconfig/snmp_load.cfg b/debian/pluginconfig/snmp_load.cfg
index f291d07..e3ddd55 100644
--- a/debian/pluginconfig/snmp_load.cfg
+++ b/debian/pluginconfig/snmp_load.cfg
@@ -4,17 +4,17 @@
 # 'check_snmp_load_v1' command definition
 define command {
 	command_name	check_snmp_load_v1
-	command_line	$USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG5$ -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line	/usr/lib/nagios/plugins/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG5$ -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
 # 'check_snmp_load_v2' command definition
 define command {
 	command_name    check_snmp_load_v2
-	command_line    $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG5$ -2 -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line    /usr/lib/nagios/plugins/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG5$ -2 -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
 # 'check_snmp_load_v3' command definition
 define command {
 	command_name	check_snmp_load_v3
-	command_line	$USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER9$ -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line	/usr/lib/nagios/plugins/check_snmp_load.pl -H $HOSTADDRESS$ $USER9$ -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
diff --git a/debian/pluginconfig/snmp_mem.cfg b/debian/pluginconfig/snmp_mem.cfg
index 8fb3f29..29c9c6d 100644
--- a/debian/pluginconfig/snmp_mem.cfg
+++ b/debian/pluginconfig/snmp_mem.cfg
@@ -4,17 +4,17 @@
 # 'check_snmp_mem_v1' command definition
 define command {
 	command_name check_snmp_mem_v1
-	command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ -C $ARG5$ $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line /usr/lib/nagios/plugins/check_snmp_mem.pl -H $HOSTADDRESS$ -C $ARG5$ $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
 # 'check_snmp_mem_v2' command definition
 define command {
 	command_name check_snmp_mem_v2
-	command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ -C $ARG5$ -2 $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line /usr/lib/nagios/plugins/check_snmp_mem.pl -H $HOSTADDRESS$ -C $ARG5$ -2 $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
 # 'check_snmp_mem_v3' command definition
 define command {
 	command_name check_snmp_mem_v3
-	command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER9$ $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line /usr/lib/nagios/plugins/check_snmp_mem.pl -H $HOSTADDRESS$ $USER9$ $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
diff --git a/debian/pluginconfig/snmp_process.cfg b/debian/pluginconfig/snmp_process.cfg
index 1ce43e7..4692462 100644
--- a/debian/pluginconfig/snmp_process.cfg
+++ b/debian/pluginconfig/snmp_process.cfg
@@ -4,12 +4,12 @@
 # 'check_snmp_process_v1' command definition
 define command {
 	command_name check_snmp_process_v1
-	command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C $ARG5$ -n $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line /usr/lib/nagios/plugins/check_snmp_process.pl -H $HOSTADDRESS$ -C $ARG5$ -n $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
 # 'check_snmp_process_v2' command definition
 define command {
 	command_name check_snmp_process_v2
-	command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C $ARG5$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line /usr/lib/nagios/plugins/check_snmp_process.pl -H $HOSTADDRESS$ -C $ARG5$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
diff --git a/debian/pluginconfig/snmp_storage.cfg b/debian/pluginconfig/snmp_storage.cfg
index e3df174..7d12b84 100644
--- a/debian/pluginconfig/snmp_storage.cfg
+++ b/debian/pluginconfig/snmp_storage.cfg
@@ -4,17 +4,17 @@
 # 'check_snmp_storage_v1' command definition
 define command {
 	command_name check_snmp_storage_v1
-	command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG5$ -m $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line /usr/lib/nagios/plugins/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG5$ -m $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
 # 'check_snmp_storage_v2' command definition
 define command {
 	command_name check_snmp_storage_v2
-	command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG5$ -2 -m $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line /usr/lib/nagios/plugins/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG5$ -2 -m $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
 # 'check_snmp_storage_v3' command definition
 define command {
 	command_name check_snmp_storage_v3
-	command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ $USER9$ -m $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
+	command_line /usr/lib/nagios/plugins/check_snmp_storage.pl -H $HOSTADDRESS$ $USER9$ -m $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
 }
diff --git a/debian/pluginconfig/snmp_vrrp.cfg b/debian/pluginconfig/snmp_vrrp.cfg
index fb5d5c3..be5ae2c 100644
--- a/debian/pluginconfig/snmp_vrrp.cfg
+++ b/debian/pluginconfig/snmp_vrrp.cfg
@@ -4,17 +4,17 @@
 # 'check_snmp_vrrp_v1' command definition
 define command {
 	command_name check_snmp_vrrp_v1
-	command_line $USER1$/check_snmp_vrrp.pl -H $HOSTADDRESS$ -C $ARG3$ -T $ARG1$ -s $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_vrrp.pl -H $HOSTADDRESS$ -C $ARG3$ -T $ARG1$ -s $ARG2$
 }
 
 # 'check_snmp_vrrp_v2' command definition
 define command {
 	command_name check_snmp_vrrp_v2
-	command_line $USER1$/check_snmp_vrrp.pl -H $HOSTADDRESS$ -C $ARG3$ -2 -T $ARG1$ -s $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_vrrp.pl -H $HOSTADDRESS$ -C $ARG3$ -2 -T $ARG1$ -s $ARG2$
 }
 
 # 'check_snmp_vrrp_v3' command definition
 define command {
 	command_name check_snmp_vrrp_v3
-	command_line $USER1$/check_snmp_vrrp.pl -H $HOSTADDRESS$ $USER9$ -T $ARG1$ -s $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_vrrp.pl -H $HOSTADDRESS$ $USER9$ -T $ARG1$ -s $ARG2$
 }
diff --git a/debian/pluginconfig/snmp_win.cfg b/debian/pluginconfig/snmp_win.cfg
index 53fdf84..590da52 100644
--- a/debian/pluginconfig/snmp_win.cfg
+++ b/debian/pluginconfig/snmp_win.cfg
@@ -4,5 +4,5 @@
 # 'check_win' command definition
 define command {
 	command_name check_win
-	command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C $ARG3$ -n $ARG2$
+	command_line /usr/lib/nagios/plugins/check_snmp_win.pl -H $HOSTADDRESS$ -C $ARG3$ -n $ARG2$
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-snmp-plugins.git



More information about the Pkg-nagios-changes mailing list