From fda9f8ecfb9f457b5df5004b866b05e9750ef8c5 Mon Sep 17 00:00:00 2001 From: stransky Date: Mon, 13 Jan 2003 01:01:34 +0100 Subject: [PATCH] un fichier spar pour les community snmp N. darcs-hash:20030113000134-a279a-bef821bee09055ab47cbb80dbf8d38eda1e4ab30.gz --- snmp/bat.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snmp/bat.sh b/snmp/bat.sh index afc8b54a..ae51e161 100755 --- a/snmp/bat.sh +++ b/snmp/bat.sh @@ -7,9 +7,10 @@ # Nicolas Stransky, juin 2k1 # ############################################################################ +. /root/snmp-community-names HOSTNAME=backbone -COMMUNITY=admins +COMMUNITY=$BACKBONE_COMMUNITY MIBFILE=/usr/scripts/snmp/Des5200.mib test -f $MIBFILE || exit 0