Manuel de l'administrateur | Table des matières |
Le simulateur de Trap SNMP ou de Notification SNMP de LoriotPro est un outil idéal pour la simulation et les tests des filtres de Trap. Trap Simulator vous permet de forger de faux Trap SNMPv1 ou des notifications snmp V2c et de les envoyer à n'importe quel récepteur de trap snmp tel que LoriotPro.
SNMP Trap simulation est très utile pour tester les filtres de Trap et vérifier que les actions associées sont bien exécutées. Il est difficile sur un serveur avec un agent SNMP de forcer la génération d'un trap SNMP ou un snmp v2c notification qui est envoyé lorsque le disque dur, une alimentation électrique d'un ventilateur sont en défaut.
Les trap SNMPv1 ont été défini dans la RFC 1157, avec les champs suivants:
Enterprise | Identifies the type of managed object generating the snmp v1 trap. Enterprise field contains value of sysObjectID of the device sending trap. For vendor specific snmp v1 traps, Generic snmp v1 trap type field is set to enterpriseSpecific(6). |
Agent address | Provides the address of the managed object generating the snmp v1 trap. |
Generic trap type | Indicates one of a number of generic snmp v1 trap types. |
Specific trap code | Indicates one of a number of specific trap codes. |
Time stamp | Provides the amount of time that has elapsed between the last network reinitialization and generation of the snmp v1 trap. |
Variable bindings | The data field of trap containing PDU. Each variable binding associates a particular MIB object instance with its current value. |
Les trap standard en snmp v1 sont:
0 | coldStart | The snmp device performs a power on |
1 | warmStart | The snmp device performs a sofwtare reload or ipl |
2 | linkDown | One of the interface of the snmp device went down |
3 | linkUp | One of the interface of the snmp device went up |
4 | authenticationFailure | A snmp manager tries to access a snmp agent with a wrong community or wrong user rights |
5 | egpNeighborLoss | Exterior gateway protocol loss a neighbor router |
6 | enterprise specific | Entreprise proprietary traps |
sysUpTime | Same as Time stamp in SNMPv1 trap |
snmpTrapOID | Trap identification field. For generic traps, values are defined in RFC 1907, for vendor specific traps snmpTrapOID is essentially a concatenation of the SNMPv1 Enterprise parameter and two additional sub-identifiers, '0', and the SNMPv1 Specific trap code parameter. |
VarBindList | A list of variable bindings |
Lancer le module Trap Simulator
Pour tester une action déclenché par un Trap snmp ou une Notification v2c , sélectionnez l'onglet Service de l'espace de travail et appeler le menu contextuel par un clic droit. Sélectionnez l'option Trap Simulator.
Load the trap simulator
Vous avez accès à l'interface du module Trap Simulator.
Description des snmp v2c notification et des snmp v1 trap
Name | The trap or notification name as defined in the MIB |
Trap V1 name or father | the full name of the trap in snmp v1 or the father object name for snmp v2c |
Version | the snmp version, snmp v1 or snmp v2 |
V1 Enterprise specific | A unique number that identifies this trap among all the traps from this vendor |
MIB | The MIB file compiled on the LoriotPro manager where is defines this trap or notification |
Objects | list of object, variable bindings and their value. Arbitrary value are assigned for the simulation. |
(NU) NULL
(ID) OBJECT ID
(OS) OCTET SRTING
(IN) INTEGER
(IP) IP ADDRESS
(CO) COUNTER
(GA) GAUGE
(TI) TIMETICKS
(HS) HEXA OCTET STRING
Version |
Generic snmp trap / Notification | Icon | Description |
---|---|---|---|
SNMP V1 |
0 - Cold Start |
A Cold Start snmp trap signifies that the SNMP entity, acting in an agent role, is reinitializing itself and that its configuration may have been altered |
|
SNMP V1 |
1 - Warm Start |
A Warm Start snmp trap signifies that the SNMP entity, acting in an agent role, is reinitializing itself such that its configuration is unaltered. |
|
SNMP V1 |
2 - Link Down |
A Link Down snmp trap signifies that the SNMP entity, acting in an agent role, has a Network Interface becoming down. |
|
SNMP V1 |
3 - Link Up |
A Link Down snmp trap signifies that the SNMP entity, acting in an agent role, has a Network Interface becoming up. |
|
SNMP V1 |
4 - Authentication Failure |
An Authentication Failure snmp trap signifies that the SNMP entity, acting in an agent role, has received a protocol message that is not properly authenticated. |
|
SNMP V1 |
5 - Egp |
EGP Router snmp trap |
|
SNMP V1 |
6 - Enterprise |
An Enterprise snmp trap signifies that the SNMP entity, acting in an agent role, has sent a snmp trap that is defined in the private MIB section. Enterprise |
|
unknown |
unrecognized trap | ||
SNMP V2 Notification |
V2 |
snmp v2c trap or snmp v2c notification type | |
SNMP V2 Notification |
V2 |
snmp v2c trap or snmp v2c notification type | |
SNMP V3 Notification |
V3 |
snmp v3 trap or snmp v3 notification type | |
SNMP V3 Notification |
V3 |
snmp v3 trap or snmp v3 notification type |
Si vous avez défini le filtre associé à un Trp SNMP les actions seront exécutées.
www.loriotpro.com |
|