SNMP PDF
SNMP PDF
SNMP PDF
Reference Guide
April 30, 2009
Version 10.0.6299
SC23-6003-04
Note
Before using this information and the product it supports, read the information in Notices and Trademarks, on page 23.
Edition notice
This edition applies to version 10.0.6299 of IBM Tivoli Netcool/OMNIbus SNMP Probe (SC23-6003-04) and to all
subsequent releases and modifications until otherwise indicated in new editions.
This edition replaces SC23-6003-03.
Copyright International Business Machines Corporation 2006, 2009.
US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
Document control page . . . . . . . . v
IBM Tivoli Netcool/OMNIbus SNMP
Probe. . . . . . . . . . . . . . . . 1
Summary . . . . . . . . . . . . . . . 1
Features of the SNMP Probe . . . . . . . . . 3
Internationalization support . . . . . . . . . 3
Example multi-byte character set on Solaris . . . 3
Example multi-byte configuration on Windows . . 4
Installing the probe . . . . . . . . . . . . 4
Installing the Configuration Analyser . . . . . . 4
Running the Configuration Analyser . . . . . . 5
Requirements . . . . . . . . . . . . . . 7
SNMP V3 support . . . . . . . . . . . . 7
Adding new users to the configuration file . . . 7
Traps and informs . . . . . . . . . . . 8
Example usage . . . . . . . . . . . . 8
Running the probe as SUID root . . . . . . . 8
IP environment . . . . . . . . . . . . 9
Federal Information Processing Standards (FIPS)
support . . . . . . . . . . . . . . . . 9
Data acquisition . . . . . . . . . . . . . 10
Buffer settings . . . . . . . . . . . . 10
Trap queue size . . . . . . . . . . . . 11
Rules file . . . . . . . . . . . . . . 11
IP address resolution . . . . . . . . . . 11
Peer-to-peer failover functionality . . . . . . 11
Properties and command line options . . . . . 12
Elements . . . . . . . . . . . . . . . 17
Static elements . . . . . . . . . . . . 17
Dynamic elements . . . . . . . . . . . 19
Generic trap handling . . . . . . . . . . . 19
Error messages . . . . . . . . . . . . . 20
Error messages generated by the Configuration
Analyser . . . . . . . . . . . . . . . 21
ProbeWatch messages . . . . . . . . . . . 22
Appendix. Notices and Trademarks . . 23
Notices . . . . . . . . . . . . . . . . 23
Trademarks . . . . . . . . . . . . . . 25
Copyright IBM Corp. 2006, 2009 iii
iv IBM Tivoli Netcool/OMNIbus SNMP Probe: Reference Guide
Document control page
Use this information to track changes between versions of this guide.
The IBM Tivoli Netcool/OMNIbus SNMP Probe documentation is provided in
softcopy format only. To obtain the most recent version, visit the IBM Tivoli
Netcool Information Center:
http://publib.boulder.ibm.com/infocenter/tivihelp/v8r1/index.jsp?topic=/
com.ibm.tivoli.nam.doc/welcome_ptsm.htm
Table 1. Document modification history
Document
version
Publication
date Comments
00 October 10,
2007
First IBM publication.
01 December 29,
2007
VRM number updated.
Summary table updated.
Note about the lack of support for V3 privacy on the
Windows
for zSeries
added.
IPv6 support information added.
Information about the compatibilty of the probe with
Federal Information Protocol Standards (FIPS) added.
03 April 30, 2009 Support for the Configuration Analyser added.
Summary section updated.
Installing the probe topic added.
Installing the Configuration Analyser topic added.
Configuring the probe environment topic updated.
Running the Configuration Analyser topic added.
DSALog, DSAPeriod, and snmpv3ONLY properties
added.
New ProbeWatch message added.
Copyright IBM Corp. 2006, 2009 v
vi IBM Tivoli Netcool/OMNIbus SNMP Probe: Reference Guide
IBM Tivoli Netcool/OMNIbus SNMP Probe
The IBM Tivoli Netcool/OMNIbus SNMP Probe monitors SNMP traps and informs
on both UDP and TCP sockets concurrently.
The following topics describe the probe and how it works:
v Summary
v Features of the SNMP Probe on page 3
v Internationalization support on page 3
v Installing the probe on page 4
v Installing the Configuration Analyser on page 4
v Running the Configuration Analyser on page 5
v Requirements on page 7
v SNMP V3 support on page 7
v Federal Information Processing Standards (FIPS) support on page 9
v Data acquisition on page 10
v Properties and command line options on page 12
v Elements on page 17
v Generic trap handling on page 19
v Error messages on page 20
v Error messages generated by the Configuration Analyser on page 21
v ProbeWatch messages on page 22
Summary
Each probe works in a different way to acquire event data from its source, and
therefore has specific features, default values, and changeable properties. Use this
summary information to learn about this probe.
The following table summarizes the probe.
Table 2. Summary
Probe target SNMP traps and informs
Probe executable file name nco_p_mttrapd
mttrapd.check.jar (enables the probe to run
with the Configuration Analyser)
Patch number 10.0
Copyright IBM Corp. 2006, 2009 1
Table 2. Summary (continued)
Probe supported on Solaris, HP-UX, AIX
)
%OMNIHOME%\probes\arch\mttrapd.props
(Windows)
Rules file $OMNIHOME/probes/arch/mttrapd.rules
(UNIX)
%OMNIHOME%\probes\arch\mttrapd.rules
(Windows)
Requirements A currently supported version of IBM Tivoli
Netcool/OMNIbus.
Note: To use the Configuration Analyser,
you must be running Netcool/OMNIbus
V7.0 or later and you must install
tools-config-analyser-0.
probe-compatibility-3.x (UNIX only, on
IBM Tivoli Netcool/OMNIbus 3.6)
common-libcrypt-1_0 package (for IBM
Tivoli Netcool/OMNIbus 7.1 and 7.2 only)
common-libcrypt-1_0 patch (for IBM Tivoli
Netcool/OMNIbus 7.0 only)
Connection method Listens for SNMP traps using UDP, TCP,
UDPV6, and TCPV6
Remote connectivity Not available
Licensing Electronic licensing was deprecated with the
release of IBM Tivoli Netcool V7.2. All IBM
Tivoli Netcool V7.2 (and later) products use
the IBM software licensing process.
Peer-to-peer failover functionality Available
Internationalization support Available
2 IBM Tivoli Netcool/OMNIbus SNMP Probe: Reference Guide
Table 2. Summary (continued)
IP environment For communications between the probe and
IBM Tivoli Netcool/OMNIbus V7.2, the IPv6
environment is supported on UNIX
platforms only.
For communications between the probe and
IBM Tivoli Netcool/OMNIbus V7.2.1, the
IPv6 environment is supported on all
plaforms.
For communications between the probe and
the device, the probe supports the IPv6
environment on all platforms.
Federal Information Protocol Standards
(FIPS)
The IBM Tivoli Netcool/OMNIbus SNMP
Probe is compatible with FIPS.
Features of the SNMP Probe
The IBM Tivoli Netcool/OMNIbus SNMP Probe has various features that allow it
to handle generic traps.
The probe has the following features:
v Handles a high volume and high rate of traps
v Receives traps independently of trap processing using an internal queue
mechanism
v Handles high trap rates and high burst rates using two buffers: one buffer is for
all of the sockets that the probe monitors, and the another buffer is an internal
queue between the reader and writer sides of the probe
v Supports SNMP V1 traps, V2c traps, and V3 traps
v Supports SNMP V2c and V3 traps and informs
v Uses a USM-based V3 security model
Internationalization support
The probe supports multibyte character sets. To view the character sets correctly,
you must configure the locale settings on the host machine correctly. Each
multibyte character set is configured slightly differently on each platform.
Example multi-byte character set on Solaris
The following steps describe how to configure Solaris to use the Japanese character
set:
1. Install the necessary components for Japanese on to the host machine using the
Solaris CD.
2. Set the LANG and LC_ALL environment variables to ja_JP PCK. This uses SJIS
encoding.
Note: You may have to set the LANG in the host machines default settings file
and reboot it to make the changes take effect.
3. Make sure that the file $OMNIHOME/platform/arch/locales/locales.dat has the
following entry:
locale = ja_JP PCK, japanese, sjis
IBM Tivoli Netcool/OMNIbus SNMP Probe 3
where ja_JP PCK is the vendor locale, japanese is the Sybase language, and
sjis is the Sybase character set.
Example multi-byte configuration on Windows
The following steps describe how to configure Windows to use the Japanese
character set:
1. Install the necessary language pack using the Control Panel.
Note: You must reboot the machine to make the character set available.
2. Make sure the file,%OMNIHOME%\locales\locales.dat, has the following element:
locale = jpn, japanese, sjis
where jpn is the vendor locale, japanese is the Sybase language, and sjis is
the Sybase character set
Note: You must reboot the machine to be able to use the probe as a service in the
required locale.
Installing the probe
All probes follow a very similar installation procedure.
Installing the probe on UNIX platforms
To install the SNMP Probe on UNIX platforms, run the following command:
$OMNIHOME/install/nco_patch -install patch
Where patch is the file name of the patch that you have downloaded.
Installing the probe on Windows platforms
To install the SNMP Probe on Windows platforms, use the following steps:
1. Unzip the probe_zip_file file into a temporary location. (Where
probe_zip_file is the file name of the zip file that you downloaded.)
2. Copy the binary (and .dll if present) into your probe binary directory.
3. Copy the default .props and .rules into your probe binary directory if required.
To install the SNMP Probe as a Windows service, use the following steps:
1. Register the probe with the Service Control Manager by running the following
command:
probe_name.exe -install
(Where probe_name is the name of the executable in the zip file.)
2. If you are running the probe on the same machine as the ObjectServer, run the
following command line to register the dependency of the probe on the
ObjectServer service:
probe_name.exe -install -depend NCOObjectServer
3. Activate the probe by selecting Control Panel Services.
Installing the Configuration Analyser
This version of the probe supports the Configuration Analyser. It is supplied in a
separate patch, and can be installed either before or after the probe.
4 IBM Tivoli Netcool/OMNIbus SNMP Probe: Reference Guide
The Configuration Analyser allows you to fine-tune the configuration of the probe.
It checks all the probe settings and writes related messages about the configuration
to the probe message log.
Installing the Configuration Analyser on UNIX platforms
To install the Configuration Analyser on UNIX platforms, use the following steps:
1. Install Java 1.5 if it is not already installed on your system.
2. Run the following command:
$OMNIHOME/install/nco_patch -install patch
Where patch is the name of the Configuration Analsyer patch that you
downloaded.
Installing the Configuration Analyser on Windows platforms
To install the Configuration Analyser on Windows platforms, use the following
steps:
1. Install Java 1.5 if it is not already installed on your system.
2. Unzip the probe_zip_file file into a temporary location (where probe_zip_file
is the file name of the zip file that you downloaded)
3. Copy jlog.jar to %OMNIHOME%\java\jars
4. Copy ConfigAnalyser.jar to %OMNIHOME%\bin
5. Copy configAnalyser.xsd to %OMNIHOME%\probes\win32
6. Copy run_analyser.bat to %OMNIHOME%\probes\win32
Running the Configuration Analyser
Each probe that supports the Configuration Analyser is supplied with a JAR file
(probe_name.check.jar). This file contains details of the tests to be performed and
a set of predefined messages library. Using this JAR file, the analyser runs the tests
against the probe configuration test file, and writes the related messages taken
from the messages library to the probe log file.
When the probe launches the Configuration Analsyer, the analyser runs a series of
checks on the probe. The resultant output is displayed in real time on the
command line and is stored in $OMNIHOME/logs/probe_name.check.log (the test
file).
The Configuration Analyser checks the syntax of the test file against the rules
defined in the $OMNIHOME/arch/ConfigAnalyser.xsd file.
The Configuration Analyser then runs sequentially through all the tests detailed in
the xml file inside probe_name.check.jar, outputting any appropriate suggestions
from the internationalized message file also in the jar file.
Checks performed by the Configuration Analyser
The following is a list of the items that the Configuration Analyser checks for all
probes:
v Whether the primary ObjectServer is running.
v Whether the rules and properties files are present.
v Whether the connection to a socket is working to verify the probe backup
functionality.
IBM Tivoli Netcool/OMNIbus SNMP Probe 5
v Whether a secondary ObjectServer is configured.
v Whether the Probes Rules Syntax Checker is installed.
v Whether the rules file is syntactically correct.
v Whether there is space for log files.
All other tests that the analyser performs are specific to each individual probe.
Running the Configuration Analyser on UNIX platforms
To run the Configuration Analyser on UNIX platforms, run the probe from the
command line using -check as an additional argument, as follows:
$OMNIHOME/probes/probe_bin -check
Where probe_bin is the name of the probe binary.
Note: You can specify additional arguments on the command line along with
-check; these will override any equivalent settings found in the properties file.
Running the Configuration Analyser on Windows platforms
The way you run the Configuration Analsyer on Windows platforms depends on
how you run the probe.
If you run the probe using a batch file, run the following command:
%OMNIHOME%\probes\probe_batch -check
Where probe_batch is the name of the batch file that you use to run the probe.
Note: You can specify additional arguments on the command line along with
-check; these will override any found in the properties file.
If you run the probe directly, without using a batch file, run the following
command:
%OMNIHOME%\probes\run_analyser.bat -probebin probe_exe -probename
probe_name
Where probe_exe is the name of the probe executable and probe_name is the name
of the probe binary without the nco_p_ prefix.
Note: You can specify additional arguments on the command line; these will
override any found in the properties file.
Configuration Analyser Log file
On completion of these tests, the Configuration Analyser outputs a status message.
This status message states that either all the tests were successful, that details of
any configuration errors or suggestions have been written to the probe log file
probe_name.log.
Consult the log file for information about how to correct or improve the
configuration of the probe.
6 IBM Tivoli Netcool/OMNIbus SNMP Probe: Reference Guide
Requirements
The probe must not be run on a machine where another trapd process is running
(for example, HP NNM, or SunNet Manager), unless a different SNMP port is
specified in the command line or in the properties. When running the probe, the
user requires write access to the $OMNIHOME/var and the $OMNIHOME/log directories.
Note: If you want to use the Configuration Analyser, you must include the path to
Java 1.5 in the $PATH environment variable.
SNMP V3 support
The probe supports SNMP v3 traps and informs using USM for authentication and
privacy. Using USM, for each security name from which the probe receives traps,
you must specify a user that can log on to the probe. You must also specify a
unique user or engine ID for each trap source from which the probe receives traps.
Users are configured in the file Persistent_Dir/mttrapd.conf, where
Persistent_Dir is the name of the directory specified by the PersistentDir
property (which defaults to $OMNIHOME/var). To create this configuration file,
start and stop the probe after installation.
Note: This file also contains other SNMP V3 security information such as the
engine ID for the probe and the number of SNMP engine boots.
Note: When the probe is running SNMP V3, it is only compatible with FIPS 140-2
if it is using AES and SHA.
Adding new users to the configuration file
To create a new user, you must shut down the probe and, for user and
user/engine ID from which the probe receives traps, add a line to the
ConfPath/mttrapd.conf file, where ConfPath is the directory specified by the
ConfPath property.
The line you must add is as follows:
createUser [-e engineId] username authtype password [privtype privpassword]
After you have added the line for the new user, start the probe. The probe
generates the appropriate mttrapd.conf file in the PersistentDir directory, where
PersistentDir is the directory specified by the PersistentDir property.
Tip: To check that the user has been added correctly, look at the mttrapd.conf file
in the PersistentDir directory after you have started the probe; there should be an
entry for each user created at the end of this file, each such entry starts with the
string usmUser.
The following table describes the format of the createUser command in the
configuration file.
Table 3. Format of the createUser command
Item Description
engineId Use this item to specify an optional engine ID of
trap source associated with the user.
IBM Tivoli Netcool/OMNIbus SNMP Probe 7
Table 3. Format of the createUser command (continued)
Item Description
username Use this item to specify the security name of the
user.
authtype Use this item to specify an authentication type
(either MD5 or SHA).
password Use this item to specify the password (must be at
least eight characters).
privtype Use this item to specify the privacy type (either
DES or AES).
Note: DES uses a 16 byte key. The probe
truncates the encrypted 20 byte key to 16 bytes to
use it as the DES key.
privpassword Use this item to specify the privacy password (if
different from password).
Traps and informs
In SNMP V3 USM, the probe is the authoritative security engine for traps. The
engineId argument is required for each SNMP trap source so that the trap can be
authenticated.
The sender of the SNMP informs is the authoritative security engine in SNMP V3
USM. If informs are used, there is no requirement for the user to specify the
engineId of the inform sender.
Example usage
To receive SNMP informs from any device with the security name jack, add the
following to the mttrapd.conf file:
createUser jack MD5 password
To receive SNMP traps from a device with engineId 0x01020304050607 and the
security name jack, add the following line to the mttrapd.conf file:
createUser -e 0x01020304050607 jack MD5 password
Once the probe starts, the user information within the file is encrypted and
rewritten in the encrypted form, so plain text passwords are only held temporarily;
this increases security.
Running the probe as SUID root
The probe can be run as suid root without compromising system security. In this
mode, the probe drops its root privileges once it has opened the SNMP session,
and before the IBM
Tivoli
Printed in USA
SC23-6003-04