BLOG     |     FORUM
SNMP Utilities

Utilities Reference

A collection of simple utility methods


SNUT (Snmp Utilities)  (top level object)

The top level object in this interface is called "AtSnNovo.Snut".

Provides methods to perform simple SNMP operations like SNMPGET, WALK, SET, and various SNMPv3 operations like Key Localization, EngineID Discovery, etc.

Creating the top level object 

VBScript

Set Snut = CreateObject("AtSnNovo.Snut")

Ruby

snut  = WIN32OLE.New("AtSnNovo.Snut")

Events

No Events

Methods and Properties

NameParametersAccessDescription
SetAgent

An Agent object.

Typically you get the agent object via AgentManager.FindAgent

NASet the agent. All further operations will work on this agent.
GetObjectValueString : An OID
NA

Performs an SNMPGET for the OID and returns the value in a string.

 
Set Snut = CreateObject("AtnSnNovo.Snut")
Snut.SetAgent(ag)
val = Snut.GetObjectValue(".1.3.6.1.2.1.1.3.0")
 
DoGetNext
String : StartOIDNA

Performs a Get Next and returns the

NextOID, NextOIDValue, and a Type String

 

GetEngineID NoneNA 

Performs a SNMPv3 EngineID Discovery on the agent and returns the EngineID in a string.

 

OverrideAgentIPString : IP
NA

Use this if you have a lot of agents which share the same security characteristics. 

 

Snut.SetAgent(ag1)
(do stuff)
Snut.OverrideAgentIP("192.168.1.100")
(do stuff)
Snut.OverrideAgentIP("192.168.1.101")
(do stuff)