(RADIATOR) How to increase SNMP counters?

Hugh Irvine hugh at open.com.au
Tue Jan 7 21:58:00 CST 2003


Hello Karel -

In Radiator 3.x, the statistics and counters were completely  
re-implemented.

Have a look in Radius/SNMPAgent.pm.

I have also copied this mail to Mike for his comments.	

regards

Hugh


On Tuesday, Jan 7, 2003, at 23:54 Australia/Melbourne, Karel van der  
Velden wrote:

> Hello,
>  
> In the old days (version 2.18) I'd created the following code to  
> increase specific accounting SNMP counters. With the later versions,  
> this code does not work anymore. Does anybody know how to increase the  
> SNMP counters?
>  
> Thx in advance,
>     Karel
>  
> if (${$_[0]}->getAttrByNum($Radius::Radius::ACCT_STATUS_TYPE) eq  
> 'Stop') { \
>             $main::statistics{radiusAccServTotalMalformedRequests}++; \
>              
> ${$_[0]}->{Client}->{Statistics}{radiusAccServMalformedRequests}++; \
> } \
>  
> ----------------------------------------------------------------------- 
> ------
> Karel van der Velden           |   telnr: +31 50 5881003
> Peizerweg 156                  |   faxnr: +31 50 5883216
> 9727 AR Groningen              |   e-mail:  
> k.vandervelden at planettechnologies.nl
> The Netherlands
> DISCLAIMER: This Statement is not an official statement from, nor does  
> it represent an official postion of Planet Technologies or KPN
> ----------------------------------------------------------------------- 
> ------
>  
>

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list