Skip to content

/AWS1/CL_CWN=>UPDATEMONITOR()

About UpdateMonitor

Updates the aggregationPeriod for a monitor. Monitors support an aggregationPeriod of either 30 or 60 seconds. This action requires the monitorName and probeId parameter. Run ListMonitors to get a list of monitor names.

Method Signature

IMPORTING

Required arguments:

IV_MONITORNAME TYPE /AWS1/CWNRESOURCENAME /AWS1/CWNRESOURCENAME

The name of the monitor to update.

IV_AGGREGATIONPERIOD TYPE /AWS1/CWNAGGREGATIONPERIOD /AWS1/CWNAGGREGATIONPERIOD

The aggregation time, in seconds, to change to. This must be either 30 or 60.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWNUPDATEMONIOUTPUT /AWS1/CL_CWNUPDATEMONIOUTPUT