From 0924c1761ca35df802d94d19789c18c446fa5a61 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 9 Jul 2007 13:20:09 +0000 Subject: [PATCH] change scale and unit of check_snmp_int.pl --- debian/changelog | 7 +++++++ debian/pluginconfig/snmp_int.cfg | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 084a979..22cc8e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +nagios-snmp-plugins (1.1.1-3) UNRELEASED; urgency=low + + * change unit to bit/s in interface check + * add option for scale of bandwidth to interface check + + -- Jan Wagner Fri, 06 Jul 2007 23:25:38 +0200 + nagios-snmp-plugins (1.1.1-2) unstable; urgency=low * make use of dpatch infrastructure diff --git a/debian/pluginconfig/snmp_int.cfg b/debian/pluginconfig/snmp_int.cfg index 001c860..5e0dba6 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$ $ARG2$ + command_line $USER1$/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$ $ARG2$ + command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG3$ -2 -n $ARG1$ -B$ARG4$ $ARG2$ } # 'check_snmp_int_v3' command definition -define command{ +define command { command_name check_snmp_int_v3 - command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ $USER9$ -n $ARG1$ $ARG2$ + command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ $USER9$ -n $ARG1$ -B$ARG4$ $ARG2$ }