start-snmp-subagent

Syntax

tadm start-snmp-subagent common_options [--instance-home=instance_home] [--agentx] (node_host)*

Description

Use this command to start the Simple Network Management Protocol (SNMP) subagent.

Note:

The SNMP subagent does not require the administration server to be in the running mode.

Options

For information about common_options, run the help command.

--instance-home|-i

Indicates the location where the server instances can be found. You must specify a valid installation location. When an --instance-home is specified, the command starts the SNMP subagent locally. When an --instance-home is not specified, the command does not start the SNMP subagent locally, but tries to connect to the administration server.

--agentx|-x

Specifies whether the SNMP subagent to run as subagent using the agentx protocol. If the SNMP subagent runs as agentx, the SNMP master agent must be up and running.

Note:

While running as an agentx protocol, the master agent (snmpd) needs to be configured to listen to the agentx protocol and must open the path mentioned in admin-server/config/snmpagt.conf. Make sure that the OTD SNMP has the required permissions to the agentx protocol.

Operands

node-host

Specify the name of the node running on the configuration.

Example

To start the SNMP subagent on one or more nodes:

tadm start-snmp-subagent --user=admin node1.example.com

To start the SNMP subagent locally on a node:

tadm start-snmp-subagent --instance-home=/home/otd 
 

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.