|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.collectd.SnmpCollector
public class SnmpCollector
The SnmpCollector class ...
| Field Summary | |
|---|---|
static String |
SNMP_STORAGE_PRIMARY
Valid values for the 'snmpStorageFlag' attribute in datacollection-config XML file. |
| Fields inherited from interface org.opennms.netmgt.collectd.ServiceCollector |
|---|
COLLECTION_FAILED, COLLECTION_SUCCEEDED, COLLECTION_UNKNOWN, statusType |
| Constructor Summary | |
|---|---|
SnmpCollector()
|
|
| Method Summary | |
|---|---|
CollectionSet |
collect(CollectionAgent agent,
EventProxy eventProxy,
Map<String,String> parameters)
Perform data collection. |
RrdRepository |
getRrdRepository(String collectionName)
|
void |
initialize(CollectionAgent agent,
Map parameters)
Responsible for performing all necessary initialization for the specified interface in preparation for data collection. |
void |
initialize(Map parameters)
Initialize the service collector. |
void |
release()
Responsible for freeing up any resources held by the collector. |
void |
release(CollectionAgent agent)
Responsible for releasing any resources associated with the specified interface. |
String |
serviceName()
Returns the name of the service that the plug-in collects ("SNMP"). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String SNMP_STORAGE_PRIMARY
| Constructor Detail |
|---|
public SnmpCollector()
| Method Detail |
|---|
public String serviceName()
public void initialize(Map parameters)
initialize in interface ServiceCollectorparameters - Not currently used.
RuntimeException - Thrown if an unrecoverable error occurs that prevents the
plug-in from functioning.public void release()
release in interface ServiceCollector
public void initialize(CollectionAgent agent,
Map parameters)
initialize in interface ServiceCollectoragent - Network interface to be prepped for collection.parameters - Key/value pairs associated with the package to which the
interface belongs..public void release(CollectionAgent agent)
release in interface ServiceCollectoragent - Network interface to be released.
public CollectionSet collect(CollectionAgent agent,
EventProxy eventProxy,
Map<String,String> parameters)
collect in interface ServiceCollectoragent - Network interface to be data collected.eventProxy - Eventy proxy for sending events.parameters - Key/value pairs from the package to which the interface
belongs.public RrdRepository getRrdRepository(String collectionName)
getRrdRepository in interface ServiceCollector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||