Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Community Edition
-
Centos7.2
Observium CE 0.1.16.1.7533
rsyslog-7.4.7-12
Description
I deploy syslog failure according to the document.
Document link:http://www.observium.org/docs/syslog/
The following is my configuration:
(1) /etc/rsyslog.conf:
- Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
(2)/etc/rsyslog.d/30-observium.conf:
#---------------------------------------------------------
#send remote logs to observium
$template observium,"%fromhost-ip%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%%$month%%$day% %timereported:8:25%||%msg%||%programname%\n"
$ModLoad omprog
$ActionOMProgBinary /opt/observium/syslog.php
:inputname, isequal, "imudp" :omprog:;observium
#& ~
& stop
#---------------------------------------------------------
(3)/opt/observium/config.php:
$config['enable_syslog'] = 1; // Enable Syslog
[root@observium-server observium]# systemctl restart rsyslog
[root@observium-server observium]# systemctl reload rsyslog
Failed to reload rsyslog.service: Job type reload is not applicable for unit rsyslog.service.
Open the web page of the syslog, an error is "No syslog entries found!"
Please help me.
Thanks!