|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaSnmp
NAME
Get-NaSnmp
SYNOPSIS
Returns configuration information of the SNMP agent daemon.
SYNTAX
Get-NaSnmp [-Controller <NaController>] [-WarningAction <ActionPreference>]
[-WarningVariable <String>] [<CommonParameters>]
DESCRIPTION
Returns configuration information of the SNMP agent daemon.
PARAMETERS
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
Required? false
Position? named
Default value
Accept pipeline input? false
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.Collections.Hashtable
NOTES
Category: snmp
API: snmp-status
-------------- Example 1 --------------
C:\PS>Get-NaSnmp
Returns configuration information of the SNMP agent daemon.
Name Value
---- -----
Communities {NetApp.Ontapi.Filer.Snmp.CommunityInfo}
Traphosts {x3550rre8.rtprre.testdomain}
Location RTP Building 1 3rd floor lab
IsTrapEnabled True
Contact
-------------- Example 2 --------------
C:\PS>(Get-NaSnmp).Communities
Get SNMP community list.
AccessControl Community
------------- ---------
ro public
-------------- Example 3 --------------
C:\PS>(Get-NaSnmp).Traphosts
Lists SNMP trap destinations.
HostName IpAddress
-------- ---------
x3550rre8.rtprre.testdomain 10.61.167.148
RELATED LINKS
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|