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 can be configured to use one of two libraries for gathering server and process information.
DM_SYSMON_CONFIG parameter monAgent field allows the user to configure the default of OSHI or SIGAR.
OSHI is an Operating System and Hardware information library. From version 4.6.0 it has become the default library used for SysMon to gather server and process information.
OSHI is seen by many as a one-to-one replacement of SIGAR. With a range of features and API available, it is able to retrieve information at a server and process level across multiple operating systems.
Alternatively SysMon may be configured to use 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.
SIGAR library has not been actively maintained since 2010. Because of this, SIGAR has been known to have issues with recent Operating System and JAVA versions
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 satellite 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 satellite 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.