Re: (RADIATOR) TotalControlSNMP

2000-03-28 Thread Aaron Nabil
Your math for computing portidx isn't correct for more than the first 24 ports. If use the following instead, you'll get the correct results. my $chan = $nas_port % 24; my $slot = (($nas_port - $chan) / 24)+1; my $portidx = (256*$slot) + $chan + 1000; Note that these equations are

Re: (RADIATOR) TotalControlSNMP

2000-03-28 Thread Mike McCauley
Hi Aaron, Thanks for that. I have rolled your fix into the next release. Cheers. On Mar 28, 2:07am, Aaron Nabil wrote: Subject: Re: (RADIATOR) TotalControlSNMP Your math for computing portidx isn't correct for more than the first 24 ports. If use the following instead, you'll get

RE: (RADIATOR) TotalControlSNMP

2000-03-28 Thread Ingvar Berg (ERA)
I assume that 24 is for a T1 line, so with E1 lines it would be 30? /Ingvar -Original Message- From: Mike McCauley [mailto:[EMAIL PROTECTED]] Sent: den 29 mars 2000 03:27 To: Aaron Nabil; Stephen Roderick Cc: [EMAIL PROTECTED] Subject: Re: (RADIATOR) TotalControlSNMP Hi Aaron

RE: (RADIATOR) TotalControlSNMP

2000-03-28 Thread Aaron Nabil
bject: Re: (RADIATOR) TotalControlSNMP Hi Aaron, Thanks for that. I have rolled your fix into the next release. Cheers. On Mar 28, 2:07am, Aaron Nabil wrote: Subject: Re: (RADIATOR) TotalControlSNMP Your math for computing portidx isn't correct for more than t

RE: (RADIATOR) TotalControlSNMP

2000-03-28 Thread Aaron Nabil
Here a slightly improved version in that it should work independant of the card density (quad/hiperdsp) and type (e1/t1). It uses the session-id instead of the nas-port. # Check Total Control by using SNMP # sub

Re: (RADIATOR) TotalControlSNMP

2000-03-28 Thread Mike McCauley
Hi Aaron, On Mar 28, 6:20am, Aaron Nabil wrote: Subject: RE: (RADIATOR) TotalControlSNMP Here a slightly improved version in that it should work independant of the card density (quad/hiperdsp) and type (e1/t1). It uses the session-id instead of the nas-port. Thanks again