Element | Description | Class |
---|---|---|
component | SNMP Component | org.apache.servicemix.snmp.SnmpComponent |
poller | This is the polling endpoint for the snmp component. | org.apache.servicemix.snmp.SnmpPollingEndpoint |
trap-consumer | This is the trap endpoint for the snmp component. This endpoint receives and process trap PDUs from a device. Then it sends an exchange to the target service containing the processed content. | org.apache.servicemix.snmp.SnmpTrapConsumerEndpoint |
Element | Type | Description |
---|---|---|
endpoints | (poller | trap-consumer)* | |
executorFactory | <spring:bean/> | The executor factory to use to create the executor. If none is provided, one will be retrieved from the JBI container when the component is deployed into ServiceMix 3.x, or a default implementation will be used. |
Attribute | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
address | xs:string | Specifies the connection URI used to connect to a snmp capable device.
Example: udp:192.168.2.122/161 The default value is null | ||||||||
concurrentPolling | xs:boolean | Sets whether more than one poll can be active at a time (true means yes). Default value is false . | ||||||||
delay | xs:long | Sets the amount of time in milliseconds that the endpoint should wait before making the first poll. | ||||||||
endpoint | xs:string | The name of the endpoint. | ||||||||
firstTime | xs:date | Sets the date on which the first poll will be executed. If a delay is
also set using setDelay , the delay interval will be added
after the date specified. | ||||||||
interfaceName | xs:QName | The qualified name of the interface exposed by the endpoint. | ||||||||
period | xs:long | Sets the number of milliseconds between polling attempts. | ||||||||
retries | xs:integer | Specifies the connection retries. The default value is 2 | ||||||||
service | xs:QName | The qualified name of the service the endpoint exposes. | ||||||||
snmpCommunity | xs:string | Specifies the snmp community to use. The default value is "public" | ||||||||
snmpVersion | xs:integer | Specifies the snmp protocol version to use. The default value is 0 (version 1) | ||||||||
targetEndpoint | xs:string | the name of the endpoint to which requests are sent | ||||||||
targetInterface | xs:QName | the QName of the interface to which requests are sent | ||||||||
targetOperation | xs:QName | the QName of the operation to which requests are sent | ||||||||
targetService | xs:QName | the QName of the service to which requests are sent | ||||||||
targetUri | xs:string | Set the target service/endpoint/interface using a URI. | ||||||||
timeout | xs:integer | Specifies the connection time out in milliseconds. The default value is 1500 |
Element | Type | Description |
---|---|---|
marshaler | <spring:bean/> | Specifies a marshaler class which provides the logic for converting
a snmp response into a normalized message. This class has to implement
the |
oids | (<spring:bean/>)* | Specifies a reference to a list of OID values which will be used for
the snmp request. You have two possibilities how to specify the value:
|
scheduler | <spring:bean/> | Set a custom Scheduler implementation if you need more fine-grained control over the polling schedule. |
Attribute | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
address | xs:string | Specifies the connection URI used to connect to a snmp capable device.
Example: udp:192.168.2.122/162 The default value is null | ||||||||
enabled | xs:boolean | Specifies wether the endpoint is enabled or not. If its value is set to true, the connection data will be setted and trap PDUs will be processed. Otherwise, the endpoint won't do anything. | ||||||||
endpoint | xs:string | The name of the endpoint. | ||||||||
interfaceName | xs:QName | The qualified name of the interface exposed by the endpoint. | ||||||||
service | xs:QName | The qualified name of the service the endpoint exposes. | ||||||||
targetEndpoint | xs:string | the name of the endpoint to which requests are sent | ||||||||
targetInterface | xs:QName | the QName of the interface to which requests are sent | ||||||||
targetOperation | xs:QName | the QName of the operation to which requests are sent | ||||||||
targetService | xs:QName | the QName of the service to which requests are sent | ||||||||
targetUri | xs:string | Set the target service/endpoint/interface using a URI. |
Element | Type | Description |
---|---|---|
marshaler | <spring:bean/> | Specifies a marshaler class which provides the logic for converting
a snmp trap into a normalized message. This class has to implement
the |