/contrib/bsnmp/README

https://bitbucket.org/freebsd/freebsd-head/ · #! · 65 lines · 43 code · 22 blank · 0 comment · 0 complexity · d598b7656c5d65de70e1cb6f4171b62a MD5 · raw file

  1. Fri Dec 5 15:01:16 CET 2003
  2. This is a mini-SNMP daemon. The basic daemon implements the system group
  3. and a number of private extensions to manage the UDP transport mapping,
  4. communities, trap destinations and loadable modules. In this form it can
  5. be used to provide remote access to arbitrary data that can be described in
  6. the form as required by the SMI. The daemon speaks both SNMPv1 and SNMPv2c.
  7. One basic loadable module is provided together with the daemon:
  8. - snmp_mibII provides the information groups for ip, tcp, and udp.
  9. Installation
  10. ------------
  11. As usual by doing:
  12. configure [--with-libbegemot[=path]]
  13. make
  14. make install
  15. This does not install a configuration file. The standard location for the
  16. configuration is /etc/snmpd.config, but can be overwritten on the command
  17. line. An example configuration file is provided. Use --with-libbegemot
  18. to use libbegemot instead of libisc.
  19. Running
  20. -------
  21. snmpd [-m name[=value]] [-p pid-file] [-c config-file] [-d] [-l prefix]
  22. [-D debug-flags] [-I path]
  23. -m defines a configuration macro. If no value is given it
  24. is set to the empty string.
  25. -p specify the file where to store the PID. Default is
  26. /var/run/{prefix}.pid.
  27. -c specify the configuration file. Default is /etc/{prefix}.config.
  28. -d don't go into daemon mode.
  29. -l specify the prefix. This is used for the default config and
  30. pid file names and for the syslog. Default is "snmpd".
  31. -D specify debug flags:
  32. d dump all PDUs.
  33. e debug event library.
  34. -I specify the include path for system configuration files.
  35. Default is /etc:/usr/etc:/usr/local/etc.
  36. The directory snmpd contains a snmpd.sh script, which can be copied to
  37. /usr/local/etc/rc.d to automatically start and stop the daemon. snmpd.config
  38. is an example config script.
  39. Bug reports:
  40. -----------
  41. Please report bugs to harti@freebsd.org.
  42. Happy hacking,
  43. harti