Skip to content

Instantly share code, notes, and snippets.

@varuzhnikov
varuzhnikov / prometheus.yml
Created July 8, 2025 11:12
Scrapping SSD SMART metrics snippet for prometheus.yml
- job_name: 'smartctl'
static_configs:
- targets: ['your_ip_is_here:9633']
relabel_configs:
- source_labels: [__address__]
regex: '.*'
target_label: instance
replacement: 'smartctl'
@varuzhnikov
varuzhnikov / smartctl_exporter.service
Created July 8, 2025 09:50
Systemd service for smartctl_exporter
[Unit]
Description=smartctl_exporter for Prometheus
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/smartctl_exporter \
--smartctl.path=/usr/sbin/smartctl \
--smartctl.device=/dev/nvme0n1 \
--smartctl.device=/dev/nvme1n1 \
@varuzhnikov
varuzhnikov / privacy_policy.html
Last active July 31, 2019 15:52
Privacy Policy
<h1>Privacy Policy</h1>
<p>Effective date: July 31, 2019</p>
<p>Fun Essentials ("us", "we", or "our") operates the mobile application (hereinafter referred to as the "Service").</p>
<p>This page informs you of our policies regarding the collection, use and disclosure of personal data when you use our Service and the choices you have associated with that data.</p>