This topic lists all the configuration directives for Zend Monitor.
The table below is a summary of all the Zend Monitor configuration directives, and displays the directive name, its default value, and a description:
Directive |
Default Value |
Description |
1 |
Enables or disables the Monitor component. |
|
2 |
Monitor extension log verbosity level. |
|
10 |
The maximum size of the log file before it is rotated. |
|
4194304 / 2097152 |
Amount of shared memory to allocate for event collection. |
|
events.sock / events |
Communication transport for event reporting to the Monitor Node. |
|
PRGCVF |
PHP Super-global variables to include in event reports. |
|
PHP Super-global values that should not be included in Zend Monitor events. |
||
PGCV |
PHP Super-globals to pass through the security black-list filter. |
|
100 |
The maximum length of a superglobal to include in an event report. |
|
zend_monitor.event.request_slow_exec.disabled_on_function_slow_exec_event |
0 |
Disable reporting of Slow Request Execution events if a Slow Function Execution event was reported. |
zend_monitor.event.request_slow_exec.disabled_on_high_load.threshold |
0 |
Sets the load level to disable Slow Request Execution events for the same request that already triggered a high load event. |
100 |
The minimum request execution time for a relativity check. |
|
zend_monitor.event.request_relative_large_mem_usage.min_mem_usage |
100 |
The minimum request memory usage for a relativity check. |
zend_monitor.event.request_relative_large_output_size.min_output_size |
100 |
The minimum request output size for a relativity check |
1 |
Controls PHP Error event reporting when PHP error reporting is supressed |
|
500 |
How many requests to run before deviation events are calculated (to collect data for the average). This is used to calculate averages for relative events. |
|
300 |
The time duration (in seconds) before statistics are reset if a request is not called. |
|
monitor_rules.json |
Event rules configuration file. |
|
0 |
Enables fast time sampling which is dependent on CPU cycles and frequency, otherwise, the directive uses operating system timing (which may be less accurate). |
|
2 |
Determines integration with tracer mechanism in case of events that require a trace data dump. |
|
0 |
When enabled, use the URL's query string as part of the aggregation key. |
|
event_components.php |
||
0 |
When enabled, an event will also trigger a code-tracing file generation. |
The list below contains information for all the available configuration directives for Zend Monitor: their description, type, units, default value, modification scope, and the Zend Server version they became available in.
Enables or disables the Monitor component. When set to On, Zend Monitor will collect and report PHP events. When set to Off, PHP will not be monitored.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The extension's log verbosity level.
Default Value: 2
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
The maximum size of the log file before it is rotated.
Default Value: 10
Units: MBytes
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Amount of shared memory to allocate for event collection. If exceeded, an error message is reported to the log.
Default Value:
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Defines the network communication transport to be used when sending event reports from the Monitor Extension to the Monitor Node.
Default Value:
Type: string
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Default Value: PRGCVF
Type: string
Modification Scope: ZEND_INI_ALL
Available Since Version: 3.6
Default Value:
Type: string
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 3.6
Default Value: PGCV
Type: string
Modification Scope: ZEND_INI_ALL
Available Since Version: 3.6
When the string is passed, any characters that exceed the limit are truncated and '...' is appended to the end of the string to indicate that this is a partial value.
Default Value: 100
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 3.6
Disable reporting of Slow Request Execution events if a Slow Function Execution event was reported in the same request. This reduces the chance of getting double slow-execution reports triggered by the same underlying cause.
Default Value: 0
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Sets the load level to disable Slow Request Execution events for the same request that already triggered a high load event.
Default Value: 0
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The minimum execution time for a request to be compared to the average request execution time.
Default Value: 100
Units: milliseconds
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The minimum memory usage of a request to be compared to the average request memory usage.
Default Value: 100
Units: KBytes
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The minimum output size of a request to be compared to the average request output size.
Default Value: 100
Units: KBytes
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Controls PHP Error event reporting when the silencing operator (@) is used or when the error_reporting level is set to 0. The values are:
Default Value: 1
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
How many requests to run before deviation events are calculated (to collect data for the average). This is used to calculate averages for relative events.
Default Value: 500
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The time duration (in seconds) for holding statistics in memory. If a request is not called within that time period, the statistics are reset.
Default Value: 300
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The name and path to the file that contains the defininitons for event rules and actions. This file should not be edited manually.
Default Value: monitor_rules.json
Type: string
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Enables fast time sampling which is dependent on CPU cycles and frequency, otherwise, the directive uses operating system timing (which may be less accurate).
Default Value: 0
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Determines integration with tracer mechanism in case of events that require a trace data dump. 0 means off, 1 means on, 2 means standby.
Default Value: 2
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
When enabled, use the URL's query string as part of the aggregation key.
Default Value: 0
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Default Value: event_components.php
Type: string
Modification Scope: ZEND_INI_ALL
Available Since Version: 6.0
When enabled, an event will also trigger a code-tracing file generation.
Default Value: 0
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 5.5