|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Invoke-NcSnmpGetNext
NAME
Invoke-NcSnmpGetNext
SYNOPSIS
Retrieves the next OID in the MIB tree of data.
SYNTAX
Invoke-NcSnmpGetNext [-OID] <String> [-Controller <NcController[]>] [<Common
Parameters>]
DESCRIPTION
Retrieves the next OID in the MIB tree of data. Instead of returning the da
ta you requested, it returns the next OID in the tree and its value. Unlike
Invoke-NaSnmpGet, this API does return data for an OID which is too short o
r is missing the index part of the OID. This is a convenience method, not a
high-performance SNMP query tool.
PARAMETERS
-OID <String>
Object Identifier of a snmp object. The OID may be a fully qualified OI
D or a partial OID. Only numeric OID's (ex: .1.3.6.1.4.1.789.1.1.1.0) a
re allowed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
System.Object
NOTES
Category: snmp
API: snmp-get-next
Family: cluster
-------------- Example 1 --------------
C:\PS>Invoke-NcSnmpGetNext 1.3.6.1.4.1.789.1.1.1.0
Get the OID after the one specified.
NcController : 10.61.172.155
NextObjectId : 1.3.6.1.4.1.789.1.1.2.0
Value : NetApp Release RollingRock__8.1.0 Cluster-Mode: Tue Aug
23 05:34:04 PDT 2011
IsValueHexadecimal : False
RELATED LINKS
Invoke-NcSnmpGet
Invoke-NcSnmpWalk
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|