To Restart the Native Agent
•
At the command prompt, enter
snmpd -P
For example, on the Solaris platform, using the port in the sample
above, you would enter
snmpd -P 1161
Reconfiguring a Native Agent on UNIX
If your native agent supports SMUX, you don't need to install a master agent.
However, you do need to change the native agent's configuration.
UNIX uses several configuration files to screen its communications. One of them,
etc/snmp/conf/snmpd.conf
incoming messages from SMUX subagents. To change the file, add a line defining
each subagent by its object identifier.
For example, you might add this line to
smux 1.3.6.1.4.1.1.1450.1 "" IPAddress netMask
where IPAddress is the IP address of the host on which the subagent is running
and netMask is the network mask of that host (for instance,
NOTE
For more information on configuring SNMP and SMUX, see the online manual
page for
portNumber (specified in the
, needs to be changed so that the native agent accepts
Do not use the loopback address 127.0.0.1; use the host's actual IP
address instead.
.
snmpd.conf
Reconfiguring a Native Agent on UNIX
file)
CONFIG
:
snmpd.conf
255.255.0.0
Chapter 11
Using SNMP to Monitor Servers
file
CONFIG
).
217