Chapter 9, Using SNMP to Monitor Servers
211
Enabling and Starting the SNMP Master Agent
Enabling and Starting the SNMP Master
Agent
Master agent operation is defined in an agent configuration file named
CONFIG
. You can edit the
CONFIG
file using the Server Manager, or you can
edit the file manually.You must install the master SNMP agent before you can
enable the SNMP subagent.
On a Solaris platform, the SNMP CGI scripts sometimes allow the
pid_masteragt
file to get out of sync with the
magt
process. When this
happens, the
magt
process is still running and using the port, but the server is
no longer aware of its process ID. This prevents you from restarting the master
agent.
If you start or restart the master agent multiple times from Enterprise Server,
CGI scripts will run and try to start the master agent simultaneously, and the
PID file will be the one from the last CGI to execute, which may not be the
process holding the SNMP port.
If you get a bind error similar to “System Error: Could not bind to port,” when
restarting the master agent, use
ps -ef | grep snmp
to check if
magt
is
running. If it is running, use the command
kill -9
pid
to end the process.
The CGIs for SNMP will then start working again.
Manually Configuring the SNMP Master
Agent
To configure the master SNMP agent manually:
1.
Log in as superuser.
2.
Check to see if there is an SNMP daemon (
snmpd
) running on port 161.
If an SNMP daemon is running, make sure you know how to restart it and
which MIB trees it supports. Then kill its process.
3.
Edit the
CONFIG
file located in
plugins/snmp/magt
in the server root
directory.
Summary of Contents for Netscape Enterprise Server
Page 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Page 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Page 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Page 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Page 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Page 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Page 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Page 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Page 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Page 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Page 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Page 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Page 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Page 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Page 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Page 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Page 504: ...504 Netscape Enterprise Server Administrator s Guide ...