The configurationGetMonitoringSettings Web API Method
This method gets monitoring settings values. The status of monitoring, statistics, and URL insight components can be enabled or disabled by setting the value to 1 or 0. This API is used in the Monitoring Settings page, see there for details.
URL Insight
-
zray_snapshots_mode - This option enables or disables the Z-Ray Snapshots.
-
zray_snapshots_interval - This option specifies the Z-Ray Snapshots Interval in seconds.
Monitoring and Statistics
-
url_insight_mode - This option enables or disables URL Insight feature.
-
monitoring - This option enables or disables event monitoring feature, including Events and Event Rules.
-
statistics - This option enables or disables Statistics collection (Visible in the EventsStatisticsMonitoringDashboard page).
Events
-
events_aggregation - This option enables or disables Events Aggregation.
-
code_tracing_for_events - This option how code traces are generated for events:
-
Never
-
Rule-based
-
Activate Code Tracing
-
Always activate Code Tracing for triggered events
-
Always
-
Periodic Cleanup Settings
-
delete_events_occur - This option configures the number of days in the Monitoring Events cleanup mechanism to delete events which did not occur in the last x days.
Triggered Actions Settings
-
monitoring_rule_default_email - This options defines a Monitoring rule default email address, or multiple email addresses separated by commas, to be selected when event rules are triggering an email action
-
monitoring_rule_default_callback_url - This options defines the Monitoring rule default callback URL.
Routing
-
enable_route - This option enables or disables routing analysis, affecting Monitoring Events Aggregation and URL Insight.
Version: 1.14
Required Permissions: Read-only
HTTP method: GET
Supported by Editions: Zend Server
Request Parameters: None
Expected Response Code: 200 OK. For more information see Response Format.
Response Format: Response successful message or error message
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchIssue |
The requested issue does not exist |
Example
|
Request
Response
|