Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

White Box Monitoring and Black Box Monitoring explained!!!

Spread the Knowledge

There are some basic principles and best practices for building successful monitoring and alerting systems.

What is Monitoring?
Collecting, processing, aggregating, and displaying real-time quantitative data about a system, such as query counts and types, error counts and types, processing times, and server lifetimes.

What is White Box Monitoring?
White box monitoring is the monitoring of applications running on a server. Monitoring based on metrics exposed by the internals of the system, including logs, interfaces like the Java Virtual Machine Profiling Interface, or an HTTP handler that emits internal statistics. Other types of white box monitoring include:

  • Monitoring MySQL queries running on a database server.
  • Looking at the number of users utilizing a web application throughout the day, and alerting if this goes above a predefined threshold.
  • Considering the above example of HTTP requests—splitting these out into monitoring the different kinds to ascertain how the application is performing, or whether users are getting served the correct content. For example, a 403 would demonstrate a user has tried to get to a part of the website they’re not allowed to visit. Likewise, a 200 would indicate their request was successful and they were served the content.
  • Performing advanced detection of behavior we don’t expect to see, such as a user not going through the normal steps you’d expect when signing into your application or resetting a password.

The advantages of Black Box Monitoring:

  • We obtain a better overview of the situation.
  • Helps optimizing the code.
  • Introspection of programmers, awareness of their actions.
  • Allows finding hidden errors.
  • All this leads to efficiency in finding errors and problems.

Disadvantages of whitebox testing:

  • We need to know the source code of the involved software(s).
  • Requires a high level of understanding and experience of the affected program.

List of White Box Monitoring tools

  • Prometheus
  • Pandora FMS
  • Zabbix
  • NewRelic
  • AppDynamics

What is Black Box Monitoring?

Black box monitoring refers to the monitoring of servers with a focus on areas such as disk space, CPU usage, memory usage, load averages, etc. Testing externally visible behavior as a user would see it. These are what most in the industry would deem as the standard system metrics to monitor. Other types of black box monitoring include:

  • Monitoring of network switches and other networking devices such as load balancers from the system metrics perspective, as defined above.
  • Looking at hypervisor-level resource usage for all virtual machines running on the hypervisor (such as VMware, KVM, Xen, etc.).
  • Alerting on hard disk errors that may present a problem if a disk isn’t replaced soon (using SMART, for instance).

List of Black Box Monitoring tools

  • Nagios
  • Datadog
  • Sysdig

Difference between White Box Monitoring and Black Box Monitoring?

There are differences between these two types of monitoring. Traditionally, systems administrators would take care of both white and black box monitoring; however, with the advent of DevOps and modern changes in the IT industry, we’re increasingly finding that application developers are taking responsibility for the monitoring of the applications (white box) they’re writing and as a result, are building monitoring solutions or writing checks for monitoring systems deployed by DevOps engineers.

Systems administrators and DevOps engineers tend to take responsibility for the monitoring of black box items such as servers. There is some crossover where DevOps engineers can also take responsibility for white box monitoring, but this depends on the business or environment you’re working in.

Rajesh Kumar