New features
-
Added the
zendhqctl monitoring history
command that can be used to query monitoring issues from the monitoring database.The command implements
list
andprint
sub-commands for listing and printing monitoring issues. -
Added the
monitor.aggregate_ttl
directive to the ZendHQ daemon's configuration file that can be used to set the time-to-live value for aggregated monitoring issues.The default value is
300
(5 minutes). If a monitoring event repeats within the time-to-live value, then the event is aggregated into a single monitoring issue.The monitoring issues aggregation can be enabled with the
monitor.aggregate_events
directive.
Changes
-
The
mon.get_issues
JsonRPC method now has an additional filter parameter that can be used to filter issues by severity, event type, time, and rule name. -
The
mon.get_issues
JsonRPC method now has an additionallast_id
parameter that can be used to specify the last seen issue ID value for implementing pagers.
Bug fixes
-
Fixed a bug that caused Job Queue queue starvation if a job was scheduled to run in the far future (24 days and more).
-
Fixed a bug in the ZendHQ daemon's monitoring module that did not store custom monitoring event user data to the database. The user data provided with
zend_monitor_custom_event()
andzend_monitor_custom_event_ex()
functions is now properly stored in the monitoring database.
New API and database schema versions
-
JsonRPC
session
namespace API version is now1.10
. -
JsonRPC
mon
namespace API version is now1.4
. -
Monitoring database schema version is now
2.2
.