I have done a trivial port. I am sure an actually python coder could do better but here it is (attached). We used dmidecode on most of our Dell clients anyway for bb-cpu2.sh anyway so it is already set up for sudo.
From: "T.J. Yang" <tj_yang at hotmail.com> Reply-To: <hobbit at hswn.dk> Date: Wed, 27 May 2009 15:46:57 -0500 To: hobbit system monitoring <hobbit at hswn.dk> Subject: RE: [hobbit] help for check_dell_warranty
Checked on two RH Linux boxes running on HP and IBM hardware, Serial number is in dmidecode but dmidecode from RH doesn't take "-s" option to show only serial number. So more parsing work needed.
"Nice to have" feature but not a "must have" to me.
T.J. Yang
Date: Wed, 27 May 2009 20:12:16 +0200 From: martin.flemming at desy.de To: hobbit at hswn.dk Subject: [hobbit] help for check_dell_warranty
Hi !
Today, a nagios dell_warranty-check script was a released, which looks pretty great and easy to integrate to xymon ...
.. it needs root-permisssion ...
[pal34] /usr/lib/hobbit/client/ext/check_dell_warranty.py
Warranty start date: 7/24/2008 End date: 7/23/2011 Days left: 787
.. is there anybody to help or maybe likes it's so much too, but have more coding experience/praxis as me .. :-(
thanks & cheers,
Martin
P.S.: Has somebody got more nagios-pluggins integrated .. ?
Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : 040 - 8998 - 4667 22603 Hamburg mail : martin.flemming at desy.de
---------- Forwarded message ---------- Date: Wed, 27 May 2009 10:25:15 -0600 From: Erinn Looney-Triggs To: linux-poweredge at lists.us.dell.com Subject: check_dell_warranty version 1.1 released
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I don't plan on spamming y'all with release announcements but given that this fixes a rather stupid bug, wherein the plugin does not return the right status I thought I would let you folks know that I have released version 1.1 of this plugin, location is the same:
http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F3094.html;d=...
And again if you run into any issues please let me know.
Thanks to David Sparks for noticing this problem and letting me know.
- -Erinn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkodaWsACgkQJqsQ+sq8O4FywwCeKYIQPlUf++GCKyDV1hzURgdH /eYAn2BgJ1xJ1NE23Lwh14vDFIIefKYI =yo6c -----END PGP SIGNATURE-----
Linux-PowerEdge mailing list Linux-PowerEdge at lists.us.dell.com https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hotmail® goes with you. http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial... obile1_052009 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk