eG Monitoring
 

Measures reported by ZkpLogsTest

The Apache Zookeeper logs are a vast source of information related to errors and warnings that an Apache Zookeeper server encounters. Administrators use these log files not only to spot problem conditions, but also to troubleshoot them. By periodically scanning the log file of the Apache Zookeeper service for errors/warnings, the ZkpLogsTest test promptly notifies administrators as soon as a new error, warning, or informational message is logged in the file. As and when messages are logged in the log files, these log files grow larger in size. If the log file growth is left unchecked, it can consume all available space in the Apache Zookeeper server. Using this test, administrators can effectively track the log file growth and initiate measures to control it.

This test reports the errors logged in the log files, the current size of the log files and their growth rate. Using this test, administrators can figure out abnormal growth of the log file and isolate frequent errors.

Outputs of the test : One set of results for the target Apache Zookeeper server being monitored.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Error_messages Indicates the number of error messages logged in the log files during the last measurement period. Number Ideally, the value of this measure should be 0.
Warning_messages Indicates the number of warning messages logged in the log files during the last measurement period. Number Ideally, the value of this measure should be 0.
Informational_messages Indicates the number of informational messages logged in the log files during the last measurement period. Number  
File_size Indicates the current size of the log file. MB  
Growth_rate Indicates the rate at which the log file is growing. MB/sec A high value for this measure or a consistent increase in its value indicates that the Cassandra log is rapidly growing and may end up occupying too much space on the disk.