Format of the nco_http command line
The format of the nco_http command line to send a command to the probe is:
$OMNIHOME/bin/nco_http -uri
probeuri:probeport/probes/ca_spectrum_corba -datatype
application/json -method post -data
'{"command":"command-name","params":[command-parameters]}'
Where:
- probeuri is the URI of the probe.
- probeport is the port that the probe uses to listen for HTTP/HTTPS commands. Specify the same value as that set for the NHttp.ListeningPort.
- command-name is the name of the command to send to the probe. The following
command names are available:
- acknowlegeAlarm
- clearAlarm
- resync
- updateStatus
- updateTroubleShooterName
- updateTroubleShooterModel
- updateTroubleShooterTicket
- updateEventList
- unacknowlegeAlarm
- command-parameters is a list of zero or more command parameters. For commands that have no parameters, this component is empty. The command descriptions in the following section define the parameters that each takes.