Registration is open - Live, Instructor-led Online Classes - Elasticsearch in March - Solr in April - OpenSearch in May. See all classes


Now Open Source: Sematext Monitoring Agent

You can now create monitoring integrations for your technology stack easier than ever before. We’ve recently opened-sourced Sematext’s Monitoring Agent, reworked it, and made it fully pluggable, making it possible for you to collect metrics from a number of additional sources.

Security, Transparency, Collaboration

Infrastructure and application monitoring agents are a sensitive piece of software. Deployed to as many servers and container hosts as possible, they collect critical data digital businesses need to operate efficiently and remain competitive. Every modern organization needs to know what exactly is running on their infrastructure for a number of reasons: maximizing resource utilization, cost savings, threat and vulnerability detection, applying security policies, compliance rules, etc. Open-source agents come with many more advantages such as:

Transparency

Anyone can inspect an open source project for bugs, malware, etc. Transparency is tremendously important to governments, regulated industries like banking or healthcare, and security software, but it is also critically important to all other organizations.

Collaboration

Most technologies are changed and released several times a year. As they change, their metrics evolve with them.  Often these changes are backward compatible, but sometimes they are not.  Thus, monitoring agents need occasional adjustments to keep up with new releases of technology they monitor. In the past, that is what we have done behind the closed doors, but that meant you depended on Sematext releasing new agent versions.  Open-sourcing our agent means we are no longer this bottleneck.  You are now in control and can adjust the agent for your own needs, optionally contributing your changes for the benefit of the community.

Adoption and Remixing

Open source projects can be used by anyone for nearly any purpose. For open source monitoring agents, this means that it is possible to integrate data collectors by anyone who has the need to monitor a specific technology or use the metrics for analysis, control application auto-scaling or tune data collectors for an optimized resource usage.

Out of the Box Integrations

The monitoring agent comes with a number of out of the box integrations for monitoring Kafka, Cassandra, Elasticsearch, Solr, ClickHouse, etc.  This means that you don’t have to do anything to get your dashboards – as soon as you install it the agent will start collecting metrics, visualize them in charts, group them logically, and organize them for you in the UI to make it easy for you to gain insights from all the data.  Each metric has a clear label and description.  Very importantly, you can change all this should you prefer something different simply by editing a few simple configuration files!  Metrics collected out of the box are listed in integration docs.

Pluggable Integrations

The agent comes with a number of out of the box integrations, but you can add your own, and all it takes are a few configs.  No coding needed. You can expect a detailed “How to” post very soon, the work on the documentation is still in progress.  

Metric Sources

Metrics can be collected from a few supported sources:

  • JMX
  • REST API
  • SQL Database

Each of these metric-sources is defined in configuration files.  To fetch metrics from JMX you only need to specify MBeans you want to collect. The JMX data source simplifies the monitoring stack by eliminating the need for JMX/HTTP bridges like Jolokia.  For REST you just specify the HTTP/HTTPS connection info and JSON elements to extract.  To get metrics from an SQL database you provide the connection string along with queries that return database statistics data.  Additional sources will be added.  Pull requests welcome, of course!

Influx Line Protocol Support

The Influx Line Protocol is a very popular protocol for sending metrics to InfluxDB.  It is widely supported by a number of open source monitoring agents. To make it simple for anyone to send metrics to Sematext we’ve done several things:

This makes the following possible:

  • You can now use Sematext Monitoring Agent to send metrics to your own InfluxDB, too, not just to Sematext. The connection settings can be configured in the Sematext agent properties, e.g.: server_base_url=https://your-influxdb-server:8086 metrics_endpoint=/write?db=metrics&u=UserName&p=Password
  • You can use a completely open source stack with Sematext Agent for metric collection, InfluxDB for metric storage, Grafana for dashboards, etc.
  • The open source release of Sematext Monitoring Agent complements other open-source agents. It fills the niche for the monitoring of application layer metrics via out of the box integrations like JVM, databases, web servers, message queues, big data tools, etc. or any of the pluggable configurations from other metric sources like SQL, JMX, REST (see above).
  • You can use other agents to collect and ship metrics to Sematext via their Influx Line Protocol outputs. By doing so you benefit from all other features Sematext platform provides – anomaly detection, ChatOps integrations, correlation with logs, distributed transaction tracing, etc. on top of data from other open-source agents.

Sematext Java Agent 4

Sematext Agent: Input and output options

Apache Software License

The Sematext Java Agent and all its application integrations are released under the Apache Software License v2 license, just like our previously open-sourced monitoring agents:

Update your Monitoring Agent

If you are an existing Sematext Cloud user, we encourage you to log in and update your agent to start benefiting from the lower footprint and flexible configuration options. If you are new to Sematext, have a look at the live demo to poke around and explore not just Sematext Monitoring, but also Sematext Logs.

Start Free Trial