This is a draft document that was built and uploaded automatically. It may document beta software and be incomplete or even incorrect. Use this document at your own risk.

Additional Metrics

In addition to the standard metrics, SUSE OpenStack Cloud Monitoring automatically adds the following additional metrics to the monasca agent configuration on the Monitoring Node.

elastic.yaml

Elastic checks gather metrics for Elasticsearch databases, such as the Log Database of SUSE OpenStack Cloud Monitoring. The configuration file must specify the URL for HTTP requests. If basic authentication is used, for example, elasticsearch-http-basic, the configuration file must also specify the user name and password for every instance that requires authentication.

The agent installer automatically creates the elastic.yaml configuration file in the /etc/monasca/agent/conf.d/ directory. If there is an Elasticsearch database instance installed on the machine where the agent is installed, you have to specify the configuration information in the elastic.yaml file after the installation.

Example configuration:

init_config: null
instances:
- dimensions:
    component: elasticsearch
    service: monitoring
  url: http://localhost:9200
  username: username
  password: password
http_check.yaml

HTTP endpoint checks perform up/down checks on HTTP endpoints. Based on a list of URLs, the agent sends an HTTP request and reports success or failure to the Monitoring Service.

Crowbar configures HTTP checks for the following services on the Monitoring Node:

http_metrics.yaml

HTTP metrics checks retrieve metrics from any URL that returns a JSON response. Based on a list of URLs, the agent can dispatch an HTTP request and parse the desired metrics from the JSON response.

Crowbar configures a HTTP metrics check for the monasca-persister service running on the Monitoring Node.

kafka_consumer.yaml

Kafka consumer checks gather metrics related to services consuming Kafka topics, such as the Persister or Notification Engine of SUSE OpenStack Cloud Monitoring.

Crowbar configures Kafka consumer checks for the Kafka service running on the Monitoring Node.

kibana.yaml

Kibana checks gather various statistics such as load, heap size and usage, and various request performance statistics from a Kibana server. The checks retrieve these statistics from Kibana's status endpoint.

Crowbar configures Kibana checks for the Kibana service running on the Monitoring Node.

mysql.yaml

MySQL checks gather various statistics such as buffer sizes and usage, reads/writes, network connections, etc. from a MySQL database server. MariaDB is also supported. The metrics are drawn from the server status variables of MySQL.

Crowbar configures the MySQL checks for the MariaDB database service running on the Monitoring Node.

ntp.yaml

Network Time Protocol checks monitor the time offset between an NTP server and the machine the agent is running on.

Crowbar configures the NTP check to monitor the offset between the Monitoring Node and the NTP server running on the Administration Server.

postfix.yaml

Postfix checks monitor the queue sizes (incoming, active, deferred) on a Postfix mail server.

Crowbar configures Postfix checks for the Postfix service running on the Monitoring Node.

zk.yaml

ZooKeeper checks gather metrics on nodes and connections covered by ZooKeeper, a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. The check parses the result of the ZooKeeper stat admin command.

Crowbar configures ZooKeeper checks for the ZooKeeper instance running on the Monitoring Node.