Monitor Apache SSL with Munin

On my munin-node-1.4.5p5, I can only graph HTTP activity ; no HTTPS. There is a plugin though that enables graphing both HTTP and HTTPS.

  • Grab the plugin here ;
  • Copy it in /etc/munin/plugins/ in replacement for the original Munin plugin ;
  • Configure /etc/munin/plugin-conf.d/openbsd-packages to know about the Apache ports to monitor:
    (...)
    [apache_*]
    env.ssl yes
    env.port 80
    env.ports 443
    (...)
  • Restart munin_node

Wait about 5 minutes and check your new shiny HTTP/SSL graphs!

VNC server on OpenBSD

Here are quick notes on how to setup a VNC server on OpenBSD. This allows a remote connexion to a X11 session running on an OpenBSD server or workstation.

Continue reading…

My SMTP cheat sheet

Today is the day when my SMTP server didn’t want me to relay mail after authentication…
This is probably my fault as I may have change something without remembering it. Anyway, here the commands to use to talk SMTP to your favorite server.
Continue reading…

Force HTTPS WordPress admin

If you want WordPress to force TLS encryption for the admin part of the site, then:

# vi wp-config.php
(...)
/* Force SSL Admin */
define('FORCE_SSL_ADMIN', true);
(...)

That’s All Folks!