Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

ON THIS PAGE


When this object is created, it starts an SNMP process that handles some standard SNMP MIBs such as system uptime. Prior to starting the roSnmpAgent, you can register other OIDs for handling. You can set and retrieve these both by an SNMP client and by the script.

OID values are retrieved by an SNMP client without script interaction, and setting these values simply generates an event from roSnmpAgent stating that it has been changed. The script event handler can then retrieve new values and take appropriate action.

ifSnmpAgent

AddOidHandler(a As String, b As Boolean, c As Object) As Boolean
 
GetOidValue(a As String) As Object
 
SetOidValue(a As String, b As Object) As Boolean
 
Start() As Boolean

ifUserData

SetUserData(user_data As Object)

Sets the user data that will be returned when events are raised.

GetUserData() As Object

Returns the user data that has previously been set via SetUserData(). It will return Invalid if no data has been set.

ifMessagePort

SetPort(a As Object)

ifGetMessagePort

GetPort() As Object
 
  • No labels