Posts By: jonny

Nagios Check for Windows Updates

Nagios

My colleagues have been getting a little frustrated by the “Plugin Timeout” messages in Nagios resulting from the length of time it takes to check for Windows Updates. I had been using Jules Check for Windows Updates  that essentially boils down to calling: $updateSession = new-object -com “Microsoft.Update.Session” $updates=$updateSession.CreateupdateSearcher().Search((“IsInstalled=0 and Type=’Software'”)).Updates So I took Jules’… Read more »

QUB Wireless Settings

QUB_SEC QUB Wireless settings

The WiFi settings for qub_sec for Android and Linux devices: The certificate is available here and should be downloaded in advance and entered into the field labelled CA Certificate. SSID (wireless network name) =       qub_sec Authentication                           =        EAP-TTLS (PAP) Encryption / Association               =        WPA enterprise  (TKIP) For more info see… Read more »

Customising XBMC

XBMC Quick Links

Here are my tips for customizing XBMC, most of the changes to the settings are done so under System > System Settings > Skin > Settings Install the Fusion XBMCHub Repository From the Fusion Repository install the XbmcHub Wizard Edition Fix the Background Image by downloading an original and setting it under System > System… Read more »

Ripping Audio CDs with Asunder on Ubuntu

Asunder Rip audio CD

I had been using Sound Juicer on Ubuntu to rip Audio CDs to MP3 but looking for a bit more control (specifically over the bitrate) I had a play with Asunder: sudo apt-get install asunder Asunder will auto find the CDDB details for the CD to auto name the output files just like Sound Juicer:… Read more »

Mass delete bbpress spam posts

HeidiSQL Wordpress wp_posts

Having neglected a wordpress/bbpress installation for a bit I had the problem of dumping tens of thousands of spam and trash and pending items from bbpress. I took a look at the database: To get things done more quickly than using the web browser I deleted the items as follows. I created a php script… Read more »

Reset ntopng admin password

I had a comment on my recent Ntopng article from a user who needed to reset the admin password on ntopng. Ntopng uses redis as a backend data store. So first check that the redis server is actually running: netstat -luntap | grep redis You should get output similar to: tcp        0      0 127.0.0.1:6379              0.0.0.0:*                  … Read more »

Acer Aspire Reboots on Ubuntu Shutdown

I had a problem using Ubuntu and an Acer Aspire V5-571G. Every time I opted to shutdown, the laptop would reboot again after a few seconds. I found this article with the answer for Fedora and to make it work on Ubuntu I chose to replace the shutdown command as follows: sudo mv /sbin/shutdown /sbin/shutdown-default… Read more »

Munin Bootstrap Template: Munstrap

Alternative Munin Template

So after playing around with an alternative template from Munin 1.x I took some time to amend the standard Munin templates using Twitter Bootstrap as a base. The Munstrap files are available from GitHub. The files on GitHub include bootstrap (version 3.0.2) licensed under Apache License (and from bootstrap v 3.2 MIT license). The instructions… Read more »

ntopng on CentOS 6

ntopng

Ensure you have the EPEL repository installed first then do the following to add a repository for ntopng: vi /etc/yum.repos.d/ntop.repo Add the following (the deri bit at the end below is not cut off – it works): [ntop] name=ntop packages baseurl=http://rpm.ntop.org/$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri Install ntopng and dependencies: yum install pfring n2disk nProbe ntopng ntopng-data… Read more »

Installing Munin 2.x on Centos 6

Ensure you have the epel repository installed then: yum install –disablerepo=rpmforge munin-node.noarch munin.noarch The configuration file for Apache is located at: vi /etc/httpd/conf.d/munin.conf Create the username/password file referred to in the above file: htpasswd -cm /etc/munin/munin-htpasswd muninadmin New password: Re-type new password: Restart the munin-node service and ensure it starts on boot: /etc/init.d/munin-node start chkconfig… Read more »