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.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...