SNMP configuration
-
A subset of standard MIB-2 groups. Provides MIB-2 groups SYSTEM, IF, ICMP, UDP, and SNMP.
-
A system enterprise MIB. Provides system-specific configuration and statistics.
Add SNMP managers
add snmp manager <IPAddress> ... [-netmask <netmask>] show snmp manager <IPAddress>
add snmp manager 10.102.29.5 -netmask 255.255.255.255
Done
show snmp manager 10.102.29.5
10.102.29.5 255.255.255.255
Done
-
In the navigation pane, expand System, expand SNMP, and then click Managers.
-
In the details pane, click Add.
-
In the Add SNMP Manager dialog box, in the IP Address text box, type the IP address of the workstation running the management application (for example, 10.102.29.5).
-
Click Create, and then click Close.
-
Verify that the SNMP manager you added appears in the Details section at the bottom of the pane.
Add SNMP traps listeners
To add an SNMP trap listener by using the CLI
-
add snmp trap specific <IP> -
show snmp trap
Trap type: SPECIFIC
Destination IP: 10.102.29.3
TD: 0
Destination Port: 162
Source IP: NetScaler IP
Version: V2
Min-Severity: -
AllPartition: DISABLED
Community: public
To add an SNMP trap listener by using the GUI
-
In the navigation pane, expand System, expand SNMP, and then click Traps.
-
In the details pane, click Add.
-
In the Create SNMP Trap Destination dialog box, in the Destination IP Address text box, type the IP address (for example, 10.102.29.3).
-
Click Create and then click Close.
-
Verify that the SNMP trap you added appears in the Details section at the bottom of the pane.
Configure SNMP alarms
To enable or disable an alarm by using the CLI
-
set snmp alarm \<trapName\> \[-state ENABLED | DISABLED \]
-
show snmp alarm \<trapName\>Example
set snmp alarm LOGIN-FAILURE -state ENABLED
Done
show snmp alarm LOGIN-FAILURE
Alarm Alarm Threshold Normal Threshold Time State Severity Logging
\----- --------------- ---------------- ---- -------- --------- --------
LOGIN-FAILURE N/A N/A N/A ENABLED - ENABLED
Done
To set the severity of the alarm by using the CLI
-
set snmp alarm <trapName> [-severity <severity>] -
show snmp alarm <trapName>
set snmp alarm LOGIN-FAILURE -severity Major
Done
show snmp alarm LOGIN-FAILURE
Alarm Alarm Threshold Normal Threshold Time State Severity Logging
\----- --------------- ---------------- ---- -------- --------- --------
LOGIN-FAILURE N/A N/A N/A ENABLED Major ENABLED
Done
To configure alarms by using the GUI
-
In the navigation pane, expand System, expand SNMP, and then click Alarms.
-
In the details pane, select an alarm (for example, LOGIN-FAILURE), and then click Open.
-
In the Configure SNMP Alarm dialog box, to enable the alarm, select Enabled in the State drop-down list. To disable the alarm, select Disabled.
-
In the Severity drop-down list, select a severity option (for example, Major).
-
Click OK, and then click Close.
-
Verify that the parameters for the SNMP alarm you configured are correctly configured by viewing the Details section at the bottom of the pane.