Monitor Directives

Directive

Mode

Reload

 

Description

Default Value

"zend_monitor.max_var_len"  

 

ZEND_INI_ALL

Yes

Maximum variable length for collected data in POST/SERVERS. Limit applies to each single value.

 

"zend_monitor.warmup_requests"

ZEND_INI_ALL

Yes

Number of requests until monitor would use averaging statistics to produce events

 

"zend_monitor.load_sample_freq"

ZEND_INI_SYSTEM

Yes

Frequency of checking for load events (seconds)

 

"zend_monitor.rotate_freq"

ZEND_INI_SYSTEM

Yes

Frequency for rotating monitor internal logfiles (seconds)

 

"zend_monitor.reconnect_timeout"

ZEND_INI_SYSTEM

Yes

How long monitor will wait until trying to restore broken connection to central (seconds)

 

"zend_monitor.watch_functions"

ZEND_INI_SYSTEM

Yes*

 

 

 

 

 

List of functions to watch for time events (@file reads list from file)

 

"zend_monitor.watch_results"

ZEND_INI_SYSTEM

Yes*

List of functions to watch for failure return events (@file reads list from file)

 

"zend_monitor.collector_host"

ZEND_INI_SYSTEM

No

Hostname for central

 

"zend_monitor.collector_port"

ZEND_INI_SYSTEM

No

Port for central

 

"zend_monitor.log_dir"

ZEND_INI_SYSTEM

No

Directory where monitor logs will be kept

 

zend_monitor.server_key_dir

ZEND_INI_SYSTEM

No

Path to the directory for the RC4 key files:

Node: The server. key file

Collector Center: List of files (for each node in the cluster), which contains the RC4 key. The file names are the MD5 representation of the contained key.

 

"zend_monitor.server_key"

ZEND_INI_SYSTEM

No

Filename for Node RC4 key

 

"zend_monitor.enable"

ZEND_INI_ALL

Yes

Monitoring is enabled

 

"zend_monitor.error_level"

ZEND_INI_ALL

Yes

Errors reported as events

 

"zend_monitor.error_level.severe"

ZEND_INI_ALL

Yes

Errors reported as severe events

 

"zend_monitor.silence_level"

ZEND_INI_ALL

Yes

Three options:

0 - always Report Errors - Ignore the error-reporting setting and the silence operator and report all PHP errors.

1 - report errors that match the error-reporting criteria - Ignore all PHP errors silenced using either the error-reporting setting or the silence operator.

2 - report any errors not silenced with the operator @ - Ignore the error-reporting setting and only ignore errors silenced with the silence operator. "

 

zend_monitor.error_reporting

ZEND_INI_SYSTEM

No

Bitmask for events to be reported.

 

"zend_monitor.max_script_runtime_

load_cutoff"

ZEND_INI_ALL

Yes

Load value which would suppress time-related events

 

"zend_monitor.report_variables_data"

ZEND_INI_ALL

Yes

which variables to report (*)

 

"zend_monitor.max_script_runtime"

ZEND_INI_ALL

Yes

Script runtime above which event is produced (ms)

 

"zend_monitor.max_function_runtime"

ZEND_INI_ALL

Yes

Function runtime above which event is produced (ms)

 

"zend_monitor.max_memory_usage"

 ZEND_INI_ALL

Yes

Memory usage above which event is produced (K)

 

"zend_monitor.max_load"

ZEND_INI_ALL

Yes

Load above which event is produced

 

"zend_monitor.max_script_runtime.

severe"

ZEND_INI_ALL

Yes

Script runtime above which severe event is produced (ms)

 

"zend_monitor.max_function_runtime.

severe"

ZEND_INI_ALL

Yes

Function runtime above which severe event is produced (ms)

 

"zend_monitor.max_memory_usage.

severe"

ZEND_INI_ALL

Yes

Memory usage above which severe event is produced (K)

 

"zend_monitor.max_load.severe"

ZEND_INI_ALL

Yes

Load above which severe event is produced

 

"zend_monitor.max_time_dev"

ZEND_INI_ALL

Yes

Deviation from average script runtime above which event is produced (%)

 

"zend_monitor.max_output_dev"

ZEND_INI_ALL

Yes

Deviation from average output size above which event is produced (%)

 

"zend_monitor.max_mem_dev"

ZEND_INI_ALL

Yes

Deviation from average memory usage above which event is produced (%)

 

"zend_monitor.max_time_dev.severe"

