<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Monitoring :: resticprofile</title><link>https://505-merge.resticprofile.pages.dev/monitoring/index.html</link><description>Status file Prometheus</description><generator>Hugo</generator><language>en-gb</language><atom:link href="https://505-merge.resticprofile.pages.dev/monitoring/index.xml" rel="self" type="application/rss+xml"/><item><title>Status file</title><link>https://505-merge.resticprofile.pages.dev/monitoring/status/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://505-merge.resticprofile.pages.dev/monitoring/status/index.html</guid><description>If you need to send your backup results to a monitoring system, use the run-after and run-after-fail scripts.
For simpler needs, resticprofile can generate a JSON file with details of the latest backup, forget, or check command. For example, I use a Zabbix agent to check this file daily. Any monitoring system that reads JSON files can be integrated.
To enable this, add the status file location as a parameter in your profile.</description></item><item><title>Prometheus</title><link>https://505-merge.resticprofile.pages.dev/monitoring/prometheus/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://505-merge.resticprofile.pages.dev/monitoring/prometheus/index.html</guid><description>Resticprofile can generate a Prometheus file or send the report to a Pushgateway. Currently, only the backup command generates a report. Below is a configuration example for generating a file and sending it to a Pushgateway:
​ toml yaml hcl json version = "1" [root] prometheus-save-to-file = "root.prom" prometheus-push = "http://localhost:9091/" [root.backup] extended-status = true no-error-on-warning = true source = [ "/" ] version: "1" root: prometheus-save-to-file: "root.prom" prometheus-push: "http://localhost:9091/" backup: extended-status: true no-error-on-warning: true source: - / "root" = { "prometheus-save-to-file" = "root.prom" "prometheus-push" = "http://localhost:9091/" "backup" = { "extended-status" = true "no-error-on-warning" = true "source" = ["/"] } } { "version": "1", "root": { "prometheus-save-to-file": "root.prom", "prometheus-push": "http://localhost:9091/", "backup": { "extended-status": true, "no-error-on-warning": true, "source": [ "/" ] } } } Note Set extended-status to true to access all available metrics. For details, see Extended status.</description></item></channel></rss>