0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CactiのSyslogプラグインのインストール後、"Report Rules"が表示出来ない件

Last updated at Posted at 2018-12-21

事象の概要

Cacti 1.1.38 にSyslog Plugin for Cacti(version 2.1)をインストール後に、Report Rulesをクリックすると、Internal Server Errorと表示される事象が発生してしまう。

report_rules.png

原因

単純にSyntax Errorが発生しています。

php -q syslog_reports.php --debug --force-report
PHP Parse error:  syntax error, unexpected '(', expecting ')' in /usr/share/cacti/plugins/syslog/syslog_reports.php on line 596

解消方法

対象の箇所を修正する必要があります。

[XXXXXXXX cacti]# pwd
/usr/share/cacti
[XXXXXXXX cacti]# vim plugins/syslog/syslog_reports.php

596行目の、
'enabled' => array(__, 'syslog'('Enabled'), 'ASC'),
↑この箇所を
'enabled' => array(__('Enabled', 'syslog'), 'ASC'),
この様に修正します。

補足

次のVersionでは修正されるようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?