Kx Monitoring runs on a central server and monitors the status of satellite servers.
A Kx Monitoring installation has
- a single Kx Control host, which runs Kx Stream, storing and processing statistical information;
- a Control Daemon on the central server and each satellite server for stats collection
- a Kx Dashboards installation for the UI layer, (it can share the central server) providing visualizations of Monitoring data
Each server requires a SysMon Java application installed and running to collect server and process stats.
SysMon is part of the Control Daemon package. It is run from a start script and is a Java-based executable that collects server and process information.
It requires a valid Kx Platform license to run.
On a timer basis, it publishes table information to the Ops Tickerplant, the details of which are obtained from the
DM_SYSMON_CONFIG parameter, which has no default value. This parameter can be viewed and updated from the Kx Control UI or a Dashboard within Kx Monitoring.
Any functionality detailed in the Monitoring dashboards that relates to server memory or CPU utilization statistics requires a running SysMon process publishing relevant stats to the Ops Tickerplant process.
SysMon uses the SIGAR library. The shell and commands are implemented in Java and include implementations of well-known commands such as:
||display system ARP cache|
||report filesystem disk space usage/(inode)|
||display usage for a directory recursively|
||kernel IP routing table|
||system random access memory (in Mb)|
||net connections and statistics|
||network interface configuration and statistics|
||process credentials, statistics, state, time and memory|
||process execution instructions|
||process file descriptors|
||swap page in/out|
||users logged on and what they are doing|
License and warranty
SIGAR is free software; it can be redistributed and/or modified under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. SIGAR is distributed in the hope that it will be useful, but without any warranty; not even the implied warranty of merchantability or fitness for a particular purpose.
Kx Monitoring is installed as part of a Kx Enterprise Platform installation and when licensed will automatically run the necessary workflows to capture all monitoring data. To install the Kx Platform review the Deployment guides.
For full environment coveage as well as the main Kx Monitoring installation, a satelite daemon will need to be installed on all servers wishing to be monitored. This can be done via a Daemon Only install, again review the Deployment guides for full details.
- Is the Control Daemon process running on all the satellute servers?
Are the processes in the following workflows running? Check through the Process Library Status view in the Kx Control UI
- DS_launch_OPS_B for redundancy
Check the Monitoring dashboard shows the Control Daemon running on each satellite server.
- Check the Server Memory League Table pane on the State At Time tab within the Monitoring dashboard shows each of the server groups that have been set up.
Check that the following tabs are populating for all satellite servers:
- Server Details
- Process Details
- State At Time
At initialization there is a single Monitor administrator user;
DeltaMonAdministrator, which can be used to log in and view data. After installation, remove this user and create new administrator users.
Add further Monitoring users through the Kx Control UI. To ensure access to the Monitoring dashboards and data, include new users in the
DeltaMonUsers user group.
Further permissions can be granted these users. For example, you can use permissions to specify whether or not users have the ability to view or edit the Monitoring configuration.
The main dashboard loads on login. It has the following tabs.
|Overview||Current state of the system, an aggregated view across all processes running on all servers|
|Server Details||Tools for the investigation of a problem with a server, specifically CPU usage, memory usage and network cards|
|Process Details||Tools for the investigation of a problem with a process, specifically CPU usage, memory usage and network connection issues|
|State at Time||Where Overview displays an overview of the current state of the system, this displays it for any point in the past|
|DMLog||Manages queries on the
|QueryLog||Summary statistics on queries running on each kdb+ process within the system which has the query logging turned on|
|Log Scraper||Log scraping is configured through the
Monitoring Config dashboard
The Monitoring Config dashboard provides the tools to configure Kx Monitoring and is used to configure the alerts to receive.