Probe commands
The following section defines the structure of the JavaScript Object Notation (JSON)-formatted commands that you can send to the probe.
The example uses a probe URI of http://localhost and
a HTTP listening port of 8080
.
shutdown_probe
The shutdown_probe command allows you to shut down the probe.
The format of the -data
option
for the shutdown_probe command is:
-data
'{"command":"shutdown_probe","params":[]}'
The following example shuts down the Generic Log File Java Probe:
$OMNIHOME/bin/nco_http -uri http://localhost:8080/probes/glf_java
-datatype application/JSON -method POST -data '{"command":"shutdown_probe","params":[]}'