[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Cyclades PR-4000: snmp
From: |
Jairo Souto |
Subject: |
Re: [Help-gnu-radius] Cyclades PR-4000: snmp |
Date: |
Wed, 25 Sep 2002 12:23:41 -0300 |
User-agent: |
Mutt/1.2.5i |
"max" is the variable that keeps the max number of connections
inside the script. I think I can not pass such a number as a
parameter from the Exec-Program-Wait in users config file, in
order to give a different one to different user...
Pardon, the NAS is a Cyclades PR-4000 not a Max.
I have tried
nastypes:
pr4000 snmp oid=.1.3.6.1.4.1.2925.3.3.6.1.1.2,function=check_snmp_u
naslist:
diamante diamante pr4000 community=public
and it does not work. I think that oid is not the one I have to use
in nastypes. It works for snmpwalk.
Regards.
-jairo
On Wed, Sep 25, 2002 at 06:00:28PM +0300, Sergey Poznyakoff wrote:
> > The follow bash script with _snmpwalk_ works fine as Exec-Program-Wait,
> > but I can not change "max" connections
>
> What do you mean by changing it?
>
> > Do you know how is the proper configuration?
>
> First, check if your max returns .1.3.6.1.4.1.529.12.3.1.4 oids. If
> it does, change your raddb/naslist so that each NAS of this type
> is described as:
>
> # NAS Name Short Name Type Checkrad flags
> #---------------- ---------- ---- ---------------
> LONG-NAME SHORT-NAME max community=COMMUNITY
>
> where LONG-NAME, SHORT-NAME and COMMUNITY mean the nas name or IP,
> its short-name, and SNMP community, correspondingly. For example,
> for NAS diamante, the proper entry would be:
>
> diamante diamante max community=public
>
> Regards,
> Sergey.
--Jairo Souto <address@hidden> (38)9971-0014
--
Citel1 - http://www.citel1.com.br
address@hidden
Rua Joaquim FelĂcio 27-A
(38)3531-2966
39100-000 Diamantina-MG.