June 7, 2007

check_megaraid_sas Nagios plugin

This is somewhat related to my earlier posting about updating the megaraid drivers. I use Nagios at work for system monitoring and one thing that I like to check is the status of the volumes managed by the RAID controller. When I first started configuring the Nagios on my new PowerEdge 1950 and 2950 systems I found a check_perc5i over on Nagios Exchange.

Unfortunately the plugin only looked like it worked properly. It would report back correctly things like the number of volumes you had online, the number of disks, failed disks etc., but if you had a failed disk it would not actually return the proper error status. It just kept on going blindly saying OK : Bad Disks=3.

So I have written my own script to check the RAID controller status, check_megaraid_sas. It is somewhat similar to the work I did for the PERC3Di with afacli and Nagios quite a while back.

In order to use it you need to have LSI's MegaCli utility installed and the user executing the script will need to have sudo privileges (w/o a password) to execute it. Then you will end up with output like:
OK: 0:0:RAID-1:2 drives:68GB:Optimal 1:0:RAID-5:7 drives:2792GB:Optimal Drives:10 Hotspare(s):1
or (less good)
WARNING: 0:0:RAID-1:2 drives:74GB:Optimal 0:1:RAID-5:4 drives:1396GB:Optimal Drives:6 (3 Errors)

The warning is due to the detection of "other" disk errors on the drive. I am trying to find out from Dell if I can reset this count in the controller. Otherwise if it is cumulative I will probably modify my code to take a n argument for a threshold under which to ignore non-fatal errors. The output above is basically in the form:
<status> <controller #>:<volume #>:<RAID level>:<volume drive count>:<volume size>:<volume status> ... Drives:<total drives attached to controller(s)>

Posted by delgado at 11:11 AM | Comments (0)

May 10, 2007

SLES10 and megaraid_sas dkms

This is a quick write-up of the problem I had (and subsequent solution) with installing the latest version of the megaraid_sas driver (as used by the Dell PowerEdge 1950/2950/etc family for their PERC5 RAID controllers) on SLES 10.

Continue reading "SLES10 and megaraid_sas dkms"

Posted by delgado at 8:48 PM | Comments (3)

July 17, 2006

Bertucci's Sucks

Ok, this maybe isn't so much of a rant... just a strong complaint.

There is a Bertucci's not far from where I live in Cambridge, on Main St (they call it their Kendall Sq. restaurant, but it is really in Central Sq. ... I suspect it is wishful thinking on their part) . At one point in time, long long ago, it was your basic run of the mill Bertucci's. I.e. it served something along the lines of better-than-your-corner-pizza-shop pizza, salads, beer, and the service was OK. We, the young family, would go on occasion if we didn't feel like cooking and wanted something simple in a child-tolerant setting.

Then the service started to go down hill and the food quality suffered. Things would happen like your server forgetting about your order as it sat getting cold on the counter. Or pizzas that were under-cooked with raw dough in the middle. So we stopped going for a couple of years. We started going again a while back because we had activities in Central in the evenings, tried it again for a quick dinner, and it seemed to work OK (decent food, OK service at times).

Tonight though, it just completely sucked. I already wrote a bunch of feedback which I submitted to the Bertucci's website, but I figured I might as well dump it here as well to share with potential Googlers. Here is what I said:

Continue reading "Bertucci's Sucks"

Posted by delgado at 9:14 PM

May 28, 2006

Nantasket Beach

Playland Penny Arcade, Nantasket Beach

On May 27th, 2006 (a Saturday) I took a motorcycle ride down to Nantasket Beach in Hull, MA and took a few photos. If all you want is to cut to the chase and the photos, just go to the gallery page.

Otherwise, read on.

Continue reading "Nantasket Beach"

Posted by delgado at 6:33 PM

May 14, 2006

Nothing going on here, move on...

Oddly enough, when things are going on in life I fid myself far too busy to even think about working on my website, yet when things are quiet you don't have much to write about.

Life right now is in a wierd combination of the two: terribly busy in general, but not a whole lot going on. Or at least it seems this way. This is as likely due to the prolonged stretch of rainy weather that we have had here... I haven't seen any sunshine for a week and a half and the extended forecast doesn't offer much hope.

I have been able to set a bit of time aside though now and then and worked on my Triumph Speed Triple website, Speed Three. This evening, for example, I have started work on the "bits" section, a page well needed to help me retain the dribs and drabs of info I come across about bike accessories.

Posted by delgado at 9:40 PM

April 27, 2006

Transmetropolitan

Transmetropolitan,

I just finished reading all 10+ volumes of Transmetropolitan, written by Warren Ellis with art by Darick Robertson and Rodney Ramos, and I would honestly have to rank it as one of the best comics I have read.

Continue reading "Transmetropolitan"

Posted by delgado at 10:47 PM

September 25, 2005

Mass Brit Iron Assoc Fall 2005 Show Pics

I have put up a bunch of pics that I took today at the Massachusetts British Iron Assoc . Fall 2005 Show/Swap Meet. The pics are here.

Posted by delgado at 7:30 PM