Alright, then let’s get this started.
Step-by-step
[list=1]
[]Make sure that you have the Apache DroboApp installed.
[]Mount the DroboApps share.
[]Go to apache/www
[]Create a new telnet.php file in there, with this content:
[code]<?php
header(“Content-type:”,“text/xml”);
$cfgServer = “localhost”;
$cfgPort = 5000;
$cfgTimeOut = 10;
$drobofs = fsockopen($cfgServer, $cfgPort, $errno, $errstr, $cfgTimeOut);
function shutdown() {
if ($drobofs) {
fclose($drobofs);
}
}
register_shutdown_function(‘shutdown’);
if (!$drobofs) {
echo “Connexion failed\n”;
exit();
} else {
//fputs ($drobofs, “toto\r\n”);
// clear the XML declaration from the “DRINASD (” prefix
echo substr(fgets($drobofs, 128),16);
// read lines until end of “” is seen
while (!feof($drobofs)) {
$line = fgets($drobofs, 128);
echo $line;
if (strpos($line, “”) === 0) exit();
}
exit();
}
?>
[/code]
[]Now open your favorite browser and go to http://<drobo.fs.ip.adress>:8080/telnet.php
[]What you get back is something like this (you have to view the source of the page):
[code]
<?xml version="1.0" encoding="utf-8"?>
ESAINFO
1
16131
###serial number here###
###serial number here###
DroboFS
1.1.1 [4.24.34540]
Jan 20 2011,14:10:23
ArmMarvell
1048063
3
0
1
98304
0
2949922160640
2479126380544
470795780096
250120765440
2478763794432
8500
9500
0
0
0
1
0
DroboFS
0
8
0
3
500107862016
1
3
500107862016
2
3
500107862016
3
3
1500301910016
4
3
2000398934016
5
128
0
6
128
0
7
128
0
0
1000
17592186044416
2478763794432
2
2
3
64
0
1001
2478763794432
0
1
6
1
16
DroboFS
0
0
0
6
13
1
###disk pack id here###
7
1
[/code]
[/list]
As you can see, the PHP file just opens a connection to a telnet server listening to port 5000, reads the XML file, and closes the connection.
The telnet server has no authentication, and just produces the XML file above periodically. I found it by spying (wireshark) on the Dashboard. Actually, there are another 2 other ports accessed by the dashboard (5001: an authenticated - but not encrypted - command channel, and 5002: a broadcast beacon), but let’s leave those for another day.
Notice that I commented out some of the items (serial number, disk pack id). The rest of the data is pretty much anonymous, unless you don’t want people to find out what a cheap b*stard you are for using 500 GB HDDs, like myself. 
So, what I’m looking for is more of these XML files to test the UI I’m making. In particular I need files from bad situations, i.e., a drive is missing or went bad, during rebuild (leds blinking), drive almost full, etc.
Please post your XML files below, or send them to me via private message. Any help is appreciated.