
# Blocklist last update time.
# Default update interval is a week.

 template: pihole_gravity_list_last_update
       on: pihole.gravity_list_last_update_time_ago
    class: Errors
     type: Ad Filtering
component: Pi-hole
    every: 10s
    units: seconds
     calc: $ago
     warn: $this > 60 * 60 * 24 * 30
  summary: Pi-hole blocklist last update
     info: gravity.list (blocklist) file last update time
       to: sysadmin
