Adds an SNMP manager to receive SNMP traps.
>>-addsnmpmgr--+--------+-- –ip--ip_address---------------------> +- –?----+ +- –h----+ '- –help-' >--+---------------------+--+----------------+------------------> '- –port--port_number-' '- –ver--+-v1--+-' '-v2c-' >--+------------------------+---------------------------------->< '- –community--community-'
Commas and colons are not valid characters in the community name. This name can be no longer than 128 characters in length.
You must have Administrator privileges to use the command.
You must be logged in to the operating system on the engine hosting the master metadata server to run this command.
To generate traps, you must add an SNMP manager and set the SNMP traps to be generated (using the settrap command). If an SNMP manager is not added, traps are not generated.
You can add up to two SNMP managers to SAN File System. One of these SNMP managers can be used by the optional Call Home feature.
When you change a disruptive cluster setting, dynamic cluster settings (such as SNMP settings) cannot be modified until you reboot the cluster.
sfscli> addsnmpmgr -ip 192.168.0.1 -port 8192 -ver v2c -community SNMPMgr1 SNMP manager 192.168.0.1 successfully added.
Parent topic: Administrative commands
Related reference
lssnmpmgr
lstrapsetting
rmsnmpmgr
settrap