used for initialization).
* html fixes in accounting.php3
* Fix a problem in user_accounting when NASIPAddress is not set.
+* Use CISCO-AAA-SESSION-MIB in snmpfinger
Ver 1.59:
* Small html fixes in user_edit.php3 and password.php3
* Show number of failed logins in the last 7 days in the user admin page
#!/usr/bin/perl
-$SNMPWALK="/usr/bin/snmpwalk";
+$SNMPWALK="/usr/local/snmpd/bin/snmpwalk";
$host=shift;
$comm=shift || 'public';
-$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.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`;
+}
while($walk=~/\"([\w\-]+?)\"/g){
$user=lc($1);