Overview

What is Sonar? Sonar is monitoring agent built and maintained by Infragravity with multiple releases available from our GitLab repository. It can be used for metric collection on Windows, Linux, Docker and Kubernetes (deployed as Helm chart). When it Fits? Cloud-native metric collection is common in hybrid scenarios when enterprise […]

External Metrics Discovery on Kubernetes

Problem How to use Prometheus on Kubernetes as central monitoring system in hybrid enterprise, with containers or hosts deployed externally on Windows? Solution Use Prometheus metrics discovery to locate targets deployed as exporters external to Kubernetes cluster. Considerations The following benefits and liabilities should be considered: Benefits Use common monitoring […]

Monitoring Windows Service

Goal Determine whether or not windows service is running. Solution Use monitoring agent to poll status of Windows service using WMI on periodic basis. Collect and send metrics to desired monitoring system. Steps Windows service status can be retrieved from WMI on periodic basis. The below steps describe how to […]

WMI Adapter

Overview This adapter collects values of Windows performance counters when enabled in Sonar monitoring agent for following scenarios with Windows OS version 2008 R2 or above: Servers Windows containers with Hyper-v or process isolation Virtual machines Configuration This adapter can be configured in two ways: legacy using Server element and […]

Performance Counters Adapter

Overview This adapter collects values of Windows performance counters when enabled in Sonar monitoring agent for following scenarios with Windows OS version 2008 R2 or above: Servers Windows containers with Hyper-v or process isolation Virtual machines Configuration To configure adapter, modify Sonar configuration file as follows: <?xml version="1.0"?> <configuration>   […]

Configuring Sonar

Prerequisites Sonar v0.2.3 or higher Overview Sonar configuration represents the following key abstractions: Input adapters – components for gathering metrics from targets Output adapters – components for sending telemetry to designated metric system. Queries – configuration of request to gather telemetry. Schedules – configuration for executing query for a given […]

Installing Sonar on Windows Host

Prerequisites Sonar version 0.2.3 and later Steps Download Sonar This step is required to deploy Sonar monitoring agent on target host. Create new folder, for example C:\Sonar. Next, download the latest zip file with the bits to Sonar folder from releases section in our GitHub repository and unzip the archive. This […]