Skip to content

Monitoring

WildFly monitoring in Zabbix

Zabbix is a fully featured open-source monitoring solution. I wanted to evaluate how easy it is to monitor an application server like WildFly. Server Installation First component to install is the server which also requires a database (PostgreSQL in my case). As it was already explained by Daniel’s blog, I will not go into too much details. For the server… 

Predict the Future with Prometheus

As I am focusing on monitoring subject, I was wondering if it is possible to set alarm based on prediction instead of simple thresholds. Dynatrace has predictive anomaly detection feature, but in this blog, I want to test if on-premises solution could help on this. We will see what Prometheus is capable of. Alarm and Threshold When we set up… 

Grail and Dynatrace Query Language

In my last dynatrace blog, I presented how to go from logs to dashboard. This could look like a complex process for such a simple task. Moreover, this does not work on historical data as metric will be only populated at the time of the definition even if it was present in the log before. Recently, dynatrace introduced Grail. Grail… 

WildFly: From Log to Dashboard with dynatrace

In my previous dynatrace blog, I explained how to deploy OneAgent on a Virtual Machine which hosts WildFly. In this one, I will tell you: Before that, to be able to track time taken by each request in access log, we must enable “record-request-start-time” in WildFly. With jboss-cli.sh, command to achieve that is: Then, we are ready for next steps.… 

dynatrace First Steps

In this blog, I will tell you how I setup my first agent, on a YaK deployed server. Of course, I will use YaK to deploy it. What is dynatrace? dynatrace is an observability platform which covers from infrastructure monitoring up to Real User Monitoring (RUM), including application and microservices, application security and business analytics. My First Experience My first… 

Kafka Monitoring in Prometheus

Enabling monitoring on Kafka with Prometheus/Grafana is not more difficult than others exporters I configured in my previous monitoring in Prometheus blogs. Let’s see this together. JMX Exporter vs Kafka Exporter As Kafka is a Java based application, it would have been possible to monitor it with JMX Exporter as I did for Apache Tomcat. But this time, I will… 

Observability vs Monitoring

Both words, observability and monitoring, are often used interchangeably and without taking care of the difference. Monitoring Monitoring is alerting based on known, predefined metrics and log patterns. Events Examples of events are: Last example threshold could even be improved to consider the partition size as 10% remaining space is obviously not the same for a 1 GB partition (100… 

How to keep your Prometheus ecosystem secure

Prometheus is a popular open-source monitoring system that helps track and alert for various applications. However, regarding security, there are some essential things to consider. Prometheus server, for instance, does not provide authentication or TLS encryption out of the box, meaning anyone accessing the server’s HTTP endpoints can access all of our time-series data. So, what solutions are available?One solution… 

Apache Tomcat Monitoring in Prometheus

To monitor Apache Tomcat, the most convenient solution is to use JMX Exporter provided by Prometheus git repository. Enable JMX Remote To enable JMX Remote, I will simply add the following line into setenv.sh file (file store in /bin of Apache Tomcat installation directory): As a check, after the restart of the service, I look for listening port 9999: I… 

Nginx Monitoring in Prometheus

Following my two previous blogs about monitoring, I will now focus on Nginx. Nginx Inc provides an exporter with it’s code: https://github.com/nginxinc/nginx-prometheus-exporter As Nginx cannot run a web application as WebLogic or WildFly can, exporter will be another process. Nginx Configuration To enable metrics for Nginx, we must use stub_status directive in a server or location context of the configuration.… 

WebLogic Monitoring in Prometheus

In this blog, I will explain how to enable WebLogic monitoring in Prometheus as I did for WildFly in my previous blog. WebLogic Monitoring Exporter Oracle is providing, as open source, a Prometheus-compatible exporter in this github repo. It can be run either in a web application or as a separate process. In this blog, I will focus on the…