Ajout conf syslog
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
@version: 3.35
|
||||||
|
|
||||||
|
options {
|
||||||
|
chain_hostnames(no);
|
||||||
|
flush_lines(0);
|
||||||
|
use_dns(no);
|
||||||
|
use_fqdn(no);
|
||||||
|
owner("root");
|
||||||
|
group("root");
|
||||||
|
perm(0644);
|
||||||
|
stats_freq(0);
|
||||||
|
};
|
||||||
|
|
||||||
|
source s_net {
|
||||||
|
udp(ip(0.0.0.0) port(514));
|
||||||
|
tcp(ip(0.0.0.0) port(514));
|
||||||
|
};
|
||||||
|
|
||||||
|
destination d_librenms {
|
||||||
|
file("/data/logs/syslog.log");
|
||||||
|
};
|
||||||
|
|
||||||
|
log {
|
||||||
|
source(s_net);
|
||||||
|
destination(d_librenms);
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user