Use full binary path instead of $ macro in command definitions
This commit is contained in:
parent
976e307720
commit
950a63f57c
26
debian/README.Debian
vendored
26
debian/README.Debian
vendored
|
@ -50,7 +50,7 @@ nagios-snmp-plugins for Debian
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_cpfw_v3
|
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$
|
$ARG1$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,13 +64,13 @@ nagios-snmp-plugins for Debian
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_load_v1
|
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$
|
$ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
|
||||||
}
|
}
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_load_v3
|
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$
|
$ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,13 +98,13 @@ nagios-snmp-plugins for Debian
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_int_v1
|
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$
|
$ARG1$ $ARG2$
|
||||||
}
|
}
|
||||||
|
|
||||||
define command{
|
define command{
|
||||||
command_name check_snmp_int_v3
|
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$
|
$ARG1$ $ARG2$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,13 +122,13 @@ nagios-snmp-plugins for Debian
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_mem_v1
|
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$
|
-w $ARG2$ -c $ARG3$ $ARG4$
|
||||||
}
|
}
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_mem_v3
|
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$
|
-w $ARG2$ -c $ARG3$ $ARG4$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ nagios-snmp-plugins for Debian
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_process_v1
|
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$
|
$ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,13 +170,13 @@ nagios-snmp-plugins for Debian
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_storage_v1
|
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$
|
$ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
|
||||||
}
|
}
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_storage_v3
|
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$
|
$ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -208,13 +208,13 @@ nagios-snmp-plugins for Debian
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_vrrp_v1
|
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$
|
$ARG1$ -s $ARG2$
|
||||||
}
|
}
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_vrrp_v3
|
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$
|
$ARG1$ -s $ARG2$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -239,7 +239,7 @@ nagios-snmp-plugins for Debian
|
||||||
|
|
||||||
define command {
|
define command {
|
||||||
command_name check_win
|
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$
|
$ARG2$
|
||||||
# comment community service(s) name
|
# comment community service(s) name
|
||||||
}
|
}
|
||||||
|
|
2
debian/pluginconfig/snmp_cpfw.cfg
vendored
2
debian/pluginconfig/snmp_cpfw.cfg
vendored
|
@ -4,5 +4,5 @@
|
||||||
# 'check_snmp_cpfw_v3' command definition
|
# 'check_snmp_cpfw_v3' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_cpfw_v3
|
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$
|
||||||
}
|
}
|
||||||
|
|
6
debian/pluginconfig/snmp_env.cfg
vendored
6
debian/pluginconfig/snmp_env.cfg
vendored
|
@ -4,17 +4,17 @@
|
||||||
# 'check_snmp_env_v1' command definition
|
# 'check_snmp_env_v1' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_env_v1
|
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
|
# 'check_snmp_env_v2' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_env_v2
|
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
|
# 'check_snmp_env_v3' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_env_v3
|
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$
|
||||||
}
|
}
|
||||||
|
|
6
debian/pluginconfig/snmp_int.cfg
vendored
6
debian/pluginconfig/snmp_int.cfg
vendored
|
@ -4,17 +4,17 @@
|
||||||
# 'check_snmp_int_v1' command definition
|
# 'check_snmp_int_v1' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_int_v1
|
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
|
# 'check_snmp_int_v2' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_int_v2
|
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
|
# 'check_snmp_int_v3' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_int_v3
|
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$
|
||||||
}
|
}
|
||||||
|
|
6
debian/pluginconfig/snmp_load.cfg
vendored
6
debian/pluginconfig/snmp_load.cfg
vendored
|
@ -4,17 +4,17 @@
|
||||||
# 'check_snmp_load_v1' command definition
|
# 'check_snmp_load_v1' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_load_v1
|
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
|
# 'check_snmp_load_v2' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_load_v2
|
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
|
# 'check_snmp_load_v3' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_load_v3
|
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$
|
||||||
}
|
}
|
||||||
|
|
6
debian/pluginconfig/snmp_mem.cfg
vendored
6
debian/pluginconfig/snmp_mem.cfg
vendored
|
@ -4,17 +4,17 @@
|
||||||
# 'check_snmp_mem_v1' command definition
|
# 'check_snmp_mem_v1' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_mem_v1
|
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
|
# 'check_snmp_mem_v2' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_mem_v2
|
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
|
# 'check_snmp_mem_v3' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_mem_v3
|
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$
|
||||||
}
|
}
|
||||||
|
|
4
debian/pluginconfig/snmp_process.cfg
vendored
4
debian/pluginconfig/snmp_process.cfg
vendored
|
@ -4,12 +4,12 @@
|
||||||
# 'check_snmp_process_v1' command definition
|
# 'check_snmp_process_v1' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_process_v1
|
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
|
# 'check_snmp_process_v2' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_process_v2
|
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$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
6
debian/pluginconfig/snmp_storage.cfg
vendored
6
debian/pluginconfig/snmp_storage.cfg
vendored
|
@ -4,17 +4,17 @@
|
||||||
# 'check_snmp_storage_v1' command definition
|
# 'check_snmp_storage_v1' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_storage_v1
|
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
|
# 'check_snmp_storage_v2' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_storage_v2
|
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
|
# 'check_snmp_storage_v3' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_storage_v3
|
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$
|
||||||
}
|
}
|
||||||
|
|
6
debian/pluginconfig/snmp_vrrp.cfg
vendored
6
debian/pluginconfig/snmp_vrrp.cfg
vendored
|
@ -4,17 +4,17 @@
|
||||||
# 'check_snmp_vrrp_v1' command definition
|
# 'check_snmp_vrrp_v1' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_vrrp_v1
|
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
|
# 'check_snmp_vrrp_v2' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_vrrp_v2
|
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
|
# 'check_snmp_vrrp_v3' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_snmp_vrrp_v3
|
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$
|
||||||
}
|
}
|
||||||
|
|
2
debian/pluginconfig/snmp_win.cfg
vendored
2
debian/pluginconfig/snmp_win.cfg
vendored
|
@ -4,5 +4,5 @@
|
||||||
# 'check_win' command definition
|
# 'check_win' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_win
|
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$
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue