Link to home
Start Free TrialLog in
Avatar of Ruf
Ruf

asked on

How to install SNMP on FreeBSD 5.4 ?

Hi Guys
The intention was to Monitor my FreeBSD 5.4 machine from a Windows Workstation. I found the tool that would do that, "ManageEngine".
ManageEngine requires SNMP Agent to be running on the FreeBSD machine for which I followed the instruction in the first half of this document to install "Net-SNMP".
The problem is after completing everything and rebooting the box, the ManageEngine still complains saying SNMP Agent is not running on the FreeBSD.
I am not sure if I am right, but when I run a "Top" on FreeBSD, I do not see anything that could mean SNMP there. What could I have missed?

Thanks in advance for your time...
Ruf
Avatar of Ruf
Ruf

ASKER

silverwraith.com/papers/freebsd-snmp.php That's what I followed to configure SNMP. The first half of it contains the text.

Ruf
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ruf

ASKER

Hey Gheist
I am so sorry to have taken this long. Anyway, I was unable to install BSNMP, the /usr/ports/net-mgmt in FreeBSD 5.4 does not contain a bsnmpd directory. Second, I tried running pkg_add -r bsnmpd which also yealds to nothing. I see it checking the ftp site of freebsd.org and returning saying it couldn't find bsnmpd. In fact I verified to make sure I am not reading the report wrong. The FreeBSD site's ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/net-mgmt/ doesn't contain a bsnmpd directory...
How do I proceed...?

Thanks
Ruf
Take a upgrade path

FreeBSD 5.4 -> RELENG_5_4 ( i.e 5.4 + security patches )
ports -> CURRENT

as root:

cd /usr/ports/net/cvsup-without-gui
make install clean ; rehash

then run cvsup by using file with following content as parameter:

*default tag=RELENG_5_4
*default host=cvsup.xx.freebsd.org
*default prefix=/usr
*default base=/usr/local/etc/cvsup
*default release=cvs
*default delete
*default use-rel-suffix
*default compress

ports-all tag=.
src-all

replace xx with your country code, or some nearby country code.

next remove /usr/ports/INDEX-5*
then install /usr/ports/sysutils/portupgrade
and /usr/ports/sysutils/portaudit

now rehash and run portaudit -Fda and portversion -c

hope you understand what has to be done now.

now go to www.freebsd.org/handbook, and look how to rebuild kernel and system. despites many warnings such close upgrade does not fail.

now you are ready to install bsnmpd!!!

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept gheist http:#16315040 

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer