Skip to content

/AWS1/CL_CWN=>UPDATEPROBE()

About UpdateProbe

Updates a monitor probe. This action requires both the monitorName and probeId parameters. Run ListMonitors to get a list of monitor names. Run GetMonitor to get a list of probes and probe IDs.

You can update the following para create a monitor with probes using this command. For each probe, you define the following:

  • state—The state of the probe.

  • destination— The target destination IP address for the probe.

  • destinationPort—Required only if the protocol is TCP.

  • protocol—The communication protocol between the source and destination. This will be either TCP or ICMP.

  • packetSize—The size of the packets. This must be a number between 56 and 8500.

  • (Optional) tags —Key-value pairs created and assigned to the probe.

Method Signature

IMPORTING

Required arguments:

IV_MONITORNAME TYPE /AWS1/CWNRESOURCENAME /AWS1/CWNRESOURCENAME

The name of the monitor that the probe was updated for.

IV_PROBEID TYPE /AWS1/CWNPROBEID /AWS1/CWNPROBEID

The ID of the probe to update.

Optional arguments:

IV_STATE TYPE /AWS1/CWNPROBESTATE /AWS1/CWNPROBESTATE

The state of the probe update.

IV_DESTINATION TYPE /AWS1/CWNDESTINATION /AWS1/CWNDESTINATION

The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.

IV_DESTINATIONPORT TYPE /AWS1/CWNPORT /AWS1/CWNPORT

The updated port for the probe destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.

IV_PROTOCOL TYPE /AWS1/CWNPROTOCOL /AWS1/CWNPROTOCOL

The updated network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.

IV_PACKETSIZE TYPE /AWS1/CWNPACKETSIZE /AWS1/CWNPACKETSIZE

he updated packets size for network traffic between the source and destination. This must be a number between 56 and 8500.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWNUPDATEPROBEOUTPUT /AWS1/CL_CWNUPDATEPROBEOUTPUT