1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/contrib/bsnmp
Hartmut Brandt 4232b8b134 This commit was generated by cvs2svn to compensate for changes in r155602,
which included commits to RCS files with non-trunk default branches.
2006-02-13 14:11:18 +00:00
..
gensnmpdef These files are not needed and were imported by accident in the 2005-10-04 14:51:55 +00:00
gensnmptree Vendor fix: initialize the flag field of a newly created node to be 0. 2006-01-10 11:52:51 +00:00
lib Vendor fix for the build problem of snmp_pf. Move the fallback definitions 2005-10-05 15:19:56 +00:00
snmp_mibII Vendor fix: make mibII HC counters really 64-bit on 32-bit platforms by polling 2006-02-13 14:11:18 +00:00
snmp_ntp Vendor fix for the build problem of snmp_pf. Move the fallback definitions 2005-10-05 15:19:56 +00:00
snmpd Vendor patch: string_get_max() function to return strings with a maximum 2006-02-07 15:48:37 +00:00
FREEBSD-upgrade
FREEBSD-Xlist Add snmp_ntp/Makefile.in to the exclude list. 2005-10-04 14:53:06 +00:00
NEWS Virgin import of bsnmpd 1.11 2005-10-04 14:41:06 +00:00
oid-list Vendor fix: make mibII HC counters really 64-bit on 32-bit platforms by polling 2006-02-13 14:11:18 +00:00
README
TODO
VERSION Virgin import of bsnmpd 1.11 2005-10-04 14:41:06 +00:00

Fri Dec  5 15:01:16 CET 2003

This is a mini-SNMP daemon. The basic daemon implements the system group
and a number of private extensions to manage the UDP transport mapping,
communities, trap destinations and loadable modules. In this form it can
be used to provide remote access to arbitrary data that can be described in
the form as required by the SMI. The daemon speaks both SNMPv1 and SNMPv2c.

One basic loadable module is provided together with the daemon:

- snmp_mibII provides the information groups for ip, tcp, and udp.

Installation
------------

As usual by doing:

	configure [--with-libbegemot[=path]]
	make
	make install

This does not install a configuration file. The standard location for the
configuration is /etc/snmpd.config, but can be overwritten on the command
line. An example configuration file is provided. Use --with-libbegemot
to use libbegemot instead of libisc.

Running
-------

	snmpd [-m name[=value]] [-p pid-file] [-c config-file] [-d] [-l prefix]
	      [-D debug-flags] [-I path]

	-m	defines a configuration macro. If no value is given it
		is set to the empty string.

	-p	specify the file where to store the PID. Default is
		/var/run/{prefix}.pid.

	-c	specify the configuration file. Default is /etc/{prefix}.config.

	-d	don't go into daemon mode.

	-l	specify the prefix. This is used for the default config and
		pid file names and for the syslog. Default is "snmpd".

	-D	specify debug flags:

		d	dump all PDUs.

		e	debug event library.

	-I	specify the include path for system configuration files.
		Default is /etc:/usr/etc:/usr/local/etc.

The directory snmpd contains a snmpd.sh script, which can be copied to
/usr/local/etc/rc.d to automatically start and stop the daemon. snmpd.config
is an example config script.

Bug reports:
-----------

Please report bugs to harti@freebsd.org.

Happy hacking,
harti