D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => ShareCenter® Add-on Applications => Topic started by: vtverdohleb on January 26, 2015, 05:04:45 AM

Title: Add-on "rsyslog v5.10.1 & LogAnalyzer v4.1.1" for D-Link NAS
Post by: vtverdohleb on January 26, 2015, 05:04:45 AM
[Add-on] rsyslog v5.10.1 & LogAnalyzer v4.1.1

[Description]
Rsyslog is an open-source software utility used on UNIX and Unix-like computer systems for forwarding log messages in an IP network. It implements the basic syslog protocol, extends it with content-based filtering, rich filtering capabilities, flexible configuration options and adds features such as using TCP for transport.
LogAnalyzer project provides an easy to use but powerful front end for searching, reviewing and analyzing network event data, including syslog, windows event log and many other event sources.

[Version]
Add-on Package v5.10.1-2

[Maintainer]
rusatch
vtverdohleb

[Download link]
DNS-320L Rsyslog Package v5.10.1-2_01262015 (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-320L%20Rsyslog%20Package%20v5.10.1-2_01262015_UA)
DNS-325 Rsyslog Package v5.10.1-2_01262015 (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-325%20Rsyslog%20Package%20v5.10.1-2_01262015_UA)
DNS-327L Rsyslog Package v5.10.1-2_01232015 (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-327L%20Rsyslog%20Package%20v5.10.1-2_01232015)
DNS-340L Rsyslog Package v5.10.1-2_01232015 (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-340L%20Rsyslog%20Package%20v5.10.1-2_01232015)
DNS-345 Rsyslog Package v5.10.1-2_01262015 (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-345%20Rsyslog%20Package%20v5.10.1-2_01262015_UA)

[Resource]
Rsyslog site http://www.rsyslog.com/ (http://www.rsyslog.com/)
LogAnalyzer site http://loganalyzer.adiscon.com/ (http://loganalyzer.adiscon.com/)
Other Add-ons http://dlink.vtverdohleb.org.ua/Add-On/ (http://dlink.vtverdohleb.org.ua/Add-On/)

[Remarks]
Download and install the Rsyslog Add-On.
Click the link for the Rsyslog web interface and LogAnalyzer configure it.

(http://dlink.vtverdohleb.org.ua/Add-On/images/forum.dlink.com/Rsyslog-p8.png)
Title: Re: Add-on "rsyslog v5.10.1 & LogAnalyzer v4.1.1" for D-Link NAS
Post by: pittnuma on August 27, 2015, 01:39:00 AM
Hoping it is OK resurrecting an old post.

I have the syslog and analyzer running fine. The 1 thing I cannot do is get the reports to work, I was trying to get the users report to work.

Running on DNS-320L
Title: Re: Add-on "rsyslog v5.10.1 & LogAnalyzer v4.1.1" for D-Link NAS
Post by: pittnuma on August 27, 2015, 02:29:55 AM
How do I get the V 4.1.3 log analyzer onto the package?
Title: Re: Add-on "rsyslog v5.10.1 & LogAnalyzer v4.1.1" for D-Link NAS
Post by: vtverdohleb on September 01, 2015, 06:00:14 AM
How do I get the V 4.1.3 log analyzer onto the package?

Download LogAnalyzer v4.1.3 (v4-beta) (http://download.adiscon.com/loganalyzer/loganalyzer-4.1.3.tar.gz)
Unpack the contents loganalyzer-4.1.3 in /mnt/HD/HD_a2/Nas_Prog/Rsyslog/loganalyzer/
Title: Re: Add-on "rsyslog v5.10.1 & LogAnalyzer v4.1.1" for D-Link NAS
Post by: pittnuma on September 01, 2015, 07:35:41 AM
appreciated thanks, have to install a file browser.

Is there a recommended?
Title: Re: Add-on "rsyslog v5.10.1 & LogAnalyzer v4.1.1" for D-Link NAS
Post by: vtverdohleb on September 01, 2015, 08:08:50 AM
appreciated thanks, have to install a file browser.

Is there a recommended?

elFinder or QuiXplorer (http://dlink.vtverdohleb.org.ua/Add-On/#id_12)
Rsyslog v5.10.1 & LogAnalyzer v4.1.3 (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-320L%20Rsyslog%20Package%20v5.10.1-3_09012015_UA)
Title: Re: Add-on "rsyslog v5.10.1 & LogAnalyzer v4.1.1" for D-Link NAS
Post by: pittnuma on September 02, 2015, 12:10:57 AM
That is a brilliant link, thanks
Title: Re: Add-on "rsyslog v5.10.1 & LogAnalyzer v4.1.1" for D-Link NAS
Post by: dantecit0 on October 01, 2016, 06:43:14 PM
Hello,
I tried to install this add-on on my DNS320L and got following error:


Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /mnt/HD/HD_a2/Nas_Prog/Rsyslog/web/scripts/records.php on line 3

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /mnt/HD/HD_a2/Nas_Prog/Rsyslog/web/scripts/records.php on line 4

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /mnt/HD/HD_a2/Nas_Prog/Rsyslog/web/scripts/records.php on line 5

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mnt/HD/HD_a2/Nas_Prog/Rsyslog/web/scripts/records.php on line 6
Records in database: 0

Noticed that the add-on is trying to connect to the Localhost DB (a MySQL one) but I don't have anything like that installed as an add-on... Should I do something else than downloading the package, installing via the add-on manager and going to the Rsyslog page?

Let me know if I need to install phpmyadmin or if I need to do something else to get it running.

Thanks!