freebsd-dev/release/picobsd/custom/mfs/etc/snmpd.conf
Greg Lehey 0f33c9fb91 Add 'custom' directory with significantly restructured build (now
using make instead of custom scripts) and two floppies instead of
one.  The resultant floppy can do everything that the individual
floppies (dial, net, install, isp, router) could do, modulo some bit
rot that has occurred since PicoBSD last compiled.  It also includes
all the programs on the fixit floppy, which could thus also die.

/bin currently contains the following files:

-sh             dump            ln              ns              sps
[               ed              login           ping            stty
badsect         ex              ls              ps              swapon
cat             expr            mkdir           pwd             sync
chgrp           fdisk           mknod           pwd_mkdb        sysctl
chmod           find            more            rdump         syslogd
chown           fsck            mount           reboot          tar
chroot          ftp             mount_cd9660    restore         telnet
clri            getty           mount_msdos     rlogin                telnetd
cp              grep            mount_nfs       rm              test
date            gunzip          mount_std       rmdir         traceroute
dd              gzip            msg             route           umount
dev_mkdb        hostname        mt              routed          vi
df              ifconfig        mv              rrestore        view
dhclient        inetd           natd            rsh             vm
dhclient-script init            netstat         sed             w
disklabel       kget            newfs           sh              zcat
dmesg           kill            nfs             sleep

Structure is in place for using the same build for the other
directories, but I'm no longer sure we need this.  The current first
floppy will run fine by itself, but the size of a compressed kernel
has increased by nearly 50% since 3.2, and there's not much space for
anything useful on the remainder of the floppy.  The current method
creates a larger mfs and can read as many floppies as the user can
stand.  The footprint appears to be round 14 MB.
1999-12-10 21:52:18 +00:00

59 lines
1.8 KiB
Plaintext

# load average checks
# load [1MAX=DEFMAXLOADAVE] [5MAX=DEFMAXLOADAVE] [15MAX=DEFMAXLOADAVE]
#
# 1MAX: If the 1 minute load average is above this limit at query
# time, the errorFlag will be set.
# 5MAX: Similar, but for 5 min average.
# 15MAX: Similar, but for 15 min average.
# Check for loads:
load 12 14 14
# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.10
# snmp agent errors
# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.101
# snmp version mib
# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.100
# System contact information
syslocation PicoBSD
syscontact root <root@pico>
# Setting up the access control lists to the agent
# sec.name source community
com2sec local localhost private
com2sec public default public
# sec.model sec.name
group local any local
group public any public
# incl/excl subtree mask
view all included .1 80
view system included system fe
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
# context sec.model sec.level prefix read write not
access public "" any noauth 0 system none none
access local "" any noauth 0 all all all
# If you want to get back to the functionality of previous versions,
# where the public community could read anything from anywhere and the
# private community could write anything from anywhere, use these
# lines instead:
#
# com2sec public default public
# com2sec private default private
# group public any public
# group private any private
# view all included .1 80
# access public "" any noauth 0 all none none
# access private "" any noauth 0 all all none