Use Nagios to monitor for Dell systems warranty expirations

You know that here at E.S. we're big fans of monitoring.  Today I saw on a mailing list a post by Erinn Looney-Triggs who wrote a module for Nagios that uses dmidecode to gather a Dell's serial number then uses their web API to determine if it is near the end of the warantee period.  I think that's an excellent way to prevent what can be a nasty surprise.

Link to the code is here: Nagios module for Dell systems warranty using dmidecode

What unique things do you monitor for on your systems?
Posted by Tom Limoncelli at May 26, 2009 8:06 PM | Comments (7) | TrackBack (0)

TrackBack

TrackBack URL for this entry:
http://everythingsysadmin.com/cgi-bin/mt-tb.cgi/234

Comments

Link has error.

http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3094.html

Posted by: Bash at May 26, 2009 10:05 PM

wow, excellent plugin. Thanks for the link. I've been using dmidecode for a lot of things (including the service #'s), but I didn't consider this "mashup". Great.

Posted by: Matt Simmons at May 26, 2009 11:12 PM

There's a pretty serious bug in this script that's easily fixed. The days_left variable is a string, and the warning and critical thresholds are integers. This causes the result to be falsely OK. I'm a perl guy, and know very little Python, but this works for me. On line 98, insert this line:
days_left = int(days_left)

You can test this bug by setting the -w flag to a high number of days.

Posted by: Justin Ellison at May 27, 2009 1:05 PM

Yeah that has been fixed with the new release today.

Posted by: Anonymous at May 27, 2009 3:37 PM

yes ... this is the Excellent way to prevent

Posted by: Cheap computers at June 8, 2009 3:55 AM

yes ... this is the Excellent way to prevent
http://www.electrocomputerwarehouse.com

Posted by: Cheap computers at June 8, 2009 3:56 AM

The use of the Nagios plugins with some shell scripting magic opens up many many many options to check against. At first I used basic installs then I began getting record logs from nagios to push data into ganglia and those graphs have been addicting as I now want to graph just about anything.. I guess the next question becomes how much CPU power/resources will one be willing to give up in order to monitor anything that software can monitor like nagios or ganglia, or any other software with similar measurement or alert capabilities.

Posted by: NotMe at June 25, 2009 12:15 PM
Post a comment









Remember personal info?





Type the characters you see in the picture above.