Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Tivoli Netcool Supports Guide to the Nortel IEMS probe by Jim Hutchinson Document release: 2.0 Supports Guide to the Nortel IEMS probe Table of Contents 1Introduction...................................................................................................................................2 1.1Overview......................................................................................................................................2 2Troubleshooting...........................................................................................................................4 2.1Sending an SNMPv1 trap............................................................................................................4 2.2Checking the Nortel IEMS server................................................................................................5 2.3Performing a Manual Resync Request........................................................................................6 2.3.1SNMPWALK.............................................................................................................................6 2.3.2SNMPGETNEXT and SNMPGET............................................................................................6 IBM Copyright 2014 1 Supports Guide to the Nortel IEMS probe 1 Introduction 1.1 Overview The Nortel IEMS Probe is a direct SNMP monitoring probe, similar to the MTTrapd (SNMP) probe. The probe acquires event data by acting as a trap daemon and monitoring SNMP traps and events on both UDP and TCP sockets. When the probe starts, it performs a full resynchronization with the Nortel IEMS server using SNMPGET and SNMPGETNEXT. The probe then processes new alarms as they are generated. The Nortel IEMS server stores the most recently generated alarms in a cache table. It is possible to specify the number of alarms held in the cache table using the NlmConfigGlobalEntryLimit property (default 25). The value of NlmConfigGlobalEntryLimit muist reflect the value set on the Nortel IEMS server. Each alarm has a sequence number. If the Nortel IEMS probe misses one or more alarm, such as it receives alarms that do not have consecutive sequence numbers, it will perform either a full or an incremental resynchronization with the Nortel IEMS server. The type of synchronisation depends on the number of consecutive events that the probe has missed. If the number of consecutive events missed by the Nortel IEMS probe is greater than the number specified by the NlmConfigGlobalEntryLimit property, the probe performs a full resynchronization. If the number of consecutive events missed by the probe is less than or equal to this number, the probe performs an incremental resynchronization. IBM Copyright 2014 2 Supports Guide to the Nortel IEMS probe The Nortel IEMS probe uses two ports, one for sending SNMP requests to the Nortel IEMS server, the other for listening to SNMP traps. The diagram below illustrates which properties refer to which part of the communication process. Probe Nortel IEMS Server BindAddress NortelEMSHostName NortelEMSPort LISTEN GET Port LISTEN SEND The probe will request events when its experiences a drift in the event sequence numbers or when a resynchronisation requested is received. It is important to have the NlmConfigGlobalEntryLimit configured to be the same as the cache value in the Nortel IEMS server. IBM Copyright 2014 3 Supports Guide to the Nortel IEMS probe 2 Troubleshooting The NET-SNMP software is freely available for probe supported platforms from www.net-snmp.org. This software can be used to query the Nortel IEMS server and send events to the Nortel IEMS probe. Useful commands snmptrap : Sends a trap to a given ipaddress and port snmpwalk : Walks a given MIB snmpget : Gets values from a given OID snmpgetnext : Gets the next value from an OID The values that define the system are; Nortel IEMS Server:• NortelEMSHostName : IP Address or hostname of IEMS Server • NortelEMSPort : Port to which SNMPGET/SNMPGETNEXT requests are sent Nortel IEMS Probe:• BindAddress : IP-Address of probe server, used for multiple interfaces • Port : Port the probe listens for SNMP traps • Protocol : Type of SNMP traps listened for by the probe 2.1 Sending an SNMPv1 trap The net-snmp tools provide a command called snmptrap, that can send SNMPv1, SNMPv2 and SNMPv3 traps and informs to a given ip-address and port; e.g. snmptrap -v 1 -c public ipaddress:1620 "" "" 6 99 ""e Where ipaddress is the ip-address of the probe and 1620 the port it is listening on. By default UDP requests are sent. In order to specify TCP traps the following syntax is required; snmptrap -v 1 -c public TCP:ipaddress:1620 "" "" 6 99 ""e IBM Copyright 2014 4 Supports Guide to the Nortel IEMS probe 2.2 Checking the Nortel IEMS server Ensure that the Nortel IEMS Server is avaliable ping <NortelEMSHostName> traceroute <NortelEMSHostName> Check that the NortelEMSPort is active snmpwalk -v2c -Cc -c public <NortelEMSHostName>:<NortelEMSPort> SNMPv2-SMI::mib 2.118.1.2.2.1.10 Check the NlmConfigGlobalEntry matches the value set n the Nortel IEMS Server IBM Copyright 2014 5 Supports Guide to the Nortel IEMS probe 2.3 Performing a Manual Resync Request 2.3.1 SNMPWALK List of all active oid's : snmpwalk -v2c -Cc -c public ipaddress:8001 SNMPv2-SMI::mib 2.118.1.2.2.1.10 2.3.2 SNMPGETNEXT and SNMPGET Use snmpgetnext starting with .1.3.6.1.2.1.118.1.2.2.1.10 Where .1.3.6.1.2.1.118.1.2.2.1.10 is the active index oid snmpgetnext -t10 -r0 -v2c -c public ipaddress:8001 .1.3.6.1.2.1.118.1.2.2.1.1.10 Results:SNMPv2-SMI::mib 2.118.1.2.2.1.10.12.78.111.114.116.101.108.95.102.97.117.108.116.28.50.48.48.55.45.49.49.45.49.57.44.48.57.58.48 .50.58.53.48.46.52.44.43.48.48.58.48.48.1 = OID: SNMPv2-SMI::mib2.118.1.2.2.1.10.12.78.111.114.116.101.108.95.102.97.117.108.116.28.50.48.48.55.45.49.49.45.49.57.44.48.57.58.48 .50.58.53.48.46.52.44.43.48.48.58.48.48.1 Returned value is used in the next snmpgetnext command: snmpgetnext -t10 -r0 -v2c -c public ipaddress:8001 . 1.3.6.1.2.1.118.1.2.2.1.10.12.78.111.114.116.101.108.95.102.97.117.108.116.28.50.48.48.55.45.49.49.45.49.57.44.4 8.57.58.48.50.58.53.48.46.52.44.43.48.48.58.48.48.1 This is repeated until the original oid is returned . 1.3.6.1.2.1.118.1.2.2.1.10.12.78.111.114.116.101.108.95.102.97.117.108.116.28.50.48.48.55.45.49.49.45.49.57.44.4 8.57.58.48.50.58.53.48.46.52.44.43.48.48.58.48.48.1 From the list of oid's collected, extract the last digit of each oid collected : e.g. The return-oid is one ‘1’ . 1.3.6.1.2.1.118.1.2.2.1.10.12.78.111.114.116.101.108.95.102.97.117.108.116.28.50.48.48.55.45.49.49.45.49.57.44.4 8.57.58.48.50.58.53.48.46.52.44.43.48.48.58.48.48.1 IBM Copyright 2014 6 Supports Guide to the Nortel IEMS probe Perform an SNMPGET on the elements; snmpget -r0 -v2c -c public ipaddress:8001 .1.3.6.1.2.1.118.1.2.3.1.10. 12.78.111.114.116.101.108.95.102.97.117.108.116.return-oid.2 e.g. snmpget -r0 -v2c -c public ipaddress:8001 .1.3.6.1.2.1.118.1.2.3.1.10. 12.78.111.114.116.101.108.95.102.97.117.108.116.1.2 The returned value will be one of the following alarm types; nnExtAlarmWarning nnExtAlarmMinor ".1.3.6.1.4.1.562.29.234298042.1.0.302" ".1.3.6.1.4.1.562.29.234298042.1.0.303" nnExtAlarmMajor nnExtAlarmCritical ".1.3.6.1.4.1.562.29.234298042.1.0.304" ".1.3.6.1.4.1.562.29.234298042.1.0.305" nnExtAlarmClear ".1.3.6.1.4.1.562.29.234298042.1.0.301" nnIsoExtAlarmWarning ".iso.3.6.1.4.1.562.29.234298042.1.0.302" nnIsoExtAlarmMinor nnIsoExtAlarmMajor ".iso.3.6.1.4.1.562.29.234298042.1.0.303" ".iso.3.6.1.4.1.562.29.234298042.1.0.304" nnIsoExtAlarmCritical nnIsoExtAlarmClear ".iso.3.6.1.4.1.562.29.234298042.1.0.305" ".iso.3.6.1.4.1.562.29.234298042.1.0.301" nnNlmExtAlarmWarning nnNlmExtAlarmMinor ".1.3.6.1.4.1.562.29.6.1.0.302" ".1.3.6.1.4.1.562.29.6.1.0.303" nnNlmExtAlarmMajor nnNlmExtAlarmCritical ".1.3.6.1.4.1.562.29.6.1.0.304" ".1.3.6.1.4.1.562.29.6.1.0.305" nnNlmExtAlarmClear ".1.3.6.1.4.1.562.29.6.1.0.301" nnIsoNlmExtAlarmWarning ".iso.3.6.1.4.1.562.29.6.1.0.302" nnIsoNlmExtAlarmMinor nnIsoNlmExtAlarmMajor ".iso.3.6.1.4.1.562.29.6.1.0.303" ".iso.3.6.1.4.1.562.29.6.1.0.304" nnIsoNlmExtAlarmCritical nnIsoNlmExtAlarmClear ".iso.3.6.1.4.1.562.29.6.1.0.305" ".iso.3.6.1.4.1.562.29.6.1.0.301" IBM Copyright 2014 7