NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Invoke-NaSnmpwalk

mark_schuren
4,364 Views

Hi scripters,

I've just stumbled across the Invoke-NaSnmp* cmdlets, and curiously wanted to try them out.

However :

PS H:\> Connect-NaController labfiler08

PS H:\> Invoke-NaSnmpWalk -OID .1.3.6.1.4.1.789.1

Invoke-NaSnmpWalk : Invalid Object Identifier : .1.3.6.1.4.1.789.1

Bei Zeile:1 Zeichen:18

+ Invoke-NaSnmpWalk <<<<  -OID .1.3.6.1.4.1.789.1

    + CategoryInfo          : InvalidOperation: (ucnlabfiler08:NaController) [Invoke-NaSnmpWalk], EONTAPI_EINVAL

    + FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Snmp.InvokeNaSnmpWalk

What format type / format do I need for the OID parameter to make this work?

Thanks,

regards,

Mark

1 ACCEPTED SOLUTION

JGPSHNTAP
4,364 Views

Try this.. but you will get everything..

invoke-nasnmpwalk .1.3.6.1.4.1.789.1.1.2.0

I tried to do invoke-nasnmpwalk -RAW but that didn't give us anything..

View solution in original post

2 REPLIES 2

JGPSHNTAP
4,365 Views

Try this.. but you will get everything..

invoke-nasnmpwalk .1.3.6.1.4.1.789.1.1.2.0

I tried to do invoke-nasnmpwalk -RAW but that didn't give us anything..

mark_schuren
4,364 Views

Thanks, this did the trick!

Public