...
You can append query options to the URI in the following format, ?option=value&option=value&...
Options
Div | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Wiki Markup | |||||||||||||||||||||||||||
{div:class=confluenceTableSmall}
|| Name || Default Value || Description ||
| {{type}} | none | The type of action you want to perform. Actually you can enter here {{POLL}} or {{TRAP}}. The value {{POLL}} will instruct the endpoint to poll a given host for the supplied OID keys. If you put in {{TRAP}} you will setup a listener for SNMP Trap Events. |
| {{protocol}} | {{udp}} | Here you can select which protocol to use. You can use either {{udp}} or {{tcp}}. |
| {{retries}} | {{2}} | Defines how often a retry is made before canceling the request. |
| {{timeout}} | {{1500}} | Sets the timeout value for the request in millis. |
| {{snmpVersion}} | {{0}} (which means SNMPv1) | Sets the snmp version for the request. |
| {{snmpCommunity}} | {{public}} | Sets the community octet string for the snmp request. |
| {{delay}} | {{60}} seconds | Defines the delay in seconds between to poll cycles. |
| {{oids}} | none | Defines which values you are interested in. Please have a look at the [Wikipedia | http://en.wikipedia.org/wiki/Object_identifier] to get a better understanding. You may provide a single OID or a coma separated list of OIDs. Example:
|
The result of a poll
Given the situation, that I poll for the following OIDs:
...