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...
Who is Participating?
very basic snmp agent is bsnmpd, it serves only network.
Your tool should not reject such node. If it does it is tool's problem, not FreeBSD's or SNMP server's

cd /usr/ports/net-mgmt/bsnmpd
make install clean
echo bsnmpd_enable=YES >> /etc/rc.conf
cp /usr/local/etc/snmpd.config.example /usr/local/etc/snmpd.config

edit /usr/local/etc/snmpd.config to your preference - make it listen on IP address exposed to ManageEngine in addition to localhost, add "public" community.

/usr/local/etc/rc.d/ start

to test:
snmpwalk -v1 -cpublic
RufAuthor Commented: That's what I followed to configure SNMP. The first half of it contains the text.

RufAuthor Commented:
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 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 doesn't contain a bsnmpd directory...
How do I proceed...?

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 prefix=/usr
*default base=/usr/local/etc/cvsup
*default release=cvs
*default delete
*default use-rel-suffix
*default compress

ports-all tag=.

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, 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.

EE Cleanup Volunteer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.