On Wed, Apr 29, 2009 at 8:35 PM, Brandon Weisz <li...@avioc.org> wrote:
> Maxim Khitrov wrote:
>> On Mon, Apr 27, 2009 at 2:19 PM, Anton Yuzhaninov <cit...@citrin.ru>
>> wrote:
>>> On Mon, 27 Apr 2009 12:28:01 -0400, Maxim Khitrov wrote:
>>> MK> I'm setting up a firewall and would like to monitor certain system
>>> MK> parameters like network, cpu, and memory usage. SNMP is an obvious
>>> MK> choice to do the monitoring and I'm planning to set up rrdtool to
>>> MK> generate graphs of captured data. The question is what SNMP agent to
>>> MK> use. I found net-snmp and bsnmpd (which is included in the base
>>> MK> system). Has anyone here used both implementations, and if so, what
>>> MK> are the basic differences?
>>> main difference is the set of supported MIBs.
>>> In general net-snmp supports more MIBs than bsnmpd.
>>> E. g. BEGEMOT-PF-MIB supported only by bsnmpd and useful for monitoring
>>> pf(4),
>>> UCD-SNMP-MIB supported only by net-snmp and useful for monitoring CPU
>>> load
>>> (ssCpuRaw* counters).
>> Is there any other documentation to bsnmpd besides the one man page?
>> I'm trying to figure how to configure the daemon (first task is stop
>> it from listening on *:*), but besides the man page and few comments
>> in /etc/snmpd.config there is no other information that I can find.
>> - Max
> I cant speak to the documentation, but this seems to limit it to listening
> on a single address:
> Example..
> # open standard SNMP ports
> begemotSnmpdPortStatus. = 1

Thanks, but I tried this already. It causes bsnmpd to listen on the
given IP as well, but doesn't remove the *:* entry:

r...@gw1 [/root]# sockstat -l4
root     bsnmpd     61251 4  udp4   *:*                   *:*
root     bsnmpd     61251 5  udp4         *:*

The author suggested using "begemotSnmpdPortTable. = 1" and
change the IP there, but this causes the following error:

Apr 30 08:59:59 gw1 snmpd[78798]: unknown variable
Apr 30 08:59:59 gw1 snmpd[78798]:   in file /usr/local/etc/bsnmpd.conf line 20
Apr 30 08:59:59 gw1 snmpd[78798]: error in config file

- Max
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to