Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Profitez de récompenses et de remises réservées aux membres
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerEdge M1000e Chassis Management Controller Firmware Version 5.1 User’s Guide

PDF

Configuring SNMP Trap Alert Destinations Using RACADM

To configure IP alert destination using RACADM:
  1. Open a serial/Telnet/SSH text console to CMC and log in.
    • NOTE: Only one filter mask may be set for both SNMP and email alerting. You can skip step 2 if you have already selected the filter mask.
  2. Enable alert generation:
    racadm config -g cfgAlerting -o cfgAlertingEnable 1
  3. Specify the events for which alerts must be generated:
    racadm config -g cfgAlerting -o cfgAlertingFilterMask <mask value>
    where <mask value> is a hex value between 0x0 and 0xffffffff.

    To obtain the mask value, use a scientific calculator in hex mode and add the second values of the individual masks (1, 2, 4, and so on) using the <OR> key.

    For example, to enable trap alerts for Battery Probe Warning (0x2), Power Supply Failure (0x1000), and KVM failure (0x80000), key 2 <OR> 1000 <OR> 80000 and press the <=> key.

    The resulting hex value is 81002, and the mask value for the RACADM command is 0x81002.

    Table 1. Event Traps Filter Masks
    Event Filter Mask Value
    Fan Probe Failure 0x1
    Battery Probe Warning 0x2
    Temperature Probe Warning 0x8
    Temperature Probe Failure 0x10
    Redundancy Degraded 0x40
    Redundancy Lost 0x80
    Power Supply Warning 0x800
    Power Supply Failure 0x1000
    Power Supply Absent 0x2000
    Hardware Log Failure 0x4000
    Hardware Log Warning 0x8000
    Server Absent 0x10000
    Server Failure 0x20000
    KVM Absent 0x40000
    KVM Failure 0x80000
    IOM Absent 0x100000
    IOM Failure 0x200000
    Firmware Version Mismatch 0x400000
    Chassis Power Threshold Error 0x1000000
    SDCARD Absent 0x2000000
    SDCARD Error 0x4000000
    Chassis Group Error 0x8000000
    Server Sleeve Absent 0x10000000
    Fabric Mismatch 0x20000000
  4. Enable traps alerts:
    racadm config -g cfgTraps -o cfgTrapsEnable 1 -i <index>
    where <index> is a value between 1–4. CMC uses the index number to distinguish up to four configurable destinations for traps alerts. Destinations may be specified as appropriately formatted numeric addresses (IPv6 or IPv4), or Fully-Qualified Domain Names (FQDNs).
  5. Specify a destination IP address to receive the traps alert:
    racadm config -g cfgTraps -o cfgTrapsAlertDestIPAddr <IP address> -i <index>
    where <IP address> is a valid destination, and <index> is the index value specified in step 4.
  6. Specify the community name:
    racadm config -g cfgTraps -o cfgTrapsCommunityName <community name> -i <index>
    where <community name> is the SNMP community to which the chassis belongs, and <index> is the index value specified in steps 4 and 5.
    • NOTE: CMC uses a default SNMP community string as public. To ensure higher security, it is recommended to change the default community string and set a value which is not blank.

    You can configure up to four destinations to receive traps alerts. To add more destinations, repeat steps 2–6.

    • NOTE: The commands in steps 2–6 overwrites any existing settings configured for the index specified (1–4). To determine whether an index has previously configured values, type: racadm getconfig -g cfgTraps -i <index>. If the index is configured, values appear for the cfgTrapsAlertDestIPAddr and cfgTrapsCommunityName objects.
  7. To test an event trap for an alert destination, type:
    racadm testtrap -i <index>
    where <index> is a value 1–4 representing the alert destination you want to test.
    If you are not sure of the index number, use:
    racadm getconfig -g cfgTraps -i <index>

Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\