The AscendSNMP check as provided with the latest Radiator version didn't work
for me. I had to apply the following patch to
/usr/local/lib/perl5/site_perl/5.005/Radius/Nas.pm:

--- Nas.pm.orig Mon Aug 21 06:33:42 2000
+++ Nas.pm      Tue Oct 31 08:33:00 2000
@@ -254,7 +254,7 @@
 
     my $result = &Radius::SNMP::snmpget($nas_id,
                         $client->{SNMPCommunity},
-                        "$Radius::Nas::AscendMIB.12.2.1.3.$nas_port");
+                        "$Radius::Nas::AscendMIB.12.3.1.4.".oct("0x".$session_id));
     if ($result =~ /^.*\"([^"]+)".*$/)
     {                  
        return $1 eq $name;

There is only a slight problem with this patch, it assumes you have
hexadecimal session id's configured on your Max. If you don't, you'd have to
remove the "oct" part.

Blaz Zupan,  Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia
E-mail: [EMAIL PROTECTED], Tel: +386-2-320-6320, Fax: +386-2-320-6325



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to