From 9163125e900af06d3c2016fbfe4a1bf4f427f160 Mon Sep 17 00:00:00 2001 From: kkalev Date: Mon, 25 Nov 2002 16:35:35 +0000 Subject: [PATCH] * Use CISCO-POP-MGMT-MIB in snmpfinger instead of CISCO-CALL-HISTORY-MIB. Thanks to Evren Yurtesen for the suggestion. * Also do the same in checkrad for cisco routers --- Changelog | 2 ++ bin/snmpfinger | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index aa2b0ea..dc6c690 100644 --- a/Changelog +++ b/Changelog @@ -9,6 +9,8 @@ Ver 1.62: * Work even when register_globals if off. Suggestion from Evren Yurtesen Also add an entry in the FAQ about that. * We don't need ORDER BY GroupName in show_groups.php3 since we have GROUP BY +* Use CISCO-POP-MGMT-MIB in snmpfinger instead of CISCO-CALL-HISTORY-MIB. Thanks to + Evren Yurtesen for the suggestion. Ver 1.61: * Add a string encoder for greek * If general_decode_normal_attributes is set then encode attributes in lib/ldap/change_info. In the near future diff --git a/bin/snmpfinger b/bin/snmpfinger index 6d9ca80..f28eb71 100755 --- a/bin/snmpfinger +++ b/bin/snmpfinger @@ -1,13 +1,13 @@ #!/usr/bin/perl -$SNMPWALK="/usr/local/snmpd/bin/snmpwalk"; +$SNMPWALK="/usr/bin/snmpwalk"; $host=shift; $comm=shift || 'public'; $walk =`$SNMPWALK $host $comm .iso.org.dod.internet.private.enterprises.9.9.150.1.1.3.1.2`; if ($walk =~ /^$/){ $walk =`$SNMPWALK $host $comm .iso.org.dod.internet.private.enterprises.9.2.9.2.1.18`; - $walk.=`$SNMPWALK $host $comm .iso.org.dod.internet.private.enterprises.9.9.27.1.1.3.1.7`; + $walk.=`$SNMPWALK $host $comm .iso.org.dod.internet.private.enterprises.9.10.19.1.3.1.1.3`; } while($walk=~/\"([\w\-]+?)\"/g){ -- 2.39.5