Citrix Systems CITRIX NETSCALER 9.3 Benutzerhandbuch

Seite von 195
To configure SNMP alarms by using the configuration utility
1. In the navigation pane, expand System, expand SNMP, and then click Alarms.
2. In the details pane, select an alarm (for example, Login-Failure), and then click
Open.
3. In the Configure SNMP Alarm dialog box, specify values for the following
parameters, which correspond to parameters described in "Parameters for
configuring SNMP alarms" as shown:
• Severity—severity
• Logging—logging
4. Click OK.
A message appears in the status bar, stating that the alarm has been configured
successfully.
Configuring Traps
After configuring the alarms, you need to specify the trap listener to which the
NetScaler appliance sends the trap messages. Apart from specifying parameters such as
IP address and the destination port of the trap listener, you can specify the type of trap
(either generic or specific) and the SNMP version.
You can configure a maximum of 20 trap listeners for receiving either generic or
specific traps.
You can also configure the NetScaler to send SNMP trap messages with a source IP,
other than the NetScaler IP address (NSIP), to a particular trap listener. You can set the
source IP to either a mapped IP address (MIP) or a subnet IP address (SNIP) configured
on the NetScaler appliance.
You can also configure the NetScaler to send trap messages to a trap listener on the
basis of a severity level. For example, if you set the severity level as Minor for a trap
listener, all trap messages of the severity level equal to or greater than Minor (Minor,
Major, and Critical) are sent to the trap listener.
If you have defined a community string for the trap listener, you must also specify a
community string for each trap that is to be sent to the listener. A trap listener for
which a community string has been defined accepts only trap messages that include a
community string matching the community string defined in the trap listener. Other
trap messages are dropped.
To add an SNMP trap by using the NetScaler command line
At the NetScaler command prompt, type the following commands to set the parameters
and verify the configuration:
w
add snmp trap <trapClass> <trapDestination> -version ( V1 | V2 ) -destPort <port> -
communityName <string> -srcIP <ip_addr> -severity <severity>
Citrix NetScaler Administration Guide
51