Diferencia entre revisiones de «Rsyslog»

De gacq wiki
Saltar a: navegación, buscar
(Send to mySQL all logons to a Samba PDC)
(Configs)
Línea 8: Línea 8:
 
:msg, contains, "connect to service netlogon initially as user" :ommysql:localhost,Syslog,rsyslog,pass
 
:msg, contains, "connect to service netlogon initially as user" :ommysql:localhost,Syslog,rsyslog,pass
 
</pre>
 
</pre>
 +
 +
/etc/samba/smb.conf
 +
[global]
 +
  syslog = 2
  
 
= Referencias =
 
= Referencias =

Revisión del 08:33 16 nov 2009

Configs

Send to mySQL all logons to a Samba PDC

aptitude install rsyslog-mysql

/etc/rsyslog.d/mysql.conf

$ModLoad ommysql
:msg, contains, "connect to service netlogon initially as user" :ommysql:localhost,Syslog,rsyslog,pass

/etc/samba/smb.conf

[global]
 syslog = 2

Referencias

Filtros