I thought I would jot down a few notes about today's adventures with SNMP. Specifically using SNMP with Nagios mostly on Red Hat/CentOS. I have an appliance from a third-party from which I would like to monitor and graph performance. So view this as a... » More
In Linux to find files not owned by user using the 'find' command we negate with the exclamation mark so rather than:find . -user jonnywe use:find . ! -user jonnyWhere:find <dir> ! -user <username>
On a shared server with MySQL and Apache the MySQL server was periodically disallowing connections as there were already too many connections. The default is 150+1 so I added the following to /etc/my.cnfmax_connections=200To increase the maximum number... » More
Running Clam on a separate machine to our Mail Transfer Agent we needed to configure iptables to allow access to clam from those machines. Clamd listens for connections on port 3310 by default but appears to hand off to other 'passive' ports for each... » More
The Droid Sans font from Google Font Directory is a lovely font with great readability for use on web pages.To use Droid Sans add a css link:<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>then in... » More
If you plan to use URLBlacklist.com or Shalla rules in Dansguardian you may suffer from very slow (or impossible) restarts of the daemon. Dansguardian prefers the rules randomized rather than in alphabetical order. I couldn't find the randomize lines... » More
I needed to tail two log files in one terminal so on the server I was using:yum install screen screenCtrl-A c Ctrl-A Shift-s Ctrl-A TAB Ctrl-A " Run "tail -f filename1" in one frame then Ctrl-A TAB to the other... » More