Re: VMPS logging

2010-05-24 Thread Jens Link
Jens Link writes: > I have a working VMPS installation, radiusd -X shows me the relevant > information ( MAC - VLAN assignments) but how do I log these information > to a file or syslog? Here is an example of a working config using linelog: /usr/local/etc/raddb/modules/linelog: linelog {

Re: VMPS logging

2010-05-09 Thread Michael Schwartzkopff
Am Montag, 3. Mai 2010 16:56:23 schrieb Alan DeKok: > Michael Schwartzkopff wrote: > > Strange. I added a line > > Access-Accept = "Accepted %{User-Name}" > > > > But I only see entries from the Access-Request part of the linelog > > module. > > You have the "reference" line as "Packet-Type"? Ch

Re: VMPS logging

2010-05-07 Thread Alan Buxey
Hi, > The debug mode doesn't write any data to logfile. argh! yes, i know that! but it would show whether your linelog module config was being used alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: VMPS logging

2010-05-07 Thread Alan DeKok
Philippe Schwarz wrote: > The debug mode doesn't write any data to logfile. The debug mode doesn't write any data to *radius.log*. The modules are still run. The "linelog" module is still run. The linelog module should still do its job, and write to *another* log file. Alan DeKok. - List

Re: VMPS logging

2010-05-07 Thread Philippe Schwarz
Le 07/05/2010 02:05, Jens Link a écrit : > Alan Buxey writes: > >>> I don't know. I just can't get it to log anything. >>> >>> I put >>> >>> linelog { >>> filename = /var/log/vmps.log >>> format = "VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name}" >>> } >>> >>> into the the vpms server c

Re: VMPS logging

2010-05-06 Thread Alan Buxey
Hi, > Works fine. But it's not writing any data to the logfile. show us the output and we might see whether the module is being called etc etc...the debug is VERY useful. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: VMPS logging

2010-05-06 Thread Jens Link
Alan Buxey writes: >> I don't know. I just can't get it to log anything. >> >> I put >> >> linelog { >> filename = /var/log/vmps.log >> format = "VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name}" >> } >> >> into the the vpms server configuration and it dosen't work. >> >> Any ideas?

Re: VMPS logging

2010-05-06 Thread Alan Buxey
Hi, > Alan DeKok writes: > > > What part is missing? > > I don't know. I just can't get it to log anything. > > I put > > linelog { > filename = /var/log/vmps.log > format = "VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name}" > } > > into the the vpms server configuration and it d

Re: VMPS logging

2010-05-06 Thread Jens Link
Alan DeKok writes: > What part is missing? I don't know. I just can't get it to log anything. I put linelog { filename = /var/log/vmps.log format = "VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name}" } into the the vpms server configuration and it dosen't work. Any ideas? Jens

Re: VMPS logging

2010-05-03 Thread Alan DeKok
Michael Schwartzkopff wrote: > Strange. I added a line > Access-Accept = "Accepted %{User-Name}" > > But I only see entries from the Access-Request part of the linelog module. You have the "reference" line as "Packet-Type"? Change it to "reply:Packet-Type" Alan DeKok. - List info/subscribe/

Re: VMPS logging

2010-05-03 Thread Michael Schwartzkopff
Am Montag, 3. Mai 2010 13:29:24 schrieb Alan DeKok: > Michael Schwartzkopff wrote: > > Am Sonntag, 2. Mai 2010 12:22:57 schrieb Jens Link: > > I also got problems logging Access-Accept details through linelog. Is it > > possible at all? > > Yes... what's going wrong? Strange. I added a line Acce

Re: VMPS logging

2010-05-03 Thread Alan DeKok
Jens Link wrote: > Alan DeKok writes: > >> Jens Link wrote: >>> I have a working VMPS installation, radiusd -X shows me the relevant >>> information ( MAC - VLAN assignments) but how do I log these information >>> to a file or syslog? >> rlm_linelog > > Either I'm to tired or to stupid to get

Re: VMPS logging

2010-05-03 Thread Alan DeKok
Michael Schwartzkopff wrote: > Am Sonntag, 2. Mai 2010 12:22:57 schrieb Jens Link: > I also got problems logging Access-Accept details through linelog. Is it > possible at all? Yes... what's going wrong? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.

Re: VMPS logging

2010-05-03 Thread Jens Link
Jens Link writes: > Hi, > > > I have a working VMPS installation, radiusd -X shows me the relevant > information ( MAC - VLAN assignments) but how do I log these information > to a file or syslog? When I'm using post-auth { reply_log } inside the VMPS config, something[1] gets logged,

Re: VMPS logging

2010-05-02 Thread Michael Schwartzkopff
Am Sonntag, 2. Mai 2010 12:22:57 schrieb Jens Link: > Alan DeKok writes: > > Jens Link wrote: > >> I have a working VMPS installation, radiusd -X shows me the relevant > >> information ( MAC - VLAN assignments) but how do I log these information > >> to a file or syslog? > > > > rlm_linelog > >

Re: VMPS logging

2010-05-02 Thread Jens Link
Alan DeKok writes: > Jens Link wrote: >> I have a working VMPS installation, radiusd -X shows me the relevant >> information ( MAC - VLAN assignments) but how do I log these information >> to a file or syslog? > > rlm_linelog Either I'm to tired or to stupid to get it up an running. Is there a

Re: VMPS logging

2010-04-27 Thread Alan DeKok
Jens Link wrote: > I have a working VMPS installation, radiusd -X shows me the relevant > information ( MAC - VLAN assignments) but how do I log these information > to a file or syslog? rlm_linelog Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

VMPS logging

2010-04-27 Thread Jens Link
Hi, I have a working VMPS installation, radiusd -X shows me the relevant information ( MAC - VLAN assignments) but how do I log these information to a file or syslog? thanks Jens -- - | Foelderichstr. 40 | 13595 Berlin,