cadvisor
Nagios
Our great sponsors
cadvisor | Nagios | |
---|---|---|
44 | 7 | |
16,286 | 1,439 | |
1.2% | 1.6% | |
8.0 | 7.5 | |
3 days ago | 10 days ago | |
Go | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cadvisor
-
List of your reverse proxied services
cAdvisor
-
Need Recommendation: btop like web page for docker
https://github.com/google/cadvisor exports Prometheus metrics, but also offers a simple web-ui for container metrics.
-
Exporters running, just not in prometheus?
version: '3' volumes: prometheus-data: driver: local grafana-data: driver: local services: prometheus: image: prom/prometheus:latest container_name: prometheus ports: - "9090:9090" volumes: - /etc/prometheus:/etc/prometheus - prometheus-data:/prometheus restart: unless-stopped command: - "--config.file=/etc/prometheus/prometheus.yml" grafana: image: grafana/grafana:latest container_name: grafana ports: - "3000:3000" volumes: - grafana-data:/var/lib/grafana restart: unless-stopped node_exporter: image: quay.io/prometheus/node-exporter:latest container_name: node_exporter command: - '--path.rootfs=/host' pid: host restart: unless-stopped volumes: - '/:/host:ro,rslave' cadvisor: # TODO: latest tag is not updated, check latest release https://github.com/google/cadvisor/releases image: gcr.io/cadvisor/cadvisor-arm:v0.47.0 container_name: cadvisor ports: - "8080:8080" network_mode: host volumes: - /:/rootfs:ro - /var/run:/var/run:ro - /sys:/sys:ro - /var/lib/docker/:/var/lib/docker:ro - /dev/disk/:/dev/disk:ro privileged: true restart: unless-stopped depends_on: - redis redis: image: redis:latest container_name: redis ports: - "6379:6379"
-
Prometheus JMX Exporter for Java17
For CPU and memory metrics, you can use cAdvisor to collect container level data.
-
Docker Monitoring Solution?
Perhaps https://github.com/google/cadvisor + prometheus (or influx or whatever else) + grafana?
- How to monitor container exit codes?
-
Building a realtime performance monitoring system with Kafka and Go
We could have used a much more focussed tool like Prometheus or Cadvisor to gather system stats, but that is not the main objective of this article.
-
Can ChatGPT Debug and Fix your Docker and Kubernetes Issues?
Result: Interestingly, the GitHub Issue that talks about cAdvisor and Docker Desktop for Mac for running cAdvisor is still open and not fixed.
-
Looking for an open source monitoring solution that will capture specific process info
If you're running things under systemd, you can enable process accounting and use cAdvisor.
-
How to identify docker containers names? The names do not match those in the CLI after typing "docker ps"
Check this thread if you’re having difficulties, but it might run out of the box these days: https://github.com/google/cadvisor/issues/1846
Nagios
-
OpenRC is a dependency-based init system for Unix-like systems
I've used this opportunity to look at some recent init files.
Here's one of the first I stumbled upon.
https://github.com/NagiosEnterprises/nagioscore/blob/master/...
It's 288 lines long; the LSB dependency nonsense is 8 lines of that.
Then I looked up one for Postgres;
https://wiki.postgresql.org/wiki/Lsb_conforming_init_script
This one is a whooping 356 lines long, LSB is again about 10 lines long, depending whether you count the header or not.
I don't think the "LSB dependency" argument holds water.
-
Can't get Nagios to work on Ubuntu 22.04
wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/nagioscore/archive/nagios-4.4.12.tar.gz
-
Upgrading Core to 4.4.7
Might be this bug? https://github.com/NagiosEnterprises/nagioscore/issues/861
- Is Nagios Core still alive? Last commit on 18 Jul 2020 😳
-
Nagios Inconsistencies
As far as i know there is no option to log all executed service checks except the debug log. Probably you are looking for log_service_retries=1 ?
What are some alternatives?
node_exporter - Exporter for machine metrics
LibreNMS - Community-based GPL-licensed network monitoring system
kube-state-metrics - Add-on agent to generate and expose cluster-level metrics.
Naemon - Networks, Applications and Event Monitor
Netdata - The open-source observability platform everyone needs
Zabbix - Real-time monitoring of IT components and services, such as networks, servers, VMs, applications and the cloud.
Thruk - Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
Portainer - Making Docker and Kubernetes management easy.
Monit
prometheus - The Prometheus monitoring system and time series database.
uptime-kuma - A fancy self-hosted monitoring tool