<link>http://people.skolelinux.org/pere/blog/</link>
<atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
+ <item>
+ <title>SOAP based webservice from Dell to check server support status</title>
+ <link>http://people.skolelinux.org/pere/blog/SOAP_based_webservice_from_Dell_to_check_server_support_status.html</link>
+ <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/SOAP_based_webservice_from_Dell_to_check_server_support_status.html</guid>
+ <pubDate>Fri, 1 Jun 2012 15:20:00 +0200</pubDate>
+ <description><p>A few years ago I wrote
+<a href="http://people.skolelinux.org/pere/blog/Checking_server_hardware_support_status_for_Dell__HP_and_IBM_servers.html">how
+to extract support status</a> for your Dell and HP servers. Recently
+I have learned from colleges here at the
+<a href="http://www.uio.no/">University of Oslo</a> that Dell have
+made this even easier, by providing a SOAP based web service. Given
+the service tag, one can now query the Dell servers and get machine
+readable information about the support status. This perl code
+demonstrate how to do it:</p>
+
+<p><pre>
+use strict;
+use warnings;
+use SOAP::Lite;
+use Data::Dumper;
+my $GUID = '11111111-1111-1111-1111-111111111111';
+my $App = 'test';
+my $servicetag = $ARGV[0] or die "Please supply a servicetag. $!\n";
+my ($deal, $latest, @dates);
+my $s = SOAP::Lite
+ -> uri('http://support.dell.com/WebServices/')
+ -> on_action( sub { join '', @_ } )
+ -> proxy('http://xserv.dell.com/services/assetservice.asmx')
+ ;
+my $a = $s->GetAssetInformation(
+ SOAP::Data->name('guid')->value($GUID)->type(''),
+ SOAP::Data->name('applicationName')->value($App)->type(''),
+ SOAP::Data->name('serviceTags')->value($servicetag)->type(''),
+);
+print Dumper($a -> result) ;
+</pre></p>
+
+<p>The output can look like this:</p>
+
+<p><pre>
+$VAR1 = {
+ 'Asset' => {
+ 'Entitlements' => {
+ 'EntitlementData' => [
+ {
+ 'EntitlementType' => 'Expired',
+ 'EndDate' => '2009-07-29T00:00:00',
+ 'Provider' => '',
+ 'StartDate' => '2006-07-29T00:00:00',
+ 'DaysLeft' => '0'
+ },
+ {
+ 'EntitlementType' => 'Expired',
+ 'EndDate' => '2009-07-29T00:00:00',
+ 'Provider' => '',
+ 'StartDate' => '2006-07-29T00:00:00',
+ 'DaysLeft' => '0'
+ },
+ {
+ 'EntitlementType' => 'Expired',
+ 'EndDate' => '2007-07-29T00:00:00',
+ 'Provider' => '',
+ 'StartDate' => '2006-07-29T00:00:00',
+ 'DaysLeft' => '0'
+ }
+ ]
+ },
+ 'AssetHeaderData' => {
+ 'SystemModel' => 'GX620',
+ 'ServiceTag' => '8DSGD2J',
+ 'SystemShipDate' => '2006-07-29T19:00:00-05:00',
+ 'Buid' => '2323',
+ 'Region' => 'Europe',
+ 'SystemID' => 'PLX_GX620',
+ 'SystemType' => 'OptiPlex'
+ }
+ }
+ };
+</pre></p>
+
+<p>I have not been able to find any documentation from Dell about this
+service outside the
+<a href="http://xserv.dell.com/services/assetservice.asmx?op=GetAssetInformation">inline
+documentation</a>, and according to
+<a href="http://iboyd.net/index.php/2012/02/14/updated-dell-warranty-information-script/">one
+comment</a> it can have stability issues, but it is a lot better than
+scraping HTML pages. :)</p>
+
+<p>Wonder if HP and other server vendors have a similar service. If
+you know of one, drop me an email. :)</p>
+</description>
+ </item>
+
<item>
<title>Veileder fra DIFI om publisering av offentlige data</title>
<link>http://people.skolelinux.org/pere/blog/Veileder_fra_DIFI_om_publisering_av_offentlige_data.html</link>
forbedringer der (eller via epost og twitter for de som ønsker
det).</p>
-<p>Det eneste jeg virkelig savnet i veilederen var omtale av w3cs
-stjerneklassifisering av åpne datakilder, som jeg tror ville være
+<p>Det eneste jeg virkelig savnet i veilederen var omtale av
+<a href="http://www.w3.org/DesignIssues/LinkedData.html">w3cs
+stjerneklassifisering</a> av åpne datakilder, som jeg tror ville være
nyttige mentale knagger for de som vurderer å publisere sin
informasjon på som åpne data. Jeg har
<a href="https://github.com/difi/veileder-opnedata/issues/1">rapportert
<tr><td>2</td><td>Pris for blyfri 95 oktan, flyttall med punktum som desimalskille.</td></tr>
<tr><td>3</td><td>Klokkeslett da prisen ble oppdatert, format HH:MM. </td></tr>
<tr><td>4</td><td>Telefon-ID på formen Android-123456789012345 eller hex-kodet streng/MD5-sum</td></tr>
-<tr><td>5</td><td>tall, uviss betydning. muligens relatert til day-verdien.</td></tr>
+<tr><td>5</td><td>tall, uviss betydning. muligens relatert til day-verdien. <b>Oppdatering 2012-06-02: Denne verdien er antall bekreftelse en gitt pris har fått.</td></tr>
<tr><td>6</td><td>Pris for blyfri 98-oktan?</td></tr>
<tr><td>7</td><td>samme som felt 3</td></tr>
<tr><td>8</td><td>samme som felt 4</td></tr>
</description>
</item>
- <item>
- <title>ColorHug - USB and free software based screen color calibration</title>
- <link>http://people.skolelinux.org/pere/blog/ColorHug___USB_and_free_software_based_screen_color_calibration.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/ColorHug___USB_and_free_software_based_screen_color_calibration.html</guid>
- <pubDate>Fri, 18 May 2012 10:00:00 +0200</pubDate>
- <description><p>In january, I
-<a href="http://blog.cihar.com/archives/2012/01/17/colorhug-has-arrived/">discovered
-the ColorHug</a>, a USB dongle from
-<a href="http://www.hughski.com/index.html">Hughski</a> to calibrate
-the color on a computer screen. The software required is
-<a href="http://packages.qa.debian.org/c/colorhug-client.html">included
-in Debian</a>, and I decided back then to preorder from the next
-batch. Yesterday I finally heard back from them, and got the
-opportunity to order. Today I ordered mine, and eagerly await the
-delivery. I hope it arrive next week, as I got a confirmation that it
-should go in the mail on monday. :)</p>
-
-<p>If you want to ensure the colors on the screen match the intended
-colors, I suggest you check out this cheap tool with free software
-drivers. :)</p>
-</description>
- </item>
-
</channel>
</rss>