bshistgraph.pl File Reference

#include "lib.pm"
#include "BigSister/common.pm"
#include "strict.pm"
#include "Statusmon/Statusmon.pm"
#include "Statusmon/Grapher.pm"
#include "DBCapsulator.pm"
#include "DBCapsulator/SearchFilter.pm"
#include "cfgfile.pm"
#include "FileHandle.pm"
#include "File/Path.pm"
#include "Time/Local.pm"
#include "POSIX.pm"

Public Functions

retval one_pass (scalar skinset, hash cgivars)
retval one_graph (scalar graph)
retval mkfilter (scalar ids, scalar timeoffset)
retval track_graphs ()
retval store_value (scalar graphinst, scalar time, scalar value)
retval track_inputvars ()
retval hostid (scalar host)
retval expand (scalar expr, scalar vars)
retval unavailable (scalar msg)
retval read_defs ()
int parse_date (scalar text, scalar time)
 Parses a date/time spec.
retval remembervars ()
retval choose_date ()
retval set_date ()
retval print_graph ()
retval extract_data (scalar def)
retval record (scalar time, scalar val)
retval gen_graph (scalar def)
retval serve_image ()
retval download_csv ()

Function Documentation

retval choose_date  ) 
 

retval download_csv  ) 
 

retval expand scalar  expr,
scalar  vars
 

retval extract_data scalar  def  ) 
 

retval gen_graph scalar  def  ) 
 

retval hostid scalar  host  ) 
 

retval mkfilter scalar  ids,
scalar  timeoffset
 

retval one_graph scalar  graph  ) 
 

retval one_pass scalar  skinset,
hash  cgivars
 

int parse_date scalar  text,
scalar  time
 

Parses a date/time spec.

The formats recognized include

d.m.y d.m m/d m/d/y

where the year is accepted in abbreviated (e.g. 05 for 2005) and full form. The date can be completed by a time in the form

h:m

so that a complete date/time spec might look like this:

d.m.y, h:m

The parser is very (too?) tolerant and basically it assumes that the date/time spec is valid.

Parameters:
text The date/time spec string to be parsed
time (optional) The default time if the text param does not include a time. If none given, time defaults to 00:00
Returns:
returns the unix time that corresponds with the date/time spec, undef if the spec does not parse.

retval print_graph  ) 
 

retval read_defs  ) 
 

retval record scalar  time,
scalar  val
 

retval remembervars  ) 
 

retval serve_image  ) 
 

retval set_date  ) 
 

retval store_value scalar  graphinst,
scalar  time,
scalar  value
 

retval track_graphs  ) 
 

retval track_inputvars  ) 
 

retval unavailable scalar  msg  ) 
 


Generated on Sat May 19 01:22:49 2012 for Big Sister by  doxygen 1.4.5