<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Observability Blog</title><link>https://www.observability.blog/</link><description>Recent content on Observability Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 01 Mar 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://www.observability.blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Harnessing the Power of Prometheus and Netbox: HTTP Service Discovery for Streamlined Monitoring</title><link>https://www.observability.blog/post/netbox_http_service_discovery/</link><pubDate>Wed, 01 Mar 2023 00:00:00 +0000</pubDate><guid>https://www.observability.blog/post/netbox_http_service_discovery/</guid><description>Prometheus and Netbox, two powerful tools that, when combined, can supercharge your monitoring capabilities and streamline your operations. In this blog post, we&amp;rsquo;ll explore the seamless integration of Prometheus with Netbox using HTTP service discovery, which enables you to effortlessly discover and manage your network devices.
Requirements: Netbox version 3.5.0+ Prometheus version 2.28.0+ Create an &amp;lsquo;Export Template&amp;rsquo; in Netbox. For this example select &amp;lsquo;Virtualization &amp;gt; Virtual Machine&amp;rsquo; for content types.</description></item><item><title>Monitoring WireGuard with Prometheus</title><link>https://www.observability.blog/post/monitoring_wireguard_with_prometheus/</link><pubDate>Fri, 18 Dec 2020 00:00:00 +0000</pubDate><guid>https://www.observability.blog/post/monitoring_wireguard_with_prometheus/</guid><description>GitHub user MindFlavor created an exporter for WireGuard that collects metrics from the wg show all dump command.
https://github.com/MindFlavor/prometheus_wireguard_exporter
Install WireGuard Exporter You can either compile the exporter from source or use the cargo command to install the exporter. I opted for cargo.
apt-get update apt-get install cargo cargo install prometheus_wireguard_exporter Cargo will download and install everything. Once this was done I copied the prometheus_wireguard_exporter executable to /usr/local/bin/. I&amp;rsquo;m not 100% positive if this is best practice, if you know a better way shoot me an email.</description></item><item><title>Monitoring DigitalOcean Droplets with Prometheus</title><link>https://www.observability.blog/post/monitoring-digitalocean-droplets-with-prometheus/</link><pubDate>Wed, 29 Apr 2020 00:00:00 +0000</pubDate><guid>https://www.observability.blog/post/monitoring-digitalocean-droplets-with-prometheus/</guid><description>Create a Private Network Setup Prometheus Install Node Exporter Create a Private Network Segmenting traffic gives you more flexibility and security. In most deployments users do not want their monitoring traffic flowing over public facing interfaces.
Full docs on how to setup private networking below. You will need to do this on all the droplets you want to monitor. https://www.digitalocean.com/docs/networking/private-networking/how-to/enable/
Create a new droplet that will host the Prometheus instance You can also get prometheus running from the DigatalOcean Marketplace</description></item><item><title>Monitoring EdgeRouter with Node Exporter</title><link>https://www.observability.blog/post/monitoring_edgerouter_with_node_exporter/</link><pubDate>Wed, 29 Apr 2020 00:00:00 +0000</pubDate><guid>https://www.observability.blog/post/monitoring_edgerouter_with_node_exporter/</guid><description>I&amp;rsquo;ve been monitoring my EdgeRouter 4 with SNMP Exporter for a while now. It works, but its a pain to manage the MIBs and having a separate service to maintain is annoying.
So lets try running node exporter on the EdgeRouter.
SSH into the router and install node exporter. NOTE: Reader Travis reports that the Edgerouter X requires the &amp;ldquo;mipsle&amp;rdquo; binary to run. https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-1.1.2.linux-mipsle.tar.gz
# enter configure mode configure # check the CPU architecture lscpu # download the correct executable, with the EdgeRouter 4 I want the MIPS64 version curl https://github.</description></item><item><title>NGINX Monitoring with Prometheus</title><link>https://www.observability.blog/post/nginx_monitoring_with_prometheus/</link><pubDate>Wed, 01 Jan 2020 00:00:00 +0000</pubDate><guid>https://www.observability.blog/post/nginx_monitoring_with_prometheus/</guid><description>Enable the stub status module http://nginx.org/en/docs/http/ngx_http_stub_status_module.html
Example Configuration below. This will create a HTTP server on port 81 only available from localhost. This goes inside the http {} section
server { listen localhost:81; location /metrics { stub_status on; } } /etc/nginx/nginx.conf
Make sure to restart the NGINX service
service nginx restart This is what the /metrics endpoint will look like
curl localhost:81/metrics Active connections: 2 server accepts handled requests 13 13 25 Reading: 0 Writing: 1 Waiting: 1 Install the NGINX Prometheus Exporter from GitHub nginxinc/nginx-prometheus-exporter</description></item><item><title>About</title><link>https://www.observability.blog/about/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><guid>https://www.observability.blog/about/</guid><description>My name is Anthony. This is a blog about observing software and anything else I find interesting.
Nightfall Theme</description></item></channel></rss>