Thanks Heinrich, AddToRequestIfNotExist was the one that fixed it. I didn't see 
it in the documentation myself because I was looking in the AuthBy xxxx 
sections, not the Client section.

Just to make it clear, Hugh, there wasn't a problem with the 0 value being 
added in place of the missing attribute. The problem was with the error message 
filling up my logs, _telling me_ that the 0 value was being added in place of 
the missing attribute.

Sorry for the slow reply, I've been out of the office and just now had a chance 
to test.

--
Michael Newton
Manager, Information Systems
Point of Presence Technologies
You manage your business. We’ll manage your network.
3406-2371 Lam Circle, Victoria BC  V8N 6K8
T: 250-412-6688 x 7040
[email protected]<mailto:[email protected]> | www.pofp.com<http://www.pofp.com/>

This document and all of its contents are intended only for the party to whom 
it is addressed, and may contain information which is privileged or 
confidential. Any other delivery, distribution, copying, or disclosure is 
strictly prohibited and is not a waiver of privilege or confidentiality. If you 
have received this telecommunication in error, please notify the sender 
immediately by return electronic mail, and destroy the message.


On  7 Dec 2011, at 3:47 AM, Heinrich Mislik wrote:

On 7 Dec 2011 at 9:15, Hugh Irvine wrote:

Hi, most of our NAS devices include Acct-Output-Gigawords in
their accounting requests, so we store it in our SQL database using
an AuthSelect parameter with the
%{IntegerValue:Acct-Output-Gigawords} syntax. But, we have a few
devices that do not include it. So every time the AuthSelect is run
in that case, we get this error in the log:

ERR: There is no value named  for attribute
Acct-Input-Gigawords. Using 0.

I would request that either this be reduced in severity from
error, or provide the opportunity to specify a default setting (e.g.
%{IntegerValue:Acct-Input-Gigawords|0} where 0 is the default in
case it's not present.) We did the former in our installation
because it was easy, but the latter would probably be more useful.

Or, if there's already a way to deal with this I'd love to hear
it. Thanks.

I would try:

  AddToRequestIfNotExist Acct-Input-Gigawords=0

Cheers

Heinrich
--
Heinrich Mislik
Zentraler Informatikdienst der Universitaet Wien
A-1010 Wien, Universitaetsstrasse 7
Tel.: (+43 1) 4277-14056, Fax: (+43 1) 4277-9140


_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to