ZEND_INI_ALL

Yes

Deviation from average script time above which severe event is produced (%)

 

"zend_monitor.max_output_dev.severe"

ZEND_INI_ALL

Yes

Deviation from average output size above which severe event is produced (%)

 

"zend_monitor.max_mem_dev.severe"

ZEND_INI_ALL

Yes

Deviation from average memory usage above which severe event is produced (%)

 

"zend_monitor.mem_threshold"

ZEND_INI_ALL

Yes

If memory usage below this value, no deviation events are produced

 

"zend_monitor.time_threshold"

ZEND_INI_ALL

Yes

If script runtime goes below this value, no deviation events are produced

 

"zend_monitor.output_threshold"

ZEND_INI_ALL

Yes

 If output size goes below this value, no deviation events are produced

 

"zend_monitor.event_overload_threshold"

ZEND_INI_SYSTEM

Yes

Depreciated
If more then 1000 events happen in this time (seconds), extra events will be dropped

 

"zend_monitor.disable_script_runtime_

after_function_runtime"

ZEND_INI_ALL

Yes

Disable "script slow" event after "function slow" event happened

 

"zend_monitor.tmp_dir"

NONE

No

Directory where monitor temp files are written

 

"zend_monitor.max_content_download_

time"

ZEND_INI_ALL

Yes

If fpassthru() execution is above this value event is produced (ms)

5000

"zend_monitor.max_content_download_

time.severe"

ZEND_INI_ALL

Yes

If fpassthru() execution is above this value severe event is produced (ms)

10000

"zend_monitor.max_apache_processes"

ZEND_INI_ALL

Yes

If number of Apache processes is more than this value an event is produced

200

"zend_monitor.max_apache_processes.

severe"

ZEND_INI_ALL

Yes

  If the number of Apache processes is more than this value a severe event is produced

 

250

"zend_monitor.security_filtered_variables"

ZEND_INI_ALL

Yes

The superglobal variables (*) that are filtered for blacklisted words (given in the security_black_list directive) PRGCVF

 

"zend_monitor.security_black_list"

ZEND_INI_ALL

Yes

The words that are filtered out of the chosen superglobal variables (@file reads list from file)

 

"zend_monitor.debug_level"

ZEND_INI_ALL

No

Debug level for log printouts

 

"zend_monitor.max_script_lifetime"

ZEND_INI_ALL

No

Max lifetime of a script statistic data within the monitor.

 

"zend_monitor.longscript.enable"

NONE

Yes

Enables this event

 

"zend_monitor.longfunction.enable"

NONE

Yes

Enables this event

 

"zend_monitor.zenderror.enable"

 

NONE

Yes

Enables this event

 

"zend_monitor.devscript.enable"

NONE

Yes

Enables this event

 

"zend_monitor.funcerror.enable"

NONE

Yes

Enables this event

 

"zend_monitor.devmem.enable"

NONE

Yes

Enables this event

 

"zend_monitor.outsize.enable"

NONE

Yes

Enables this event

 

"zend_monitor.memsize.enable"

NONE

Yes

Enables this event

 

"zend_monitor.load.enable"

NONE

Yes

Enables this event

 

"zend_monitor.custom.enable"

NONE

Yes

Enables this event

 

"zend_monitor.slowcontentdownload.enable"

NONE

Yes

Enables this event

1

"zend_monitor.maxapacheprocesses.enable"

NONE

Yes

Enables this event

1

"zend_monitor.javaexception.enable"  

NONE

Yes

Enables this event

1

"zend_monitor.httperror.enable"  

NONE

Yes

Enables this event

1

"zend_monitor.max_events_per_second"

 

 

The maximum events per second the monitor collector will report.

Limitations:

Values may range between 1 to 999 higher or lower values are ignored

8

  (*) G - GET, P - POST, C - COOKIE, R - RAW_POST_DATA, E - ENV, V - SERVER, S - SESSION, F - FILES

Zend Monitor Event Types

For each event type there is a zend_monitor.<event_type>.

zend_monitor.<event_type> - can be set to off then this event type will not be reported. E.g.: zend_monitor.memsize.enable = Off however the same settings can be easily defined from PHP Intelligence | Event Triggers.

The following list displays the event types and the respective directive for enabling and disabling Events:

Note:

All event types are enabled, by default. zend_monitor.enable when turned off will disable all event reporting activity.

 

 

Related Links

Related Links:
Event Triggers