Comtrol eCos User Manual

Page 630

Advertising
background image

Chapter 47. SNMP for eCos

Note:

By

default,

the

only

community

allowed to

write

(ie

snmpset)

to

your

script

will

be the "private"

community,or community #2 if defined

differently by the "community" token

discussed above.

Which

communities

are

allowed

write

access are con-

trolled by the RWRITE definition

in

the snmplib/snmp_impl.h source file.

EXAMPLE

See the EXAMPLE.CONF file in the top level

source

direc-

tory for a more detailed example of how the above informa-

tion is used in real examples.

RE-READING snmpd.conf and snmpd.local.conf

The ucd-snmp agent can be forced to re-read its configura-

tion files.

It can be told to do so by one of two ways:

1.

An

snmpset

of

integer(1)

to

1.3.6.1.4.1.2021.100.VERUPDATECONFIG.

2.

A "kill -HUP" signal sent to the snmpd

agent

pro-

cess.

FILES

share/snmp/snmpd.conf

SEE ALSO

snmp_config(5), snmpd(1), EXAMPLE.conf, read_config(3).

27 Jan 2000

SNMPD.CONF(5)

526

Advertising