Advanced Search
Search Results
77 total results found
Node exporter
Installation of node exporter Download the package from the github repository cd /tmp wget <link to the last release> tar xvfz node_exporter-*.*-amd64.tar.gz sudo mv node_exporter-*.linux-amd64/node_exporter /usr/local/bin/ chmod +x /usr/local/bin/node_exporte...
Prometheus
Install Prometheus First download the source from the web site wget <link of the source> tar xvf prometheus-*.*-amd64.tar.gz mv prometheus-*.*-amd64 prometheus-files Create an user to run Prometheus and give it the ownership sudo useradd --no-create-home --sh...
Grafana
InfluxDB
Installation
Installation
Modules
Standalone
Configuration
Dotfiles
Setup
Configuration
Updating
Flakes on fresh install
Global infra
Servers Name IP FQDN Description ashguardTV 192.168.20.95 ashguardtv.local NAS ashguard 192.168.20.22 ashguard.local Proxmox Application NAS Name IP Port FQDN Description qBittorent 192.168.20.95 XX qbittorent.ashguardtv.local Torrent manage...
Temporary Download URL
import crypto from 'crypto'; // Generate a signed URL valid for 5 minutes function generateSignedUrl(fileName: string, secret: string) { const expiresIn = 5 * 60 * 1000; // 5 minutes const expiresAt = Date.now() + expiresIn; const signature = crypto.cre...
Download with auth
Middleware import express, { Request, Response, NextFunction } from 'express'; import jwt from 'jsonwebtoken'; const authenticate = (req: Request, res: Response, next: NextFunction) => { const authHeader = req.headers['authorization']; const token = authH...