Archive

Posts Tagged ‘Computers’

Monitoring a RAID controller on a remote machine with MRTG

May 17th, 2014 No comments

In this post, I’ll show you how, using MRTG and xinetd, I set up monitoring of the temperature of a RAID controller on a remote machine.  I use the same technique to also graph the temperatures of the individual hard drives in the RAID array as well, and it can be used to graph just about anything.

raidtemp-day

Read more…

Fixing queues display in trixboxGraph

March 21st, 2012 No comments

I recently installed the trixboxGraph package to my trixbox CE asterisk PBX, and discovered that the functions related to queues were borken. I investigated and fixed it. There are two lines that need updating in tb-trixboxgraph/index.php.

--- index.orig.php 2012-03-21 10:02:54.000000000 -0700
+++ index.php 2012-03-21 10:04:51.000000000 -0700
@@ -136,7 +136,7 @@
fwrite ($f, "node [ style=\"filled\", fillcolor=\"#ffffff\" ];\n");

if ($showQueues) {
- $sql = "select distinct id from queues";
+ $sql = "select distinct id from queues_details";
if (!$res = mysql_query ($sql)) {
die ($sql . " => " . mysql_error ());
}
@@ -148,7 +148,7 @@
}
}
mysql_free_result ($res);
- $sql = "select id,data from queues where keyword='member'";
+ $sql = "select id,data from queues_details where keyword='member'";
if (!$res = mysql_query ($sql)) {
die ($sql . " => " . mysql_error ());
}

You can download the diff file here.

Greylisting

May 8th, 2008 No comments

I’ve implemented greylisting on my mail server, and I have to say that the initial impact is quite dramatic.

Greylisting is a relatively simple mechanism for defeating spam. Read more…

Playing around with GD, PHP and Latitude/Longitude

April 12th, 2008 No comments

A friend of mine asked whether or not I could create a service like MapLoco. They log the IP addresses of your visitors and create a nifty little map showing where they come from.

I told him that as long as I could get the latitude and longitude for a given IP address, I could very likely do it. Half an hour later, I had created a simple proof of concept example. Read more…

Using a sound card as a Music on Hold source in Asterisk

December 15th, 2007 6 comments

Using the line-in port with Trixbox or PBX-in-a-Flash (PiaF)

Asterisk is a fantastic piece of software. You get world class PBX functionality for free, in a package that you can reliably run on a desktop computer.

One area that Asterisk isn’t as world class in is Music on Hold (MoH). Sure, it’s there and it works, but it starts playing a file from the beginning whenever someone is placed on hold. If you have customers who call regularly, they’re hearing the same part of the same files all the time – not ideal.

What I wanted to do was use my MP3 player as a MoH source Read more…

Review: D-Link DPH-541 WiFi VoIP Phone

June 15th, 2007 11 comments
DPH-541 WiFi VoIP Phone

DPH-541 WiFi VoIP Phone

First Impressions

My first impression of this phone was that it’s attractive looking, with a stylish cellphone style flip design. Read more…

Cruising the Internet… NAKED!

July 7th, 2006 No comments

You may have read my last blog entry, where I talked about getting Naked (also known as “dry loop”) DSL service, which is having DSL without having a telephone number/account associated with it. After some thought and spending some time on figuring out where my access would come from during the transition period, I decided to go ahead and cancel my Verizon services and order from DSL Extreme. Read more…

Categories: Computers Tags: , ,

Mmmmmmmm…… Naked DSL…

June 9th, 2006 No comments

I’m looking at replacing the DSL service I have with Verizon. I currently have a telephone number which I don’t use, except for receiving the very, very occasional fax, and my for my DSL service. So I’m effectively spending $70-$80 per month for a 768k/128k DSL connection. That’s right, 768/128. Ugh. Read more…

Categories: Computers Tags: , ,