Package ZenRRD :: Package plugins :: Module plugin
[show private | hide private]
[frames | no frames]

Module ZenRRD.plugins.plugin

Function Summary
  basicArgs(env)
  cached(fname, cachedTime)
return the contents of a file if it is young enough
  getArgs(REQUEST, env)
  read(fname)
read a file, ensuring that the file is always closed

Variable Summary
list colors = ['00FF99', '00FF00', '00CC99', '00CC00', '00999...
str end = 'now'
int height = 100                                                                   
str label = ''
str name = 'test'
float now = 1187272488.046633                                                     
str perf = '/Users/simon/Zenoss/installations/current/perf'
str start = '-7d'
str title = 'Plugin Title'
str TMPDIR = '/tmp/renderserver'
int width = 500                                                                   

Function Details

cached(fname, cachedTime=600)

return the contents of a file if it is young enough

read(fname)

read a file, ensuring that the file is always closed

Variable Details

colors

Type:
list
Value:
['00FF99',
 '00FF00',
 '00CC99',
 '00CC00',
 '009999',
 '009900',
 '006699',
 '006600',
...                                                                    

end

Type:
str
Value:
'now'                                                                  

height

Type:
int
Value:
100                                                                   

label

Type:
str
Value:
''                                                                     

name

Type:
str
Value:
'test'                                                                 

now

Type:
float
Value:
1187272488.046633                                                     

perf

Type:
str
Value:
'/Users/simon/Zenoss/installations/current/perf'                       

start

Type:
str
Value:
'-7d'                                                                  

title

Type:
str
Value:
'Plugin Title'                                                         

TMPDIR

Type:
str
Value:
'/tmp/renderserver'                                                    

width

Type:
int
Value:
500                                                                   

Generated by Epydoc 2.1 on Thu Aug 16 09:55:12 2007 http://epydoc.sf.net