5. InfluxDB monitoring keys

The InfluxDB ngcp monitoring database contains time series of several monitoring sources. The following are some of the current measurements:

node

Cluster node information.

memory

System memory information.

proc_count

Process counts.

monit

Monit supervised processes information.

mail

MTA information.

mysql

MySQL database information.

kamailio

Kamailio statistics information.

sip

SIP statistics information.

The node measurement contains the following fields:

active

Cluster node HA state (boolean: 1/0).

hb_proc_state

Cluster node GCS/CRM process state (boolean: stopped/running).

hb_host_state

Cluster node host state (boolean: up/down).

hb_node_state

Cluster node HA state (ngcp-check-active -p).

The monit measurement contains the following fields:

name

The process name.

proc_status

The process status.

monit_status

The monit status.

pid

The process ID.

ppid

The process parent ID.

children

The number of children.

uptime

The process uptime.

cpu_percent

The CPU usage in percent for this process.

cpu_percent_total

The CPU usage in percent for the process group.

memory

The memory in bytes for this process.

memory_total

The memory in bytes for the process group.

memory_percent

The memory in percent for this process.

memory_percent_total

The memory in percent for the process group.

data_collected

The timestamp when the data was collected.

The mysql measurement contains the following fields:

last_io_error

Last IO error description.

last_sql_error

Last SQL error description.

queries_per_second_average

Average of queries per second.

replication_discrepancies

Number of replication discrepancies.