Hello,
My objective is to use prtg grapher tool to query a FreeBSD 7 machine
and produce a real time throughput graph. The FreeBSD 7 box is
configured as a Dummynet WAN emulator and I want to be able to see real
time throughput.
I am new to BSD and SNMP in general.
I found net-snmp in a google search and it seemed to be a plausible
solution as an SNMP agent for FreeBSD as I was not sure if there was
something native to FreeBSD 7 that could be used instead.
I downloaded net-snmp and installed per the instructions and received
the following responses (see below).
At this point I have some questions
1) Is net-snmp a suitable tool for my objective?
2) Is net-snmp optimal for the objective? Any other better solutions?
3) Did the install complete successfully?
4) Did the install complete enough that it is useable?
5) If the install did complete to a point where it should be useable is
there further documentation describing next step setup?
Any feedback would be most appreciated.
Thanks,
John Karr
--------------------------------------------------------
Net-SNMP configuration summary:
--------------------------------------------------------
SNMP Versions Supported: 1 2c 3
Net-SNMP Version: 5.2.5
Building for: freebsd7
Network transport support: Callback Unix TCP UDP
SNMPv3 Security Modules: usm
Agent MIB code: mibII ucd_snmp snmpv3mibs notification
target agen
_mibs agentx utilities
SNMP Perl modules: disabled
Embedded perl support: disabled
Authentication support: MD5 SHA1
Encryption support: DES AES
bsd# make
gcc -E -Iinclude -I./include
-I./agent
/mibgroup -I. -I. -DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin
-x c ./sedscript.in | egrep '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/
*#/#/g;s
#/ *#/#g;s/# g/#g/;' > sedscript
echo 's#DATADIR#/usr/local/share#g' >> sedscript
echo 's#LIBDIR#/usr/local/lib#g' >> sedscript
echo 's#BINDIR#/usr/local/bin#g' >> sedscript
echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g' >> sedscript
echo 's#SYSCONFDIR#/usr/local/etc#g' >> sedscript
/usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
making all in /root/net-snmp-5.2.5/snmplib
making all in /root/net-snmp-5.2.5/agent
making all in /root/net-snmp-5.2.5/agent/helpers
making all in /root/net-snmp-5.2.5/agent/mibgroup
/bin/sh ../../libtool --mode=compile gcc -I../../include -I.
-I../../agent -I../
../agent/mibgroup -I../../snmplib -g -O2 -Dfreebsd7 -c -o
mibII/tcp.lo mibII/
tcp.c
rm -f mibII/.libs/tcp.lo
gcc -I../../include -I. -I../../agent -I../../agent/mibgroup
-I../../snmplib -g
-O2 -Dfreebsd7 -c mibII/tcp.c -fPIC -DPIC -o mibII/.libs/tcp.lo
mibII/tcp.c: In function 'tcp_handler':
mibII/tcp.c:317: error: 'hz' undeclared (first use in this function)
mibII/tcp.c:317: error: (Each undeclared identifier is reported only
once
mibII/tcp.c:317: error: for each function it appears in.)
*** Error code 1
Stop in /root/net-snmp-5.2.5/agent/mibgroup.
*** Error code 1
Stop in /root/net-snmp-5.2.5/agent.
*** Error code 1
Stop in /root/net-snmp-5.2.5.
bsd# make test
making all in /root/net-snmp-5.2.5/snmplib
making all in /root/net-snmp-5.2.5/agent
making all in /root/net-snmp-5.2.5/agent/helpers
making all in /root/net-snmp-5.2.5/agent/mibgroup
/bin/sh ../../libtool --mode=compile gcc -I../../include -I.
-I../../agent -I../
../agent/mibgroup -I../../snmplib -g -O2 -Dfreebsd7 -c -o
mibII/tcp.lo mibII/
tcp.c
rm -f mibII/.libs/tcp.lo
gcc -I../../include -I. -I../../agent -I../../agent/mibgroup
-I../../snmplib -g
-O2 -Dfreebsd7 -c mibII/tcp.c -fPIC -DPIC -o mibII/.libs/tcp.lo
mibII/tcp.c: In function 'tcp_handler':
mibII/tcp.c:317: error: 'hz' undeclared (first use in this function)
mibII/tcp.c:317: error: (Each undeclared identifier is reported only
once
mibII/tcp.c:317: error: for each function it appears in.)
*** Error code 1
Stop in /root/net-snmp-5.2.5/agent/mibgroup.
*** Error code 1
Stop in /root/net-snmp-5.2.5/agent.
*** Error code 1
Stop in /root/net-snmp-5.2.5.
bsd#
John Karr | Network Systems Engineer | USA Consulting Services | BT
Infonet |
Tel: +1 630 218 5752 | Mob: + 1 847 366 1990
Email: [EMAIL PROTECTED] | http://www.bt.infonet.com
<BLOCKED::http://www.bt.infonet.com/> |
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users