I am now using Report Magic for Analog with my Analog installation. My last attempt had failed miserably, but this time it went extremely well. I found Logwrangler which does a lot of the work. I encountered an incompatibility between Report Magic and an updated graphics library. Once the patch was applied the program ran well. All that was left was tuning the report layout and the interaction with Logwrangler. Continue reading “Analog with Report Magic and Logwrangler”
Analog is a fast and flexible web log analysis tool. Its configuration can consist of several files nested using include statements. This allows common configuration items to be grouped in separate files. The minimal site specific configuration items can be contained in small include files. Similarly, time period specific include files allow for reports by time period to be easily configured. Each report then requires a configuration file, which includes a few other files.
I have reviewed and updated my previous documentation for analog. This site is hosted on a new server, and I needed to setup analog for the new server. I also made changes to the list of virtual sites being hosted. I generate report sets for each site as well as an overview report for all sites. Each report set includes reports for covering the latest week, month, and year of data. Continue reading “Analog for Multiple Sites”
Munin is a system monitoring program designed to capture and graph performance statistics with minimal configuration. It is significantly easier to configure than MRTG and has a wide variety of plugins. The Ubuntu (Debian) installer will setup a reasonable configuration on installation. It requires one server, and a client daemon on all monitored servers including the server. Scalability to large (campus) environments has been reported to be an issue Continue reading “Monitoring with Munin”
WordPress is available as a packaged application for Ubuntu. However it requires a bit of post installation configuration. The installation will install the apache2 multi-user server if no server is installed. I modified the installation to run over top of an existing site. The default installation creates directories under
/var/www, which I move to
/srv. Continue reading “Installing WordPress on Ubuntu”
The following guide is intended to help install Windows on system in a secure manner. The steps here are intended to limit the exposure of the system to malware during installation. However, it does not guarantee that malware will not infect the system. There are many known vectors used by malware, some of which are known to bypass the following steps. Continue reading “Setting up Windows”
Now I have replaced my old firewall with OpenWRT, I needed to enhance the configuration of
dnsmasq to support the network. The old Ubunutu based firewall was already running
dnsmasq, as does the DNS server on the LAN.
I run a mixed network with wired and wireless clients on separate address ranges. DHCP services are provided by the OpenWRT router. An Ubuntu server is the primary DNS server for the wired network. Continue reading “OpenWRT and Ubuntu dnmasq setup”
When I went to process my remote firewall log output from OpenWRT, I noticed that the entries were truncated. A quick check with
tcpdump indicated that the
syslog packets were truncated to 256 characters. As
klogd are both provided by
BusyBox, I decided to replace them both. The obvious solution was to replace them with
opkg indicated that it was available, so installation was simple.
Unfortunately, configuration is not yet automated. A default configuration file is provided in
/etc/syslog-ng. This simply logs to
/var/log/messages. It also assumes that
klogd is active. After some research and experimentation, I came up with a configuration. It can provide a local log in
/var/log/messages. More importantly it provides complete firewall log entries to the remote server. Continue reading “OpenWRT syslog-ng Installation”