add net-snmp Client/Daemon for use SNMP
authorPeter Pfeiffer <peterman@ipfire.org>
Tue, 31 Mar 2009 08:33:39 +0000 (10:33 +0200)
committerPeter Pfeiffer <peterman@ipfire.org>
Tue, 31 Mar 2009 08:33:39 +0000 (10:33 +0200)
config/net-snmp/snmpd.conf [new file with mode: 0644]
config/rootfiles/packages/net-snmp [new file with mode: 0644]
doc/packages-list.txt
lfs/net-snmp [new file with mode: 0644]
make.sh
src/initscripts/init.d/net-snmp [new file with mode: 0755]
src/paks/net-snmp/install.sh [new file with mode: 0644]
src/paks/net-snmp/uninstall.sh [new file with mode: 0644]
src/paks/net-snmp/update.sh [new file with mode: 0644]

diff --git a/config/net-snmp/snmpd.conf b/config/net-snmp/snmpd.conf
new file mode 100644 (file)
index 0000000..3232952
--- /dev/null
@@ -0,0 +1,408 @@
+###############################################################################
+#
+# snmpd.conf:
+#   An example configuration file for configuring the ucd-snmp snmpd agent.
+#
+###############################################################################
+#
+# This file is intended to only be an example.  If, however, you want
+# to use it, it should be placed in SYSCONFDIR/snmp/snmpd.conf.
+# When the snmpd agent starts up, this is where it will look for it.
+#
+# You might be interested in generating your own snmpd.conf file using
+# the "snmpconf" program (perl script) instead.  It's a nice menu
+# based interface to writing well commented configuration files.  Try it!
+#
+# Note: This file is automatically generated from EXAMPLE.conf.def.
+# Do NOT read the EXAMPLE.conf.def file! Instead, after you have run
+# configure & make, and then make sure you read the EXAMPLE.conf file
+# instead, as it will tailor itself to your configuration.
+
+# All lines beginning with a '#' are comments and are intended for you
+# to read.  All other lines are configuration commands for the agent.
+
+#
+# PLEASE: read the snmpd.conf(5) manual page as well!
+#
+
+
+###############################################################################
+# Access Control
+###############################################################################
+
+# YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY
+# KNOWN AT YOUR SITE.  YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO
+# SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.
+
+# By far, the most common question I get about the agent is "why won't
+# it work?", when really it should be "how do I configure the agent to
+# allow me to access it?"
+#
+# By default, the agent responds to the "public" community for read
+# only access, if run out of the box without any configuration file in 
+# place.  The following examples show you other ways of configuring
+# the agent so that you can change the community names, and give
+# yourself write access as well.
+#
+# The following lines change the access permissions of the agent so
+# that the COMMUNITY string provides read-only access to your entire
+# NETWORK (EG: 10.10.10.0/24), and read/write access to only the
+# localhost (127.0.0.1, not its real ipaddress).
+#
+# For more information, read the FAQ as well as the snmpd.conf(5)
+# manual page.
+
+####
+# First, map the community name (COMMUNITY) into a security name
+# (local and mynetwork, depending on where the request is coming
+# from):
+
+#       sec.name  source          community
+com2sec local     localhost       public
+#com2sec mynetwork NETWORK/24      public
+
+####
+# Second, map the security names into group names:
+
+#              sec.model  sec.name
+group MyRWGroup        v1         local
+group MyRWGroup        v2c        local
+group MyRWGroup        usm        local
+group MyROGroup v1         mynetwork
+group MyROGroup v2c        mynetwork
+group MyROGroup usm        mynetwork
+
+####
+# Third, create a view for us to let the groups have rights to:
+
+#           incl/excl subtree                          mask
+view all    included  .1                               80
+
+####
+# Finally, grant the 2 groups access to the 1 view with different
+# write permissions:
+
+#                context sec.model sec.level match  read   write  notif
+access MyROGroup ""      any       noauth    exact  all    none   none
+access MyRWGroup ""      any       noauth    exact  all    all    none
+
+# -----------------------------------------------------------------------------
+
+
+###############################################################################
+# System contact information
+#
+
+# It is also possible to set the sysContact and sysLocation system
+# variables through the snmpd.conf file.  **PLEASE NOTE** that setting
+# the value of these objects here makes these objects READ-ONLY
+# (regardless of any access control settings).  Any attempt to set the
+# value of an object whose value is given here will fail with an error
+# status of notWritable.
+
+syslocation Right here, right now.
+syscontact Me <me@somewhere.org>
+
+# Example output of snmpwalk:
+#   % snmpwalk -v 1 -c public localhost system
+#   system.sysDescr.0 = "SunOS name sun4c"
+#   system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.sunos4
+#   system.sysUpTime.0 = Timeticks: (595637548) 68 days, 22:32:55
+#   system.sysContact.0 = "Me <me@somewhere.org>"
+#   system.sysName.0 = "name"
+#   system.sysLocation.0 = "Right here, right now."
+#   system.sysServices.0 = 72
+
+
+# -----------------------------------------------------------------------------
+
+
+###############################################################################
+# Process checks.
+#
+#  The following are examples of how to use the agent to check for
+#  processes running on the host.  The syntax looks something like:
+#
+#  proc NAME [MAX=0] [MIN=0]
+#
+#  NAME:  the name of the process to check for.  It must match
+#         exactly (ie, http will not find httpd processes).
+#  MAX:   the maximum number allowed to be running.  Defaults to 0.
+#  MIN:   the minimum number to be running.  Defaults to 0.
+
+#
+#  Examples:
+#
+
+#  Make sure mountd is running
+proc mountd
+
+#  Make sure there are no more than 4 ntalkds running, but 0 is ok too.
+proc ntalkd 4
+
+#  Make sure at least one sendmail, but less than or equal to 10 are running.
+proc sendmail 10 1
+
+#  A snmpwalk of the prTable would look something like this:
+# 
+# % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.PROCMIBNUM
+# enterprises.ucdavis.procTable.prEntry.prIndex.1 = 1
+# enterprises.ucdavis.procTable.prEntry.prIndex.2 = 2
+# enterprises.ucdavis.procTable.prEntry.prIndex.3 = 3
+# enterprises.ucdavis.procTable.prEntry.prNames.1 = "mountd"
+# enterprises.ucdavis.procTable.prEntry.prNames.2 = "ntalkd"
+# enterprises.ucdavis.procTable.prEntry.prNames.3 = "sendmail"
+# enterprises.ucdavis.procTable.prEntry.prMin.1 = 0
+# enterprises.ucdavis.procTable.prEntry.prMin.2 = 0
+# enterprises.ucdavis.procTable.prEntry.prMin.3 = 1
+# enterprises.ucdavis.procTable.prEntry.prMax.1 = 0
+# enterprises.ucdavis.procTable.prEntry.prMax.2 = 4
+# enterprises.ucdavis.procTable.prEntry.prMax.3 = 10
+# enterprises.ucdavis.procTable.prEntry.prCount.1 = 0
+# enterprises.ucdavis.procTable.prEntry.prCount.2 = 0
+# enterprises.ucdavis.procTable.prEntry.prCount.3 = 1
+# enterprises.ucdavis.procTable.prEntry.prErrorFlag.1 = 1
+# enterprises.ucdavis.procTable.prEntry.prErrorFlag.2 = 0
+# enterprises.ucdavis.procTable.prEntry.prErrorFlag.3 = 0
+# enterprises.ucdavis.procTable.prEntry.prErrMessage.1 = "No mountd process running."
+# enterprises.ucdavis.procTable.prEntry.prErrMessage.2 = ""
+# enterprises.ucdavis.procTable.prEntry.prErrMessage.3 = ""
+# enterprises.ucdavis.procTable.prEntry.prErrFix.1 = 0
+# enterprises.ucdavis.procTable.prEntry.prErrFix.2 = 0
+# enterprises.ucdavis.procTable.prEntry.prErrFix.3 = 0
+#
+#  Note that the errorFlag for mountd is set to 1 because one is not
+#  running (in this case an rpc.mountd is, but thats not good enough),
+#  and the ErrMessage tells you what's wrong.  The configuration
+#  imposed in the snmpd.conf file is also shown.  
+# 
+#  Special Case:  When the min and max numbers are both 0, it assumes
+#  you want a max of infinity and a min of 1.
+#
+
+
+# -----------------------------------------------------------------------------
+
+
+###############################################################################
+# Executables/scripts
+#
+
+#
+#  You can also have programs run by the agent that return a single
+#  line of output and an exit code.  Here are two examples.
+#
+#  exec NAME PROGRAM [ARGS ...]
+#
+#  NAME:     A generic name.
+#  PROGRAM:  The program to run.  Include the path!
+#  ARGS:     optional arguments to be passed to the program
+
+# a simple hello world
+exec echotest /bin/echo hello world
+
+# Run a shell script containing:
+#
+# #!/bin/sh
+# echo hello world
+# echo hi there
+# exit 35
+#
+# Note:  this has been specifically commented out to prevent
+# accidental security holes due to someone else on your system writing
+# a /tmp/shtest before you do.  Uncomment to use it.
+#
+#exec shelltest /bin/sh /tmp/shtest
+
+# Then, 
+# % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.SHELLMIBNUM
+# enterprises.ucdavis.extTable.extEntry.extIndex.1 = 1
+# enterprises.ucdavis.extTable.extEntry.extIndex.2 = 2
+# enterprises.ucdavis.extTable.extEntry.extNames.1 = "echotest"
+# enterprises.ucdavis.extTable.extEntry.extNames.2 = "shelltest"
+# enterprises.ucdavis.extTable.extEntry.extCommand.1 = "/bin/echo hello world"
+# enterprises.ucdavis.extTable.extEntry.extCommand.2 = "/bin/sh /tmp/shtest"
+# enterprises.ucdavis.extTable.extEntry.extResult.1 = 0
+# enterprises.ucdavis.extTable.extEntry.extResult.2 = 35
+# enterprises.ucdavis.extTable.extEntry.extOutput.1 = "hello world."
+# enterprises.ucdavis.extTable.extEntry.extOutput.2 = "hello world."
+# enterprises.ucdavis.extTable.extEntry.extErrFix.1 = 0
+# enterprises.ucdavis.extTable.extEntry.extErrFix.2 = 0
+
+# Note that the second line of the /tmp/shtest shell script is cut
+# off.  Also note that the exit status of 35 was returned.
+
+# -----------------------------------------------------------------------------
+
+
+###############################################################################
+# disk checks
+#
+
+# The agent can check the amount of available disk space, and make
+# sure it is above a set limit.  
+
+# disk PATH [MIN=DEFDISKMINIMUMSPACE]
+#
+# PATH:  mount path to the disk in question.
+# MIN:   Disks with space below this value will have the Mib's errorFlag set.
+#        Default value = DEFDISKMINIMUMSPACE.
+
+# Check the / partition and make sure it contains at least 10 megs.
+
+disk / 10000
+
+# % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.DISKMIBNUM
+# enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0
+# enterprises.ucdavis.diskTable.dskEntry.diskPath.1 = "/" Hex: 2F 
+# enterprises.ucdavis.diskTable.dskEntry.diskDevice.1 = "/dev/dsk/c201d6s0"
+# enterprises.ucdavis.diskTable.dskEntry.diskMinimum.1 = 10000
+# enterprises.ucdavis.diskTable.dskEntry.diskTotal.1 = 837130
+# enterprises.ucdavis.diskTable.dskEntry.diskAvail.1 = 316325
+# enterprises.ucdavis.diskTable.dskEntry.diskUsed.1 = 437092
+# enterprises.ucdavis.diskTable.dskEntry.diskPercent.1 = 58
+# enterprises.ucdavis.diskTable.dskEntry.diskErrorFlag.1 = 0
+# enterprises.ucdavis.diskTable.dskEntry.diskErrorMsg.1 = ""
+
+# -----------------------------------------------------------------------------
+
+
+###############################################################################
+# 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 -c public localhost .EXTENSIBLEDOTMIB.LOADAVEMIBNUM
+# enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1
+# enterprises.ucdavis.loadTable.laEntry.loadaveIndex.2 = 2
+# enterprises.ucdavis.loadTable.laEntry.loadaveIndex.3 = 3
+# enterprises.ucdavis.loadTable.laEntry.loadaveNames.1 = "Load-1"
+# enterprises.ucdavis.loadTable.laEntry.loadaveNames.2 = "Load-5"
+# enterprises.ucdavis.loadTable.laEntry.loadaveNames.3 = "Load-15"
+# enterprises.ucdavis.loadTable.laEntry.loadaveLoad.1 = "0.49" Hex: 30 2E 34 39 
+# enterprises.ucdavis.loadTable.laEntry.loadaveLoad.2 = "0.31" Hex: 30 2E 33 31 
+# enterprises.ucdavis.loadTable.laEntry.loadaveLoad.3 = "0.26" Hex: 30 2E 32 36 
+# enterprises.ucdavis.loadTable.laEntry.loadaveConfig.1 = "12.00"
+# enterprises.ucdavis.loadTable.laEntry.loadaveConfig.2 = "14.00"
+# enterprises.ucdavis.loadTable.laEntry.loadaveConfig.3 = "14.00"
+# enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.1 = 0
+# enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.2 = 0
+# enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.3 = 0
+# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.1 = ""
+# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.2 = ""
+# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.3 = ""
+
+# -----------------------------------------------------------------------------
+
+
+###############################################################################
+# Extensible sections.
+# 
+
+# This alleviates the multiple line output problem found in the
+# previous executable mib by placing each mib in its own mib table:
+
+# Run a shell script containing:
+#
+# #!/bin/sh
+# echo hello world
+# echo hi there
+# exit 35
+#
+# Note:  this has been specifically commented out to prevent
+# accidental security holes due to someone else on your system writing
+# a /tmp/shtest before you do.  Uncomment to use it.
+#
+# exec .EXTENSIBLEDOTMIB.50 shelltest /bin/sh /tmp/shtest
+
+# % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.50
+# enterprises.ucdavis.50.1.1 = 1
+# enterprises.ucdavis.50.2.1 = "shelltest"
+# enterprises.ucdavis.50.3.1 = "/bin/sh /tmp/shtest"
+# enterprises.ucdavis.50.100.1 = 35
+# enterprises.ucdavis.50.101.1 = "hello world."
+# enterprises.ucdavis.50.101.2 = "hi there."
+# enterprises.ucdavis.50.102.1 = 0
+
+# Now the Output has grown to two lines, and we can see the 'hi
+# there.' output as the second line from our shell script.
+#
+# Note that you must alter the mib.txt file to be correct if you want
+# the .50.* outputs above to change to reasonable text descriptions.
+
+# Other ideas:
+# 
+# exec .EXTENSIBLEDOTMIB.51 ps /bin/ps 
+# exec .EXTENSIBLEDOTMIB.52 top /usr/local/bin/top
+# exec .EXTENSIBLEDOTMIB.53 mailq /usr/bin/mailq
+
+# -----------------------------------------------------------------------------
+
+
+###############################################################################
+# Pass through control.
+# 
+
+# Usage:
+#   pass MIBOID EXEC-COMMAND
+#
+# This will pass total control of the mib underneath the MIBOID
+# portion of the mib to the EXEC-COMMAND.  
+#
+# Note:  You'll have to change the path of the passtest script to your
+# source directory or install it in the given location.
+# 
+# Example:  (see the script for details)
+#           (commented out here since it requires that you place the
+#           script in the right location. (its not installed by default))
+
+# pass .EXTENSIBLEDOTMIB.255 /bin/sh PREFIX/local/passtest
+
+# % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.255
+# enterprises.ucdavis.255.1 = "life the universe and everything"
+# enterprises.ucdavis.255.2.1 = 42
+# enterprises.ucdavis.255.2.2 = OID: 42.42.42
+# enterprises.ucdavis.255.3 = Timeticks: (363136200) 42 days, 0:42:42
+# enterprises.ucdavis.255.4 = IpAddress: 127.0.0.1
+# enterprises.ucdavis.255.5 = 42
+# enterprises.ucdavis.255.6 = Gauge: 42
+#
+# % snmpget -v 1 -c public localhost .EXTENSIBLEDOTMIB.255.5
+# enterprises.ucdavis.255.5 = 42
+#
+# % snmpset -v 1 -c public localhost .EXTENSIBLEDOTMIB.255.1 s "New string"
+# enterprises.ucdavis.255.1 = "New string"
+#
+
+# For specific usage information, see the man/snmpd.conf.5 manual page
+# as well as the local/passtest script used in the above example.
+
+###############################################################################
+# Subagent control
+#
+
+# The agent can support subagents using a number of extension mechanisms.
+# From the 4.2.1 release, AgentX support is being compiled in by default.
+# To use this mechanism, simply uncomment the following directive.
+#
+#  master  agentx
+#
+#   Please see the file README.agentx for more details.
+#
+
+
+###############################################################################
+# Further Information
+#
+#  See the snmpd.conf manual page, and the output of "snmpd -H".
+#  MUCH more can be done with the snmpd.conf than is shown as an
+#  example here.
diff --git a/config/rootfiles/packages/net-snmp b/config/rootfiles/packages/net-snmp
new file mode 100644 (file)
index 0000000..edbb31c
--- /dev/null
@@ -0,0 +1,589 @@
+etc/rc.d/rc0.d/K02net-snmp
+etc/rc.d/rc3.d/S65net-snmp
+etc/rc.d/rc6.d/K02net-snmp
+etc/init.d/net-snmp
+etc/snmpd.conf
+usr/lib/libnetsnmp.a
+usr/lib/libnetsnmp.la
+usr/lib/libnetsnmp.so
+usr/lib/libnetsnmp.so.15
+usr/lib/libnetsnmp.so.15.1.2
+usr/lib/libnetsnmpagent.a
+usr/lib/libnetsnmpagent.la
+usr/lib/libnetsnmpagent.so
+usr/lib/libnetsnmpagent.so.15
+usr/lib/libnetsnmpagent.so.15.1.2
+usr/lib/libnetsnmphelpers.a
+usr/lib/libnetsnmphelpers.la
+usr/lib/libnetsnmphelpers.so
+usr/lib/libnetsnmphelpers.so.15
+usr/lib/libnetsnmphelpers.so.15.1.2
+usr/lib/libnetsnmpmibs.a
+usr/lib/libnetsnmpmibs.la
+usr/lib/libnetsnmpmibs.so
+usr/lib/libnetsnmpmibs.so.15
+usr/lib/libnetsnmpmibs.so.15.1.2
+usr/lib/libnetsnmptrapd.a
+usr/lib/libnetsnmptrapd.la
+usr/lib/libnetsnmptrapd.so
+usr/lib/libnetsnmptrapd.so.15
+usr/lib/libnetsnmptrapd.so.15.1.2
+usr/lib/perl5/site_perl/5.8.8/i586-linux/Bundle
+usr/lib/perl5/site_perl/5.8.8/i586-linux/Bundle/Makefile.subs.pl
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/ASN.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/OID.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/TrapReceiver.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/agent
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/agent.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/agent/Support.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/agent/default_store.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/agent/netsnmp_request_infoPtr.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/NetSNMP/default_store.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/SNMP.pm
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Bundle
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Bundle/NetSNMP
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Bundle/NetSNMP/.packlist
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/ASN
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/ASN/ASN.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/ASN/ASN.so
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/ASN/autosplit.ix
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/OID
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/OID/OID.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/OID/OID.so
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/OID/autosplit.ix
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/TrapReceiver
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/TrapReceiver/TrapReceiver.so
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/TrapReceiver/autosplit.ix
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/agent
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/agent/agent.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/agent/agent.so
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/agent/autosplit.ix
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/agent/default_store
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/agent/default_store/autosplit.ix
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/agent/default_store/default_store.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/agent/default_store/default_store.so
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/default_store
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/default_store/autosplit.ix
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/default_store/default_store.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/NetSNMP/default_store/default_store.so
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/SNMP
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/SNMP/SNMP.bs
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/SNMP/SNMP.so
+usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/SNMP/autosplit.ix
+usr/local/bin/encode_keychange
+usr/local/bin/fixproc
+usr/local/bin/ipf-mod.pl
+usr/local/bin/mib2c
+usr/local/bin/mib2c-update
+usr/local/bin/net-snmp-config
+usr/local/bin/snmpbulkget
+usr/local/bin/snmpbulkwalk
+usr/local/bin/snmpcheck
+usr/local/bin/snmpconf
+usr/local/bin/snmpdelta
+usr/local/bin/snmpdf
+usr/local/bin/snmpget
+usr/local/bin/snmpgetnext
+usr/local/bin/snmpinform
+usr/local/bin/snmpnetstat
+usr/local/bin/snmpset
+usr/local/bin/snmpstatus
+usr/local/bin/snmptable
+usr/local/bin/snmptest
+usr/local/bin/snmptranslate
+usr/local/bin/snmptrap
+usr/local/bin/snmpusm
+usr/local/bin/snmpvacm
+usr/local/bin/snmpwalk
+usr/local/bin/tkmib
+usr/local/bin/traptoemail
+usr/local/include/net-snmp
+usr/local/include/net-snmp/agent
+usr/local/include/net-snmp/agent/agent_callbacks.h
+usr/local/include/net-snmp/agent/agent_handler.h
+usr/local/include/net-snmp/agent/agent_index.h
+usr/local/include/net-snmp/agent/agent_module_config.h
+usr/local/include/net-snmp/agent/agent_read_config.h
+usr/local/include/net-snmp/agent/agent_registry.h
+usr/local/include/net-snmp/agent/agent_trap.h
+usr/local/include/net-snmp/agent/all_helpers.h
+usr/local/include/net-snmp/agent/auto_nlist.h
+usr/local/include/net-snmp/agent/baby_steps.h
+usr/local/include/net-snmp/agent/bulk_to_next.h
+usr/local/include/net-snmp/agent/cache_handler.h
+usr/local/include/net-snmp/agent/debug_handler.h
+usr/local/include/net-snmp/agent/ds_agent.h
+usr/local/include/net-snmp/agent/instance.h
+usr/local/include/net-snmp/agent/mfd.h
+usr/local/include/net-snmp/agent/mib_module_config.h
+usr/local/include/net-snmp/agent/mib_module_includes.h
+usr/local/include/net-snmp/agent/mib_modules.h
+usr/local/include/net-snmp/agent/mode_end_call.h
+usr/local/include/net-snmp/agent/multiplexer.h
+usr/local/include/net-snmp/agent/net-snmp-agent-includes.h
+usr/local/include/net-snmp/agent/null.h
+usr/local/include/net-snmp/agent/old_api.h
+usr/local/include/net-snmp/agent/read_only.h
+usr/local/include/net-snmp/agent/row_merge.h
+usr/local/include/net-snmp/agent/scalar.h
+usr/local/include/net-snmp/agent/scalar_group.h
+usr/local/include/net-snmp/agent/serialize.h
+usr/local/include/net-snmp/agent/set_helper.h
+usr/local/include/net-snmp/agent/snmp_agent.h
+usr/local/include/net-snmp/agent/snmp_vars.h
+usr/local/include/net-snmp/agent/stash_cache.h
+usr/local/include/net-snmp/agent/stash_to_next.h
+usr/local/include/net-snmp/agent/table.h
+usr/local/include/net-snmp/agent/table_array.h
+usr/local/include/net-snmp/agent/table_container.h
+usr/local/include/net-snmp/agent/table_data.h
+usr/local/include/net-snmp/agent/table_dataset.h
+usr/local/include/net-snmp/agent/table_iterator.h
+usr/local/include/net-snmp/agent/table_tdata.h
+usr/local/include/net-snmp/agent/util_funcs.h
+usr/local/include/net-snmp/agent/var_struct.h
+usr/local/include/net-snmp/agent/watcher.h
+usr/local/include/net-snmp/config_api.h
+usr/local/include/net-snmp/definitions.h
+usr/local/include/net-snmp/library
+usr/local/include/net-snmp/library/README
+usr/local/include/net-snmp/library/asn1.h
+usr/local/include/net-snmp/library/callback.h
+usr/local/include/net-snmp/library/check_varbind.h
+usr/local/include/net-snmp/library/cmu_compat.h
+usr/local/include/net-snmp/library/container.h
+usr/local/include/net-snmp/library/container_binary_array.h
+usr/local/include/net-snmp/library/container_iterator.h
+usr/local/include/net-snmp/library/container_list_ssll.h
+usr/local/include/net-snmp/library/container_null.h
+usr/local/include/net-snmp/library/data_list.h
+usr/local/include/net-snmp/library/default_store.h
+usr/local/include/net-snmp/library/factory.h
+usr/local/include/net-snmp/library/fd_event_manager.h
+usr/local/include/net-snmp/library/file_utils.h
+usr/local/include/net-snmp/library/getopt.h
+usr/local/include/net-snmp/library/int64.h
+usr/local/include/net-snmp/library/keytools.h
+usr/local/include/net-snmp/library/lcd_time.h
+usr/local/include/net-snmp/library/md5.h
+usr/local/include/net-snmp/library/mib.h
+usr/local/include/net-snmp/library/mt_support.h
+usr/local/include/net-snmp/library/oid_stash.h
+usr/local/include/net-snmp/library/parse.h
+usr/local/include/net-snmp/library/read_config.h
+usr/local/include/net-snmp/library/scapi.h
+usr/local/include/net-snmp/library/snmp-tc.h
+usr/local/include/net-snmp/library/snmp.h
+usr/local/include/net-snmp/library/snmpCallbackDomain.h
+usr/local/include/net-snmp/library/snmpTCPDomain.h
+usr/local/include/net-snmp/library/snmpUDPDomain.h
+usr/local/include/net-snmp/library/snmpUnixDomain.h
+usr/local/include/net-snmp/library/snmp_alarm.h
+usr/local/include/net-snmp/library/snmp_api.h
+usr/local/include/net-snmp/library/snmp_assert.h
+usr/local/include/net-snmp/library/snmp_client.h
+usr/local/include/net-snmp/library/snmp_debug.h
+usr/local/include/net-snmp/library/snmp_enum.h
+usr/local/include/net-snmp/library/snmp_impl.h
+usr/local/include/net-snmp/library/snmp_logging.h
+usr/local/include/net-snmp/library/snmp_parse_args.h
+usr/local/include/net-snmp/library/snmp_secmod.h
+usr/local/include/net-snmp/library/snmp_service.h
+usr/local/include/net-snmp/library/snmp_transport.h
+usr/local/include/net-snmp/library/snmpusm.h
+usr/local/include/net-snmp/library/snmpv3-security-includes.h
+usr/local/include/net-snmp/library/snmpv3.h
+usr/local/include/net-snmp/library/system.h
+usr/local/include/net-snmp/library/text_utils.h
+usr/local/include/net-snmp/library/tools.h
+usr/local/include/net-snmp/library/transform_oids.h
+usr/local/include/net-snmp/library/ucd_compat.h
+usr/local/include/net-snmp/library/vacm.h
+usr/local/include/net-snmp/library/winpipe.h
+usr/local/include/net-snmp/library/winservice.h
+usr/local/include/net-snmp/machine
+usr/local/include/net-snmp/machine/generic.h
+usr/local/include/net-snmp/mib_api.h
+usr/local/include/net-snmp/net-snmp-config.h
+usr/local/include/net-snmp/net-snmp-includes.h
+usr/local/include/net-snmp/output_api.h
+usr/local/include/net-snmp/pdu_api.h
+usr/local/include/net-snmp/session_api.h
+usr/local/include/net-snmp/snmpv3_api.h
+usr/local/include/net-snmp/system
+usr/local/include/net-snmp/system/aix.h
+usr/local/include/net-snmp/system/bsd.h
+usr/local/include/net-snmp/system/bsdi.h
+usr/local/include/net-snmp/system/bsdi3.h
+usr/local/include/net-snmp/system/bsdi4.h
+usr/local/include/net-snmp/system/cygwin.h
+usr/local/include/net-snmp/system/darwin.h
+usr/local/include/net-snmp/system/darwin7.h
+usr/local/include/net-snmp/system/darwin8.h
+usr/local/include/net-snmp/system/darwin9.h
+usr/local/include/net-snmp/system/dragonfly.h
+usr/local/include/net-snmp/system/dynix.h
+usr/local/include/net-snmp/system/freebsd.h
+usr/local/include/net-snmp/system/freebsd2.h
+usr/local/include/net-snmp/system/freebsd3.h
+usr/local/include/net-snmp/system/freebsd4.h
+usr/local/include/net-snmp/system/freebsd5.h
+usr/local/include/net-snmp/system/freebsd6.h
+usr/local/include/net-snmp/system/generic.h
+usr/local/include/net-snmp/system/hpux.h
+usr/local/include/net-snmp/system/irix.h
+usr/local/include/net-snmp/system/linux.h
+usr/local/include/net-snmp/system/mingw32.h
+usr/local/include/net-snmp/system/mips.h
+usr/local/include/net-snmp/system/netbsd.h
+usr/local/include/net-snmp/system/openbsd.h
+usr/local/include/net-snmp/system/osf5.h
+usr/local/include/net-snmp/system/solaris.h
+usr/local/include/net-snmp/system/solaris2.3.h
+usr/local/include/net-snmp/system/solaris2.4.h
+usr/local/include/net-snmp/system/solaris2.5.h
+usr/local/include/net-snmp/system/solaris2.6.h
+usr/local/include/net-snmp/system/sunos.h
+usr/local/include/net-snmp/system/svr5.h
+usr/local/include/net-snmp/system/sysv.h
+usr/local/include/net-snmp/system/ultrix4.h
+usr/local/include/net-snmp/types.h
+usr/local/include/net-snmp/utilities.h
+usr/local/include/net-snmp/varbind_api.h
+usr/local/include/net-snmp/version.h
+usr/local/man/man1/encode_keychange.1
+usr/local/man/man1/fixproc.1
+usr/local/man/man1/mib2c-update.1
+usr/local/man/man1/mib2c.1
+usr/local/man/man1/net-snmp-config.1
+usr/local/man/man1/snmpbulkget.1
+usr/local/man/man1/snmpbulkwalk.1
+usr/local/man/man1/snmpcmd.1
+usr/local/man/man1/snmpconf.1
+usr/local/man/man1/snmpdelta.1
+usr/local/man/man1/snmpdf.1
+usr/local/man/man1/snmpget.1
+usr/local/man/man1/snmpgetnext.1
+usr/local/man/man1/snmpinform.1
+usr/local/man/man1/snmpnetstat.1
+usr/local/man/man1/snmpset.1
+usr/local/man/man1/snmpstatus.1
+usr/local/man/man1/snmptable.1
+usr/local/man/man1/snmptest.1
+usr/local/man/man1/snmptranslate.1
+usr/local/man/man1/snmptrap.1
+usr/local/man/man1/snmpusm.1
+usr/local/man/man1/snmpvacm.1
+usr/local/man/man1/snmpwalk.1
+usr/local/man/man1/tkmib.1
+usr/local/man/man1/traptoemail.1
+usr/local/man/man3
+usr/local/man/man3/add_mibdir.3
+usr/local/man/man3/add_module_replacement.3
+usr/local/man/man3/config_perror.3
+usr/local/man/man3/config_pwarn.3
+usr/local/man/man3/default_store.3
+usr/local/man/man3/fprint_description.3
+usr/local/man/man3/fprint_objid.3
+usr/local/man/man3/fprint_value.3
+usr/local/man/man3/fprint_variable.3
+usr/local/man/man3/get_module_node.3
+usr/local/man/man3/init_mib.3
+usr/local/man/man3/init_mib_internals.3
+usr/local/man/man3/mib_api.3
+usr/local/man/man3/netsnmp_Container_iterator.3
+usr/local/man/man3/netsnmp_agent.3
+usr/local/man/man3/netsnmp_baby_steps.3
+usr/local/man/man3/netsnmp_bulk_to_next.3
+usr/local/man/man3/netsnmp_cache_handler.3
+usr/local/man/man3/netsnmp_container.3
+usr/local/man/man3/netsnmp_debug.3
+usr/local/man/man3/netsnmp_ds_get_boolean.3
+usr/local/man/man3/netsnmp_ds_get_int.3
+usr/local/man/man3/netsnmp_ds_get_string.3
+usr/local/man/man3/netsnmp_ds_register_config.3
+usr/local/man/man3/netsnmp_ds_register_premib.3
+usr/local/man/man3/netsnmp_ds_set_boolean.3
+usr/local/man/man3/netsnmp_ds_set_int.3
+usr/local/man/man3/netsnmp_ds_set_string.3
+usr/local/man/man3/netsnmp_ds_shutdown.3
+usr/local/man/man3/netsnmp_example_scalar_int.3
+usr/local/man/man3/netsnmp_handler.3
+usr/local/man/man3/netsnmp_instance.3
+usr/local/man/man3/netsnmp_iterator_info_s.3
+usr/local/man/man3/netsnmp_leaf.3
+usr/local/man/man3/netsnmp_library.3
+usr/local/man/man3/netsnmp_mib_handler_methods.3
+usr/local/man/man3/netsnmp_mib_utilities.3
+usr/local/man/man3/netsnmp_mode_end_call.3
+usr/local/man/man3/netsnmp_multiplexer.3
+usr/local/man/man3/netsnmp_old_api.3
+usr/local/man/man3/netsnmp_read_only.3
+usr/local/man/man3/netsnmp_row_merge.3
+usr/local/man/man3/netsnmp_scalar.3
+usr/local/man/man3/netsnmp_scalar_group_group.3
+usr/local/man/man3/netsnmp_serialize.3
+usr/local/man/man3/netsnmp_stash_cache.3
+usr/local/man/man3/netsnmp_table.3
+usr/local/man/man3/netsnmp_table_array.3
+usr/local/man/man3/netsnmp_table_data.3
+usr/local/man/man3/netsnmp_table_dataset.3
+usr/local/man/man3/netsnmp_table_iterator.3
+usr/local/man/man3/netsnmp_utilities.3
+usr/local/man/man3/netsnmp_watcher.3
+usr/local/man/man3/print_description.3
+usr/local/man/man3/print_mib.3
+usr/local/man/man3/print_objid.3
+usr/local/man/man3/print_value.3
+usr/local/man/man3/print_variable.3
+usr/local/man/man3/read_all_mibs.3
+usr/local/man/man3/read_config.3
+usr/local/man/man3/read_config_print_usage.3
+usr/local/man/man3/read_configs.3
+usr/local/man/man3/read_mib.3
+usr/local/man/man3/read_module.3
+usr/local/man/man3/read_module_node.3
+usr/local/man/man3/read_objid.3
+usr/local/man/man3/read_premib_configs.3
+usr/local/man/man3/register_app_config_handler.3
+usr/local/man/man3/register_app_premib_handler.3
+usr/local/man/man3/register_config_handler.3
+usr/local/man/man3/register_mib_handlers.3
+usr/local/man/man3/register_premib_handler.3
+usr/local/man/man3/send_easy_trap.3
+usr/local/man/man3/send_trap_vars.3
+usr/local/man/man3/send_v2trap.3
+usr/local/man/man3/shutdown_mib.3
+usr/local/man/man3/snmp_agent_api.3
+usr/local/man/man3/snmp_alarm.3
+usr/local/man/man3/snmp_alarm_register.3
+usr/local/man/man3/snmp_alarm_register_hr.3
+usr/local/man/man3/snmp_alarm_unregister.3
+usr/local/man/man3/snmp_api.3
+usr/local/man/man3/snmp_api_errstring.3
+usr/local/man/man3/snmp_close.3
+usr/local/man/man3/snmp_error.3
+usr/local/man/man3/snmp_free_pdu.3
+usr/local/man/man3/snmp_open.3
+usr/local/man/man3/snmp_perror.3
+usr/local/man/man3/snmp_read.3
+usr/local/man/man3/snmp_select_info.3
+usr/local/man/man3/snmp_send.3
+usr/local/man/man3/snmp_sess_api.3
+usr/local/man/man3/snmp_sess_async_send.3
+usr/local/man/man3/snmp_sess_close.3
+usr/local/man/man3/snmp_sess_error.3
+usr/local/man/man3/snmp_sess_init.3
+usr/local/man/man3/snmp_sess_open.3
+usr/local/man/man3/snmp_sess_perror.3
+usr/local/man/man3/snmp_sess_read.3
+usr/local/man/man3/snmp_sess_select_info.3
+usr/local/man/man3/snmp_sess_send.3
+usr/local/man/man3/snmp_sess_session.3
+usr/local/man/man3/snmp_sess_timeout.3
+usr/local/man/man3/snmp_set_mib_warnings.3
+usr/local/man/man3/snmp_set_save_descriptions.3
+usr/local/man/man3/snmp_timeout.3
+usr/local/man/man3/snmp_trap_api.3
+usr/local/man/man3/snprint_objid.3
+usr/local/man/man3/snprint_value.3
+usr/local/man/man3/snprint_variable.3
+usr/local/man/man3/sprint_realloc_objid.3
+usr/local/man/man3/sprint_realloc_value.3
+usr/local/man/man3/sprint_realloc_variable.3
+usr/local/man/man3/unregister_app_config_handler.3
+usr/local/man/man3/unregister_config_handler.3
+usr/local/man/man5/mib2c.conf.5
+usr/local/man/man5/snmp.conf.5
+usr/local/man/man5/snmp_config.5
+usr/local/man/man5/snmpd.conf.5
+usr/local/man/man5/snmpd.examples.5
+usr/local/man/man5/snmpd.internal.5
+usr/local/man/man5/snmptrapd.conf.5
+usr/local/man/man5/variables.5
+usr/local/man/man8/snmpd.8
+usr/local/man/man8/snmptrapd.8
+usr/local/sbin/snmpd
+usr/local/sbin/snmptrapd
+usr/local/share/snmp
+usr/local/share/snmp/mib2c-data
+usr/local/share/snmp/mib2c-data/default-mfd-top.m2c
+usr/local/share/snmp/mib2c-data/details-enums.m2i
+usr/local/share/snmp/mib2c-data/details-node.m2i
+usr/local/share/snmp/mib2c-data/details-table.m2i
+usr/local/share/snmp/mib2c-data/generic-ctx-copy.m2i
+usr/local/share/snmp/mib2c-data/generic-ctx-get.m2i
+usr/local/share/snmp/mib2c-data/generic-ctx-set.m2i
+usr/local/share/snmp/mib2c-data/generic-data-allocate.m2i
+usr/local/share/snmp/mib2c-data/generic-data-context.m2i
+usr/local/share/snmp/mib2c-data/generic-get-char.m2i
+usr/local/share/snmp/mib2c-data/generic-get-decl-bot.m2i
+usr/local/share/snmp/mib2c-data/generic-get-decl.m2i
+usr/local/share/snmp/mib2c-data/generic-get-long.m2i
+usr/local/share/snmp/mib2c-data/generic-get-oid.m2i
+usr/local/share/snmp/mib2c-data/generic-header-bottom.m2i
+usr/local/share/snmp/mib2c-data/generic-header-top.m2i
+usr/local/share/snmp/mib2c-data/generic-source-includes.m2i
+usr/local/share/snmp/mib2c-data/generic-table-constants.m2c
+usr/local/share/snmp/mib2c-data/generic-table-enums.m2c
+usr/local/share/snmp/mib2c-data/generic-table-indexes-from-oid.m2i
+usr/local/share/snmp/mib2c-data/generic-table-indexes-set.m2i
+usr/local/share/snmp/mib2c-data/generic-table-indexes-to-oid.m2i
+usr/local/share/snmp/mib2c-data/generic-table-indexes-varbind-setup.m2i
+usr/local/share/snmp/mib2c-data/generic-table-indexes.m2i
+usr/local/share/snmp/mib2c-data/generic-table-oids.m2c
+usr/local/share/snmp/mib2c-data/generic-value-map-func.m2i
+usr/local/share/snmp/mib2c-data/generic-value-map-reverse.m2i
+usr/local/share/snmp/mib2c-data/generic-value-map.m2i
+usr/local/share/snmp/mib2c-data/m2c-internal-warning.m2i
+usr/local/share/snmp/mib2c-data/m2c_setup_enum.m2i
+usr/local/share/snmp/mib2c-data/m2c_setup_node.m2i
+usr/local/share/snmp/mib2c-data/m2c_setup_table.m2i
+usr/local/share/snmp/mib2c-data/m2c_table_save_defaults.m2i
+usr/local/share/snmp/mib2c-data/mfd-access-container-cached-defines.m2i
+usr/local/share/snmp/mib2c-data/mfd-access-unsorted-external-defines.m2i
+usr/local/share/snmp/mib2c-data/mfd-data-access.m2c
+usr/local/share/snmp/mib2c-data/mfd-data-get.m2c
+usr/local/share/snmp/mib2c-data/mfd-data-set.m2c
+usr/local/share/snmp/mib2c-data/mfd-doxygen.m2c
+usr/local/share/snmp/mib2c-data/mfd-interactive-setup.m2c
+usr/local/share/snmp/mib2c-data/mfd-interface.m2c
+usr/local/share/snmp/mib2c-data/mfd-makefile.m2m
+usr/local/share/snmp/mib2c-data/mfd-persistence.m2i
+usr/local/share/snmp/mib2c-data/mfd-readme.m2c
+usr/local/share/snmp/mib2c-data/mfd-top.m2c
+usr/local/share/snmp/mib2c-data/node-get.m2i
+usr/local/share/snmp/mib2c-data/node-set.m2i
+usr/local/share/snmp/mib2c-data/node-storage.m2i
+usr/local/share/snmp/mib2c-data/node-validate.m2i
+usr/local/share/snmp/mib2c-data/node-varbind-validate.m2i
+usr/local/share/snmp/mib2c-data/parent-dependencies.m2i
+usr/local/share/snmp/mib2c-data/parent-set.m2i
+usr/local/share/snmp/mib2c-data/subagent.m2c
+usr/local/share/snmp/mib2c-data/syntax-COUNTER64-get.m2i
+usr/local/share/snmp/mib2c-data/syntax-DateAndTime-get.m2d
+usr/local/share/snmp/mib2c-data/syntax-DateAndTime-get.m2i
+usr/local/share/snmp/mib2c-data/syntax-DateAndTime-readme.m2i
+usr/local/share/snmp/mib2c-data/syntax-InetAddress-get.m2i
+usr/local/share/snmp/mib2c-data/syntax-InetAddress-set.m2i
+usr/local/share/snmp/mib2c-data/syntax-InetAddressType-get.m2i
+usr/local/share/snmp/mib2c-data/syntax-InetAddressType-set.m2i
+usr/local/share/snmp/mib2c-data/syntax-RowStatus-dependencies.m2i
+usr/local/share/snmp/mib2c-data/syntax-RowStatus-get.m2i
+usr/local/share/snmp/mib2c-data/syntax-RowStatus-varbind-validate.m2i
+usr/local/share/snmp/mib2c-data/syntax-StorageType-dependencies.m2i
+usr/local/share/snmp/mib2c-data/syntax-TestAndIncr-get.m2i
+usr/local/share/snmp/mib2c.access_functions.conf
+usr/local/share/snmp/mib2c.array-user.conf
+usr/local/share/snmp/mib2c.check_values.conf
+usr/local/share/snmp/mib2c.check_values_local.conf
+usr/local/share/snmp/mib2c.column_defines.conf
+usr/local/share/snmp/mib2c.column_enums.conf
+usr/local/share/snmp/mib2c.column_storage.conf
+usr/local/share/snmp/mib2c.conf
+usr/local/share/snmp/mib2c.container.conf
+usr/local/share/snmp/mib2c.create-dataset.conf
+usr/local/share/snmp/mib2c.genhtml.conf
+usr/local/share/snmp/mib2c.int_watch.conf
+usr/local/share/snmp/mib2c.iterate.conf
+usr/local/share/snmp/mib2c.iterate_access.conf
+usr/local/share/snmp/mib2c.mfd.conf
+usr/local/share/snmp/mib2c.notify.conf
+usr/local/share/snmp/mib2c.old-api.conf
+usr/local/share/snmp/mib2c.perl.conf
+usr/local/share/snmp/mib2c.scalar.conf
+usr/local/share/snmp/mib2c.table_data.conf
+usr/local/share/snmp/mibs
+usr/local/share/snmp/mibs/AGENTX-MIB.txt
+usr/local/share/snmp/mibs/DISMAN-EVENT-MIB.txt
+usr/local/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
+usr/local/share/snmp/mibs/DISMAN-SCRIPT-MIB.txt
+usr/local/share/snmp/mibs/EtherLike-MIB.txt
+usr/local/share/snmp/mibs/HCNUM-TC.txt
+usr/local/share/snmp/mibs/HOST-RESOURCES-MIB.txt
+usr/local/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
+usr/local/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
+usr/local/share/snmp/mibs/IANA-LANGUAGE-MIB.txt
+usr/local/share/snmp/mibs/IANA-RTPROTO-MIB.txt
+usr/local/share/snmp/mibs/IANAifType-MIB.txt
+usr/local/share/snmp/mibs/IF-INVERTED-STACK-MIB.txt
+usr/local/share/snmp/mibs/IF-MIB.txt
+usr/local/share/snmp/mibs/INET-ADDRESS-MIB.txt
+usr/local/share/snmp/mibs/IP-FORWARD-MIB.txt
+usr/local/share/snmp/mibs/IP-MIB.txt
+usr/local/share/snmp/mibs/IPV6-ICMP-MIB.txt
+usr/local/share/snmp/mibs/IPV6-MIB.txt
+usr/local/share/snmp/mibs/IPV6-TC.txt
+usr/local/share/snmp/mibs/IPV6-TCP-MIB.txt
+usr/local/share/snmp/mibs/IPV6-UDP-MIB.txt
+usr/local/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
+usr/local/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt
+usr/local/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt
+usr/local/share/snmp/mibs/NET-SNMP-MIB.txt
+usr/local/share/snmp/mibs/NET-SNMP-TC.txt
+usr/local/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt
+usr/local/share/snmp/mibs/RFC-1215.txt
+usr/local/share/snmp/mibs/RFC1155-SMI.txt
+usr/local/share/snmp/mibs/RFC1213-MIB.txt
+usr/local/share/snmp/mibs/RMON-MIB.txt
+usr/local/share/snmp/mibs/SCTP-MIB.txt
+usr/local/share/snmp/mibs/SMUX-MIB.txt
+usr/local/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt
+usr/local/share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt
+usr/local/share/snmp/mibs/SNMP-MPD-MIB.txt
+usr/local/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
+usr/local/share/snmp/mibs/SNMP-PROXY-MIB.txt
+usr/local/share/snmp/mibs/SNMP-TARGET-MIB.txt
+usr/local/share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt
+usr/local/share/snmp/mibs/SNMP-USM-AES-MIB.txt
+usr/local/share/snmp/mibs/SNMP-USM-DH-OBJECTS-MIB.txt
+usr/local/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt
+usr/local/share/snmp/mibs/SNMPv2-CONF.txt
+usr/local/share/snmp/mibs/SNMPv2-MIB.txt
+usr/local/share/snmp/mibs/SNMPv2-SMI.txt
+usr/local/share/snmp/mibs/SNMPv2-TC.txt
+usr/local/share/snmp/mibs/SNMPv2-TM.txt
+usr/local/share/snmp/mibs/TCP-MIB.txt
+usr/local/share/snmp/mibs/TRANSPORT-ADDRESS-MIB.txt
+usr/local/share/snmp/mibs/UCD-DEMO-MIB.txt
+usr/local/share/snmp/mibs/UCD-DISKIO-MIB.txt
+usr/local/share/snmp/mibs/UCD-DLMOD-MIB.txt
+usr/local/share/snmp/mibs/UCD-IPFWACC-MIB.txt
+usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt
+usr/local/share/snmp/mibs/UDP-MIB.txt
+usr/local/share/snmp/snmp_perl.pl
+usr/local/share/snmp/snmp_perl_trapd.pl
+usr/local/share/snmp/snmpconf-data
+usr/local/share/snmp/snmpconf-data/snmp-data
+usr/local/share/snmp/snmpconf-data/snmp-data/authopts
+usr/local/share/snmp/snmpconf-data/snmp-data/debugging
+usr/local/share/snmp/snmpconf-data/snmp-data/mibs
+usr/local/share/snmp/snmpconf-data/snmp-data/output
+usr/local/share/snmp/snmpconf-data/snmp-data/snmpconf-config
+usr/local/share/snmp/snmpconf-data/snmpd-data
+usr/local/share/snmp/snmpconf-data/snmpd-data/acl
+usr/local/share/snmp/snmpconf-data/snmpd-data/basic_setup
+usr/local/share/snmp/snmpconf-data/snmpd-data/extending
+usr/local/share/snmp/snmpconf-data/snmpd-data/monitor
+usr/local/share/snmp/snmpconf-data/snmpd-data/operation
+usr/local/share/snmp/snmpconf-data/snmpd-data/snmpconf-config
+usr/local/share/snmp/snmpconf-data/snmpd-data/system
+usr/local/share/snmp/snmpconf-data/snmpd-data/trapsinks
+usr/local/share/snmp/snmpconf-data/snmptrapd-data
+usr/local/share/snmp/snmpconf-data/snmptrapd-data/authentication
+usr/local/share/snmp/snmpconf-data/snmptrapd-data/formatting
+usr/local/share/snmp/snmpconf-data/snmptrapd-data/logging
+usr/local/share/snmp/snmpconf-data/snmptrapd-data/runtime
+usr/local/share/snmp/snmpconf-data/snmptrapd-data/snmpconf-config
+usr/local/share/snmp/snmpconf-data/snmptrapd-data/traphandle
+usr/share/man/man3/NetSNMP::ASN.3
+usr/share/man/man3/NetSNMP::OID.3
+usr/share/man/man3/NetSNMP::TrapReceiver.3
+usr/share/man/man3/NetSNMP::agent.3
+usr/share/man/man3/NetSNMP::agent::default_store.3
+usr/share/man/man3/NetSNMP::default_store.3
+usr/share/man/man3/NetSNMP::netsnmp_request_infoPtr.3
+usr/share/man/man3/SNMP.3
index 2deb58443e8f0eccccefdd337e12d9496fa61ffe..c0da942fbacfd61aaa0a189b18ff809d3dc262f1 100644 (file)
 * nasm-0.98.39
 * ncftp-3.2.1-src
 * ncurses-5.5
+* net-snmp-5.4.2.1
 * net-tools-1.60
 * netcat-0.7.1
 * netpbm-10.26.46
diff --git a/lfs/net-snmp b/lfs/net-snmp
new file mode 100644 (file)
index 0000000..8dd28da
--- /dev/null
@@ -0,0 +1,98 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 5.4.2.1
+
+THISAPP    = net-snmp-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG      = net-snmp
+PAK_VER           = 1
+DEPS       = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 984932520143f0c8bf7b7ce1fc9e1da1
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist:
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure \
+                                   --prefix=/usr/local \
+                                   --with-default-snmp-version="2" \
+                                   --with-sys-contact="root@" \
+                                   --with-sys-location="localhost" \
+                                   --with-logfile="/var/log/snmpd.log" \
+                                   --with-persistent-directory="/var/net-snmp" \
+                                   --libdir=/usr/lib \
+                                   --sysconfdir="/etc" \
+                                   --enable-mini-agent=yes 
+       cd $(DIR_APP) && make 
+       cd $(DIR_APP) && make install
+       install -v -m644 $(DIR_SRC)/config/net-snmp/snmpd.conf /etc/snmpd.conf
+       install -v -m755 $(DIR_SRC)/src/initscripts/init.d/net-snmp /etc/init.d/net-snmp
+       ln -sf ../init.d/net-snmp /etc/rc.d/rc3.d/S65net-snmp
+       ln -sf ../init.d/net-snmp /etc/rc.d/rc0.d/K02net-snmp
+       ln -sf ../init.d/net-snmp /etc/rc.d/rc6.d/K02net-snmp
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
+       
diff --git a/make.sh b/make.sh
index d454a6cc5daa8f23b2c9b9a37549e4c718d3757e..75488bcc9470de9368c0ce480b1f33398596d756 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -593,6 +593,7 @@ buildipfire() {
   ipfiremake perl-gettext
   ipfiremake vdradmin
   ipfiremake miau
+  ipfiremake net-snmp
   echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
   cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
   echo >> $BASEDIR/build/var/ipfire/firebuild
diff --git a/src/initscripts/init.d/net-snmp b/src/initscripts/init.d/net-snmp
new file mode 100755 (executable)
index 0000000..d45d0d1
--- /dev/null
@@ -0,0 +1,46 @@
+#!/bin/sh
+########################################################################
+# Begin $rc_base/init.d/net-snmp
+#
+# Description : This is a script that starts net-snmp as deamon
+#
+# Authors     : Peter Pfeiffer (peterman@ipfire.org)
+#
+# Version     : 01.00
+#
+# Notes       :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+       start)
+               boot_mesg "Starting net-snmp - SNMPD..."
+               loadproc /usr/local/sbin/snmpd -c /etc/snmpd.conf > /dev/null
+               evaluate_retval
+               ;;
+               
+       stop)
+               boot_mesg "Stopping net-snmp - SNMPD..."
+               killproc /usr/local/sbin/snmpd
+               ;;
+
+       restart)
+               ${0} stop
+               sleep 1
+               ${0} start
+               ;;
+
+       status)
+               statusproc /usr/local/sbin/snmpd
+               ;;
+
+       *)
+               echo "Usage: ${0} {start|stop|restart|status}"
+               exit 1
+               ;;
+esac
+
+# End $rc_base/init.d/net-snmp
diff --git a/src/paks/net-snmp/install.sh b/src/paks/net-snmp/install.sh
new file mode 100644 (file)
index 0000000..31c5fec
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire is free software; you can redistribute it and/or modify           #
+# it under the terms of the GNU General Public License as published by     #
+# the Free Software Foundation; either version 2 of the License, or        #
+# (at your option) any later version.                                      #
+#                                                                          #
+# IPFire is distributed in the hope that it will be useful,                #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
+# GNU General Public License for more details.                             #
+#                                                                          #
+# You should have received a copy of the GNU General Public License        #
+# along with IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+extract_files
+restore_backup ${NAME}
+start_service --background ${NAME}
diff --git a/src/paks/net-snmp/uninstall.sh b/src/paks/net-snmp/uninstall.sh
new file mode 100644 (file)
index 0000000..a7b8a53
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire is free software; you can redistribute it and/or modify           #
+# it under the terms of the GNU General Public License as published by     #
+# the Free Software Foundation; either version 2 of the License, or        #
+# (at your option) any later version.                                      #
+#                                                                          #
+# IPFire is distributed in the hope that it will be useful,                #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
+# GNU General Public License for more details.                             #
+#                                                                          #
+# You should have received a copy of the GNU General Public License        #
+# along with IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+stop_service ${NAME}
+make_backup ${NAME}
+remove_files
diff --git a/src/paks/net-snmp/update.sh b/src/paks/net-snmp/update.sh
new file mode 100644 (file)
index 0000000..89c40d0
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire is free software; you can redistribute it and/or modify           #
+# it under the terms of the GNU General Public License as published by     #
+# the Free Software Foundation; either version 2 of the License, or        #
+# (at your option) any later version.                                      #
+#                                                                          #
+# IPFire is distributed in the hope that it will be useful,                #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
+# GNU General Public License for more details.                             #
+#                                                                          #
+# You should have received a copy of the GNU General Public License        #
+# along with IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+./uninstall.sh
+./install.sh