Trees | Index | Help |
|
---|
Package DataCollector :: Package plugins :: Module CollectorPlugin :: Class SnmpPlugin |
|
CollectorPlugin
--+
|
SnmpPlugin
Method Summary | |
---|---|
Convert a byte string to the date string 'YYYY/MM/DD HH:MM:SS' | |
Convert a byte string to an ip address string. | |
Convert a byte string to a mac address string. | |
Default snmp condition is true but it can be overridden. | |
Perform any plugin house keeping before calling user func process. | |
Inherited from CollectorPlugin :
checkColumns ,
hexToBits ,
maskToBits ,
name ,
objectMap ,
prepId ,
process ,
relMap
|
Class Variable Summary | |
---|---|
list |
conditionOids = []
|
NoneType |
snmpGetMap = None |
list |
snmpGetTableMaps = []
|
str |
transport = 'snmp'
|
Inherited from CollectorPlugin :
classname ,
compname ,
maptype ,
modname ,
order ,
relname
|
Method Details |
---|
asdate(self, val)Convert a byte string to the date string 'YYYY/MM/DD HH:MM:SS' |
asip(self, val)Convert a byte string to an ip address string. |
asmac(self, val)Convert a byte string to a mac address string. |
condition(self, device, log)Default snmp condition is true but it can be overridden. Default test is to check for condition oids. |
preprocess(self, results, log)Perform any plugin house keeping before calling user func process.
|
Class Variable Details |
---|
conditionOids
|
snmpGetMap
|
snmpGetTableMaps
|
transport
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:14 2007 | http://epydoc.sf.net |