1124861ShartiFri Dec 5 15:01:16 CET 2003 2122394Sharti 3122394ShartiThis is a mini-SNMP daemon. The basic daemon implements the system group 4122394Shartiand a number of private extensions to manage the UDP transport mapping, 5122394Sharticommunities, trap destinations and loadable modules. In this form it can 6122394Shartibe used to provide remote access to arbitrary data that can be described in 7122394Shartithe form as required by the SMI. The daemon speaks both SNMPv1 and SNMPv2c. 8122394Sharti 9122394ShartiOne basic loadable module is provided together with the daemon: 10122394Sharti 11122394Sharti- snmp_mibII provides the information groups for ip, tcp, and udp. 12122394Sharti 13122394ShartiInstallation 14122394Sharti------------ 15122394Sharti 16122394ShartiAs usual by doing: 17122394Sharti 18124861Sharti configure [--with-libbegemot[=path]] 19124861Sharti make 20124861Sharti make install 21122394Sharti 22122394ShartiThis does not install a configuration file. The standard location for the 23122394Sharticonfiguration is /etc/snmpd.config, but can be overwritten on the command 24124861Shartiline. An example configuration file is provided. Use --with-libbegemot 25124861Shartito use libbegemot instead of libisc. 26122394Sharti 27122394ShartiRunning 28122394Sharti------- 29122394Sharti 30122394Sharti snmpd [-m name[=value]] [-p pid-file] [-c config-file] [-d] [-l prefix] 31122394Sharti [-D debug-flags] [-I path] 32122394Sharti 33122394Sharti -m defines a configuration macro. If no value is given it 34122394Sharti is set to the empty string. 35122394Sharti 36122394Sharti -p specify the file where to store the PID. Default is 37122394Sharti /var/run/{prefix}.pid. 38122394Sharti 39122394Sharti -c specify the configuration file. Default is /etc/{prefix}.config. 40122394Sharti 41122394Sharti -d don't go into daemon mode. 42122394Sharti 43122394Sharti -l specify the prefix. This is used for the default config and 44122394Sharti pid file names and for the syslog. Default is "snmpd". 45122394Sharti 46122394Sharti -D specify debug flags: 47122394Sharti 48122394Sharti d dump all PDUs. 49122394Sharti 50122394Sharti e debug event library. 51122394Sharti 52122394Sharti -I specify the include path for system configuration files. 53122394Sharti Default is /etc:/usr/etc:/usr/local/etc. 54122394Sharti 55122394ShartiThe directory snmpd contains a snmpd.sh script, which can be copied to 56122394Sharti/usr/local/etc/rc.d to automatically start and stop the daemon. snmpd.config 57122394Shartiis an example config script. 58122394Sharti 59122394ShartiBug reports: 60122394Sharti----------- 61122394Sharti 62122394ShartiPlease report bugs to harti@freebsd.org. 63122394Sharti 64122394ShartiHappy hacking, 65122394Shartiharti 66