Sending commands using nco_probeeventfactory

Commands are sent to the probe using the nco_probeeventfactory utility. In turn, this uses the nco_http utility to despatch the data to the probe.

There are two groups of command:

  • Get commands that retrieve data from the agent
  • Set commands that set data in the agent

The following sections show the format of each command in nco_probeeventfactory and include an example of each. The examples operate on the System group of objects in the standard SNMP MIB. This MIB resides in the internet management subtree of the SNMP object tree.

The sections use the following conventions for the parameter values:

Table 1. Syntax conventions for nco_probeeventfactory parameters
Parameter Meaning

probehost

The host name or IP address of the system that runs the probe.

probeport

The port that the probe listens on for HTTP connections.

destinationhost

The host name or IP address of the destination address for the command. That is, the address of the SNMP agent.

userid

The user account required to log in to the probe when using SNMP V3.

oid

The identifier of the object.

type

The type of the object. See Object types for a list of values that this parameter can take.

value

The value to associate with the object.

Enclose the value in quotes when it includes spaces.

community

The SNMP community string.

port

The target port on the SNMP agent that the probe uses for the command.