e.
Save the modified property file and exit the gedit utility.
3.
Configure the probe to run as a non-root user.
If using the default port number for SNMP traps, 162, you must run the probe as the
root
user.
If you do not want to run the probe as the
root
user, you must either use a different port number
for traps, something greater than 1024 or configure the probe to run with setuid. The following
steps describe how to configure the probe to run with setuid.
a.
Change to the
root
user:
su -
Password: object00
b.
Change the ownership of the probe binary file:
cd /opt/IBM/tivoli/netcool/omnibus/platform/linux2x86/probes64
chown root nco_p_mttrapd

7 Common integrations
exercises
Exercise 2 Installing the SNMP probe
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
IBM Tivoli Netcool/OMNIbus 8.1 Installation and Configuration
© Copyright IBM Corp. 2014
128
c.
Enable the probe to run as setuid root:
chmod +s nco_p_mttrapd
d.
Modify the dynamic linker runtime bindings file:
cd /etc
cp ld.so.conf ld.so.conf.orig
gedit ld.so.conf
Add the following lines to the bottom of the file:
/opt/IBM/tivoli/netcool/platform/linux2x86/lib64
/opt/IBM/tivoli/netcool/omnibus/platform/linux2x86/lib64
e.
Save the changes and exit the gedit utility.
f.
Reload the modified file:
ldconfig -v
g.
Exit the
root
user back to the
netcool
user:
exit
Important:
Make sure that you are the
netcool
user before proceeding.
4.
Start the probe as the
netcool
user.
a.
Start the probe:
nco_p_mttrapd &
b.
Check the log file for errors:
cd $OMNIHOME/log
more mttrapd.log
5.
Test the probe.
The easiest way to test the probe is to generate a specific SNMP trap and verify that the probe
sends the correct event to the ObjectServer.
a.
Log in to Dashboard Application Services Hub as the
ncoadmin
user.
b.
Open the Event Viewer.
Leave the Event Viewer window open.
The MIB Manager utility is bundled with Netcool/OMNIbus. One of the features is the ability to
generate SNMP trap messages. You use the MIB Manager utility to generate a coldStart trap.

7 Common integrations
exercises
Exercise 2 Installing the SNMP probe
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
© Copyright IBM Corp. 2014
Student Exercises
129
6.
Generate a coldStart SNMP trap as follows:
a.
Start the MIB Manager utility.
nco_mibmanager &
b.
Change the view to
Traps/Notifications
.
c.
Expand the entries in the OID Tree until the trap messages open.
d.
Click
coldStart
to select it.

7 Common integrations
exercises
Exercise 2 Installing the SNMP probe
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
IBM Tivoli Netcool/OMNIbus 8.1 Installation and Configuration
© Copyright IBM Corp. 2014
130
e.
Click
Trap
.

