Package DataCollector :: Package plugins :: Module CollectorPlugin :: Class CollectorPlugin
[show private | hide private]
[frames | no frames]

Class CollectorPlugin

Known Subclasses:
CommandPlugin, HttpPlugin, SnmpPlugin

Method Summary
  checkColumns(self, row, columns, log)
Check that all columns came back, this should be everywhere #1539 -EAD
  condition(self, device, log)
Test to see if this CollectorPlugin is valid for this device.
  hexToBits(self, mask)
Return the netmask as number of bits 0xffffff00 -> 24.
  maskToBits(self, mask)
Return the netmask as number of bits 255.255.255.0 -> 24.
  name(self)
Return the name of this plugin.
  objectMap(self, data)
  prepId(self, id, subchar)
  preprocess(self, results, log)
Perform any plugin house keeping before calling user func process.
  process(self, device, results, log)
Process the data this plugin collects.
  relMap(self)
Inherited from SRE_Pattern: isip

Class Variable Summary
str classname = ''
str compname = ''
str maptype = ''
str modname = ''
int order = 100                                                                   
str relname = ''
str transport = ''

Method Details

checkColumns(self, row, columns, log)

Check that all columns came back, this should be everywhere #1539 -EAD

condition(self, device, log)

Test to see if this CollectorPlugin is valid for this device.

hexToBits(self, mask)

Return the netmask as number of bits 0xffffff00 -> 24.

maskToBits(self, mask)

Return the netmask as number of bits 255.255.255.0 -> 24.

name(self)

Return the name of this plugin.

preprocess(self, results, log)

Perform any plugin house keeping before calling user func process.

process(self, device, results, log)

Process the data this plugin collects.

Class Variable Details

classname

Type:
str
Value:
''                                                                     

compname

Type:
str
Value:
''                                                                     

maptype

Type:
str
Value:
''                                                                     

modname

Type:
str
Value:
''                                                                     

order

Type:
int
Value:
100                                                                   

relname

Type:
str
Value:
''                                                                     

transport

Type:
str
Value:
''                                                                     

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