Openbsd
symon says it is a “system monitor for FreeBSD, NetBSD, OpenBSD and Linux. It can be used to obtain accurate and up to date information on the performance of a number of systems”. What I like is that it is lightweight and quite straight forward to implement.
Here’s how I configured it on my OpenBSD box. Note that my box is both a client and a server regarding monitoring events.Continue reading...
Quoting Monit’s website, “Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.” I like it because it is much lighter than Nagios.
In the OpenBSD ports, it is available in version 4. But it is also provided as a binary archive from the website.
Here’s how to run Monit v5 on OpenBSD.Continue reading...
OpenBSD provides an optimized and secured Apache v1.3 server. It also provides various PHP modules. But it doesn’t provide the eAccelerator PHP module (yet?).
Here’s how I compiled, installed and run eAccelerator on OpenBSD’s native Apache:Continue reading...
Since OpenBSD 4.9, third-party daemons, like MySQL, come with a rc.d script to start, stop and manage the daemon.
Once the package is installed, the managing script is available in /etc/rc.d/.
To start a daemon, just run:
# /etc/rc.d/mysqld start Now, if you want the daemon to automagically start on boot:
check that the script is executable: # ls -alh /etc/rc.d/mysqld -r-xr-xr-x 1 root bin 461B Feb 23 22:16 /etc/rc.d/mysqld reference it in the RC configuration file: # vi /etc/rc.conf.local (...) mysqld_flags="--socket=/var/run/mysql/mysql.sock" (...) rc_scripts="mysqld" (...) Quite simple!Continue reading...
According to the Google robot, my actual configuration serves WordPress pages in about 1-2 seconds. I was looking on improving this a bit.Continue reading...