mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
docs: Fix for syslog-ng config in the docs (#8160)
* fix for syslog-ng config I guess it didn't copy over correctly the last fix. It was reported to not be working I tested this and seems to be okay now at the time. It was showing 00:00 00 0000 * Update Syslog.md
This commit is contained in:
committed by
Neil Lathwood
parent
d63fbd0902
commit
a7fe7191ae
@@ -45,24 +45,24 @@ options {
|
||||
bad_hostname("^gconfd$");
|
||||
};
|
||||
|
||||
|
||||
|
||||
source s_sys {
|
||||
system();
|
||||
internal();
|
||||
|
||||
|
||||
};
|
||||
|
||||
source s_net {
|
||||
tcp(port(514) flags(syslog-protocol));
|
||||
udp(port(514) flags(syslog-protocol));
|
||||
};
|
||||
|
||||
|
||||
|
||||
########################
|
||||
# Destinations
|
||||
########################
|
||||
destination d_librenms {
|
||||
program("/opt/librenms/syslog.php" template ("$HOST||$FACILITY||$PRIORITY||$LEVEL||$TAG||$R_YEAR-$R_MONTH-$R_DAY$R_HOUR:$R_MIN:$R_SEC||$MSG||$PROGRAM\n") template-escape(yes));
|
||||
program("/opt/librenms/syslog.php" template ("$HOST||$FACILITY||$PRIORITY||$LEVEL||$TAG||$R_YEAR-$R_MONTH-$R_DAY $R_HOUR:$R_MIN:$R_SEC||$MSG||$PROGRAM\n") template-escape(yes));
|
||||
};
|
||||
|
||||
filter f_kernel { facility(kern); };
|
||||
|
||||
Reference in New Issue
Block a user