454
Novell eDirectory 8.8 Administration Guide
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
Setting up SNMP Services on Linux (Other than SLES 9 or OES)
•
“Configuring the Master Agent” on page 454
•
“Starting the Master Agent” on page 454
•
“Starting the Subagent” on page 455
•
“Stopping the Subagent” on page 456
Configuring the Master Agent
Download
net-snmp-5.0.9-4.rh73.i386.rpm
from
http://sourceforge.net/projects/net-
snmp (http://sourceforge.net/projects/net-snmp)
.
The
net-snmp-5.0.9-4.rh73.i386.rpm
requires
rpm-4.0.4-7x.i386.rpm
to be
installed on the system. You can download this from
http://rpmfind.net/linux/RPM/rpm.org/rpm/
dist/rpm-4.0.x/rpm-4.0.4-7x.i386.html (http://rpmfind.net/linux/RPM/rpm.org/rpm/dist/rpm-4.0.x/
rpm-4.0.4-7x.i386.html)
.
Additionally, you need to make changes to the
snmpd.conf
file as specified in
“Snmpd.conf
Changes” on page 452
.
Starting the Master Agent
To start the master agent, firstly install and configure
net-snmp-5.0.9-4.rh73.i386.rpm
.
You can do so using any of the two options mentioned below. However, we recommend you to use
Option 1 as the second option requires you to uninstall the system-installed SNMP packages and this
may need you to uninstall all the dependent rpms too.
Option 1
1
Install net-snmp-5.0.9-4.rh73.i386.rpm and rpm-4.0.4-7x.i386.rpm on to a custom location for
example,
/home/ndssnmp
.
Install
net-snmp-5.0.9-4.rh73.i386.rpm
as follows:
# cd /home/ndssnmp
# rpm2cpio net-snmp-5.0.9-4.rh73.i386.rpm | cpio -ivd
2
Install
rpm-4.0.4-7x.i386.rpm
(this is dependent rpm which snmpd requires)
# cd /home/ndssnmp
# rpm2cpio rpm-4.0.4-7x.i386.rpm | cpio -ivd
3
Export the path as follows:
# export LD_LIBRARY_PATH=/home/ndssnmp/usr/lib
4
Start the master agent as follows:
# /home/ndssnmp/usr/sbin/snmpd -C -c
snmpd.conf
For example, if your
snmpd.conf
file is present in the
/etc
directory, the command would
be similar to the following:
# /home/ndssnmp/usr/sbin/snmpd -C -c /etc/snmpd.conf
Содержание EDIRECTORY 8.8 - GUIDE
Страница 4: ...novdocx ENU 01 February 2006...
Страница 16: ...16 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 68: ...68 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 90: ...90 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 184: ...184 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 249: ...250 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 307: ...308 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 333: ...334 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 371: ...372 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 439: ...440 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 519: ...520 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 529: ...530 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 555: ...556 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...