Domain Expiration Overview
Display the expiration time monitoring of domain names and support the display of multiple domain names at the same time.
job_name: domain-expiration scrape_interval: 1h scrape_timeout: 1m metrics_path: /probe static_configs:
- targets: [ztngal1.com, ztnvobal.com, ly.com, dts.com] labels: {Registrar: aliyun-ljh, user: xx}
- targets: [qero.com] labels: {Registrar: aliyun-ljh, user: xx} relabel_configs:
- source_labels: [address] target_label: __param_target
- {target_label: address, replacement: ‘domain-exporter:9222’}
groups:
- name: domain
rules:
- alert: DomainExpiringLessThen30Days expr: domain_expiry_days != -1 AND domain_expiry_days < 30 AND domain_expiry_days > 5 for: 1h labels: severity: warning annotations: description: ‘Domain {{ $labels.domain }} will expire in less than 30 days’ summary: ‘{{ $labels.domain }}: domain is expiring’
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |