Snmpd.conf – Comtrol eCos User Manual
Page 622

Chapter 47. SNMP for eCos
#include “mibgroup/mibII/my_new_mib.h”
PACKAGES/net/snmp/agent/VERSION/include/mib_module_inits.h
contains a number of lines like
init_interfaces();
init_dot3();
and so on; add your new MIB as follows:
init_my_new_mib();
and this should work correctly.
snmpd.conf
SNMPD.CONF(5)
SNMPD.CONF(5)
NAME
share/snmp/snmpd.conf
-
configuration
file for the ucd-
snmp SNMP agent.
DESCRIPTION
snmpd.conf is the configuration file which defines how the
ucd-smnp SNMP agent operates.
These files may contain any
of the directives found in the DIRECTIVES
section
below.
This
file
is
not
required for the agent to operate and
report mib entries.
PLEASE READ FIRST
First, make sure you have read the
snmp_config(5)
manual
page
that
describes how the ucd-snmp configuration files
operate, where they are located
and
how
they
all
work
together.
EXTENSIBLE-MIB
The
ucd-snmp
SNMP
agent reports much of its information
through queries to the 1.3.6.1.4.1.2021 section of the mib
tree.
Every
mib in this section has the following table
entries in it.
.1 -- index
This is the table’s index numbers for each
of
the
DIRECTIVES listed below.
.2 -- name
The
name of the given table entry.
This should be
unique, but is not required to be.
.100 -- errorFlag
518