+function(doc) {
+ var ts = (new Date()).getTime()/1000;
+ var pl = /.planetlab/;
+
+ if ( doc.type == "node-status-v3-single" ) { // doc.hostname && doc.rpm_versions ) {
+ // emit(doc.hostname, doc);
+ emit([doc.ts, doc.hostname], doc);
+ //if ( ts - 60*60*24 < doc.ts ) {
+ //}
+ }
+
+}