Version



net start snmp

|
Option
|
Description
|
|---|---|
|
-I
|
Installs all SNMP subagents.
|
|
-U
|
Uninstalls all SNMP subagents.
|
|
-A agent_name
|
Installs or uninstalls the subagents.
|
For example:




ps -A | grep snmpdxIf the master agent is running, the command will produce output similar to:
136 ? 0:00 snmpdx If the master agent is running, run the kill command to send a kill signal to that process. Using the output from the example above, as a superuser, run the command:
kill -9 136 Another way to stop the master agent process is by invoking:
/etc/init.d/init.snmpdx stop As a superuser, run the command:
/usr/lib/snmp/snmpdx or:
/etc/init.d/init.snmpdx start to start the master agent.

|
Option
|
Description
|
|---|---|
|
-I
|
Installs all SNMP subagents.
|
|
-U
|
Uninstalls all SNMP subagents.
|
|
-A agent_name
|
Specifies a subagent to install or uninstall.
|
|
File
|
Description
|
|---|---|
|
NmsChassis.acl
|
Chassis MIB access control file. Optionally, modify the community names to add security.
|
|
NmsChassis.rsrc
|
Chassis MIB registration file. No modifications are necessary.
|
|
File
|
Description
|
|---|---|
|
DtmAgent.acl
|
DS1 MIB access control file. Optionally, modify the community names to add security.
|
|
DtmAgent.rsrc
|
DS1 MIB registration file. No modifications are necessary.
|
|
File
|
Description
|
|
snmpdx.acl
|
Master agent access control file.
|
|
snmpdx.rsrc
|
Master agent registration file. Defines subagents to the master agent.
|
|
enterprises.oid
|
Lists the OIDs of enterprise subtrees.
|

##################
# access control #
##################
# The list of community names needed for read/write access
# to the entire MIB.
# If the list is empty, the only valid community name
# is "public" and its access type is read-only
acl = {
{
communities = public, private
access = read-write
managers = *
}
}
###################
# trap parameters #
###################
trap = {
{
trap-community = public
hosts = myhost, localhost
{
enterprise = "Nms Chassis"
trap-num = 1
}
}
}

agents =
{
{
name = "NmsChassis"
subtrees = { nmschassis }
timeout = 4000000
watch-dog-time = 0
}
}

###################
# trap parameters #
###################
trap = {
{
trap-community = public
hosts = myhost
{
enterprise = "sun"
trap-num = 0, 1, 2-5, 6-16
}
# {
# enterprise = "Nms Chassis"
# trap-num = 1
# }

"Nms Chassis" "1.3.6.1.4.1.2628.2.2.6" "DS1" "1.3.6.1.2.1.10.18.15"

LD_LIBRARY_PATH=/opt/nms/lib export LD_LIBRARY_PATH


ps -A | grep snmpDtmAgent
126 ? 0:00 snmpDtmAgent
kill -15 126




"snmpNmsChassis" 1.3.6.1.4.1.2628.2.2.6 "nopassword" "snmpDtmAgent" 1.3.6.1.2.1.10.18.15 "nopassword"

ip group_name ip_address 162


You should see output similar to this:
1026 TS 85 pts/3 0:00 in.snmpd
If ctdaemon stops running, the agents will not report any data to SNMP requests.
The SNMP subagents will continue to work whether or not this process is running. If you restart this process while a subagent is running, boards will be detected (if configured).
For CT Access 4.0 or later, refer to the Natural Access installation booklet and to the OAM System User's Manual for more information about starting CT Access and the OAM service.
For versions of CT Access prior to 4.0, agmon must be started. You must also specify the AIS service and the ADI service in the cta.cfg file. Refer to the AG Runtime Configuration and Developer's Manual for more information about agmon.
To check that either process is running, run the ps command in a console window. For example:
ps -A | grep ctdaemon
which will produce output similar to
1028 TS 85 pts/3 0:00 ctdaemon
|
Command
|
Description
|
|---|---|
|
snmpNmsChassis
|
Starts the NMS Chassis subagent.
|
|
snmpDtmAgent
|
Starts the DTM subagent.
|


#=============================================================== # snmp.cfg # # This is an example of a file that specifies SNMP configuration. # #=============================================================== [chassis] #Unknown chassis #chassType = 1 #CPCI chassis chassType = 2 #Generic PC chassis #chassType = 3 #Generic Sun chassis #chasType = 4 #chassDescr = Generic PC development computer [board] #boardDescr = 0, Tested 01/25/1991 #boardDescr = 1, Bad #boardDescr = 3, Bad [allowSet] #boardCommand = off
Version