image: repository: tccr.io/truecharts/unifi-poller pullPolicy: IfNotPresent tag: v2.1.3@sha256:2d6cd1f4cdc3d8522d697830f69ca12aa2fe24fda4e5476610af6e0b5c0597e9 env: # UP_UNIFI_DEFAULT_URL: "https://127.0.0.1:8443" # UP_UNIFI_DEFAULT_USER: "unifipoller" # UP_UNIFI_DEFAULT_PASS: "unifipoller" UP_PROMETHEUS_DISABLE: false service: main: ports: main: enabled: false metrics: enabled: true port: 9130 metrics: # -- Enable and configure a Prometheus serviceMonitor for the chart under this key. # @default -- See values.yaml enabled: false serviceMonitor: interval: 1m scrapeTimeout: 30s labels: {} # -- Enable and configure Prometheus Rules for the chart under this key. # @default -- See values.yaml prometheusRule: enabled: false labels: {} # -- Configure additionial rules for the chart under this key. # @default -- See prometheusrules.yaml rules: [] # - alert: UnifiPollerAbsent # annotations: # description: Unifi Poller has disappeared from Prometheus service discovery. # summary: Unifi Poller is down. # expr: | # absent(up{job=~".*unifi-poller.*"} == 1) # for: 5m # labels: # severity: critical