Details
-
Help
-
Resolution: Fixed
-
Trivial
-
None
-
Community Edition
-
None
-
Ubuntu 16.04.4 LTS
Description
http://docs.observium.org/syslog/
The documentation needs updating to get rsyslogd working correctly.
Functioning /etc/rsysclog.conf:
# provides UDP syslog reception
|
module(load="imudp") |
input(type="imudp" port="514") |
|
Functional /etc/rsyslog.d/30-observium.conf:
|
#---------------------------------------------------------
|
#send remote logs to observium#ceph-mon.=notice; ~template(name="observium" |
type="string" |
string="%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n")$ModLoad omprog |
action(type="omprog" |
binary="/opt/observium/syslog.php" |
template="observium")*.* stop |
#---------------------------------------------------------
|
|
Verify with:
rsyslogd -f /etc/rsyslog.d/30-observium.conf -N1 |
rsyslogd: version 8.16.0, config validation run (level 1), master config /etc/rsyslog.d/30-observium.conf |
rsyslogd: End of config validation run. Bye.
|