The Simple Network Management Protocol (SNMP) is an Internet-standard protocol for managing devices on IP networks. The SNMP Get OIDs Adapter enables you to receive SNMP information about system devices, network devices, and other devices.
Property Name (screen) |
Property Name (Attach Adapter) |
Type |
Description |
Required? |
---|---|---|---|---|
SNMP version |
Version |
String |
Indicates whether to use SNMP version 1, 2c, or 3. The Sybase CEP SNMP Get and Set adapters support only SNMP versions 1 and 2c. |
Optional |
Community String |
CommunityString |
String |
The SNMP password. The default value is "public". The SNMP community string will be transmitted unencrypted. |
Optional |
Host machine |
Host |
String |
Either an IP address or a symbolic address of the host machine. Sybase CEP does not address issues of firewalls in accessing the host machine. If the host machine is not supplied, it defaults to localhost. |
Optional |
OID list |
OIDList |
String |
The Object ID (OID) of the device from which messages will be received. There may be an arbitrary number of OIDs entered into the OID list. It is your responsibility to ensure the SNMP datatype associated with the OID matches the Sybase CEP schema datatype. |
Required |
Seconds Per Poll |
SecondsPerPoll |
Integer |
The specified OID will be polled with this period (in seconds). The five second default suffices for testing purposes, but a poll of a minute or more is probably adequate for real-life situations. |
Optional |
These properties determine which SNMP object(s) send or receive the data. The schema of the stream depends on the device you are getting information for. To determine the fields needed in the stream schema, you may need to look at the Management Information Base (MIB) that describes the device.
This Sybase CEP demonstration adapter uses the Net-SNMP get_node () call to poll the OID. Other calls such as read_oid() or read_objio() may be more appropriate to a specific application. Get_node() was chosen because it provides access to a wide variety of OIDs.