| 
| Module Information Public.Tools.RRDtool
 Viewing contents of Public_Tools_RRDtool-1.4/.module.pmod.in.swp
 
b0VIM 6.4      ¾³D  AO  riffraff                                localhost.localdomain                   ~riffraff/src/Public_Tools_RRDtool-1.4/module.pmod.in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               3210#"! U                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     tp ÿ                  *                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ad     K        î  í  ß  Ô  Ê  
  c      À  ¬      y  ^  H  -            Û
  È
  §
  
  v
  e
  
  
  â  Ñ  ±       o  %  ý  ê  æ  ½  ª    z  .  ÷
  æ
  Î
  ¸
  ¦
  
  
  d
  V
  8
  *
  
  þ	  ´	  ¤	  	  	  f	  X	  9	  +	  
	  ÿ  ß  Ñ  x  Y  /         æ  Æ  ¸      k  ]  
  ý  õ  Ü  ¾  °      C  3  +    ö  è  Å  ·      i    ö  î  è  ä  á  Æ  ¡              G      ì  ³  ¢    w  ^  I  E  ,      þ  Ø  Ì  Ê  É      i  K  J           if (!zero_type(rraindex)) {   os+=({ filename });   array os=({ "first" }); int first(string filename, int|void rraindex) {  }   return m;   mapping m=rrd_fetch(sizeof(os),os);   }     os+=({ end });     os+=({ "--end" });   if (!zero_type(end)) {   }     os+=({ start });     os+=({ "--start" });   if (!zero_type(start)) {   os+=({ CF });     return ([]);   if (!has_value(({ "AVERAGE","MIN","MAX","LAST" }),CF))   os+=({ filename });   array os=({ "fetch" }); 	    string|void start, string|void end) { mapping fetch(string filename, string CF, int|void res,  } void dump() {  }   return res;   int res=rrd_create(sizeof(os),os); //  werror("os==%O\n",os); */   }     } 	break; 	os+=({ res }); 	res+=sprintf("RRA:%s:%d:%d:%d:%d",vals->CF,vals->rows,vals->threshold,vals->winlen,vals->rranum); 	if (!has_index(vals,"rranum")) 	  return -1; 	if (!has_index(vals,"winlen")) 	  return -1; 	if (!has_index(vals,"threshold")) 	  return -1; 	if (!has_index(vals,"rows"))       case "FAILURES": 	break; 	os+=({ res }); 	res=sprintf("RRA:%s:%d:%d",vals->CF,vals->rows,vals->rranum); 	  return -1; 	if (!has_index(vals,"rranum")) 	  return -1; 	if (!has_index(vals,"rows"))       case "DEVPREDICT": 	break; 	os+=({ res }); 	res=sprintf("RRA:%s:%d:%f:%d",vals->CF,vals->period,vals->gamma,vals->rranum); 	  return -1; 	if (!has_index(vals,"rranum")) 	  return -1; 	if (!has_index(vals,"gamma")) 	  return -1; 	if (!has_index(vals,"period"))       case "DEVSEASONAL":       case "SEASONAL": 	break; 	os+=({ res }); 	  res=sprintf("%s:%d",res,vals->rranum); 	if (has_index(vals,"rranum")) 	res=sprintf("RRA:%s:%f:%f:%d",vals->CF,vals->rows,vals->alpha,vals->beta,vals->period); 	  return -1; 	if (!has_index(vals,"period")) 	  return -1; 	if (!has_index(vals,"beta")) 	  return -1; 	if (!has_index(vals,"alpha")) 	  return -1; 	if (!has_index(vals,"rows"))       case "HWPREDICT": 	break; 	os+=({ res }); 	res=sprintf("RRA:%s:%f:%d:%d",vals->CF,vals->xff,vals->step,vals->rows); 	  return -1; 	if (!has_index(vals,"rows")) 	  return -1; 	if (!has_index(vals,"step")) 	  return -1; 	if (!has_index(vals,"xff"))       case "LAST":       case "MAX":       case "MIN":       case "AVERAGE":     switch (vals->CF) {       return -1; 			"DEVSEASONAL","DEVPREDICT","FAILURES" }),vals->CF))     if (!has_value( ({ "AVERAGE","MIN","MAX","LAST","HWPREDICT","SEASONAL",       return -1;     if (!has_index(vals,"CF"))     string res="";   foreach (RRA; int ind; mapping vals) {   }     os+=({ res }); 		(string)vals->min,(string)vals->max);     res=sprintf("DS:%s:%s:%d:%s:%s",vals->name,vals->DST,vals->heartbeat,       return -1;     if (!has_index(vals,"max"))       return -1;     if (!has_index(vals,"min"))       return -1;     if (!has_index(vals,"heartbeat"))       return -1;     if (!has_value( ({ "GAUGE","COUNTER","ABSOLUTE","DERIVE" }),vals->DST))       return -1;     if (!has_index(vals,"DST"))       return -1;     if (!has_index(vals,"name"))     string res="";   foreach (DS; int ind; mapping vals) { /*    os+=RRA;   os+=DS;     os+=options;   if (!zero_type(options))   os+=({ filename });   array os=({ "create" });     return -1;   if (sizeof(RRA)<1)     return -1;   if (sizeof(DS)<1) int rrdtool_create(string filename, array DS, array RRA, array|void options) {  */   *! RRA: array( mapping( CF: [AVERAGE|MIN|MAX|LAST], xff: , steps: , rows: ) ) 			  heartbeat: , min: , max: ) )  *! DS: array( mapping( name: ,DST: [GAUGE|COUNTER|DERIVE|ABSOLUTE],  *! step:  *! start: /*! filename:  inherit @module@; ad    T
     *   ä  Ì  È  ¥  £  ¢  y  _  E  -      õ  Ó  Ç  Å  Ä  ¨    y  W  U  T  :  8  7          ÿ
  þ
  Ô
  ¹
  £
  
  s
  q
  p
  W
  U
  T
  S
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       } void xport(array opts) {  }   return rrd_update(sizeof(os),os);   os+=vals;   os+=({ filename });   array os=({ "update" }); int update(string filename, array vals) {  } void tune(array opts) {  } void restore(array opts) {  } void resize(array opts) {  }   return rrd_last(sizeof(os),os);   os+=({ filename });   array os=({ "last" }); int last(string filename) {  }   return k;   int k=rrd_graph(sizeof(os),os);   os+=DEFs;     os+=options;   if (!zero_type(options))   os+=({ outputfile });   array os=({ "graph" }); 	   array|void options) { int graph(string outputfile, array DEFs,  }   return rrd_first(sizeof(os),os);   }     os+=({ rraindex });     os+=({ "--rraindex" }); 
 |  
 |