Pihole settings not honoured.

Problem/Question

Docker Pihole setupvars not being read. Seems to revert to default location of file.

go.d/pihole.conf:

jobs:
  - name: pihole
    url: http://127.0.0.1
    setup_vars_conf: /home/modem7/DockerApps/Pihole/etc/pihole/setupVars.conf

logs

[ DEBUG ] build[manager] build.go:154 received config group ('/etc/netdata/go.d/pihole.conf'): 1 jobs (added: 1, removed: 0)
[ DEBUG ] build[manager] build.go:303 building pihole[pihole] job, config: map[__provider__:file reader __source__:/etc/netdata/go.d/pihole.conf autodetection_retry:0 module:pihole name:pihole priority:70000 setup_vars_conf:/home/modem7/DockerApps/Pihole/etc/pihole/setupVars.conf update_every:5]
[ INFO  ] pihole[pihole] init.go:37 starting web password auto detection, reading : /etc/pihole/setupVars.conf
[ WARN  ] pihole[pihole] init.go:40 error during reading '/etc/pihole/setupVars.conf' : open /etc/pihole/setupVars.conf: no such file or directory
[ WARN  ] pihole[pihole] pihole.go:75 no web password, not all metrics available
[ ERROR ] pihole[pihole] collect.go:152 unauthorized access to http://127.0.0.1/admin/api.php?summaryRaw=true
[ ERROR ] pihole[pihole] job.go:191 check failed

Environment/Browser/Agent’s version etc

Ubuntu 22.04
netdata v1.37.0-87-nightly

What I expected to happen

For Netdata to read the custom location of setupvars as per go.d.plugin/pihole.conf at master · netdata/go.d.plugin · GitHub

Resolved.

Looks like there’s a typo in go.d.plugin/pihole.conf at master · netdata/go.d.plugin · GitHub

# [ List of JOB specific parameters ]:
#  - setup_vars_path
#    Path to setupVars.conf.
#    Syntax:
#      setup_vars_conf: /etc/pihole/setupVars.conf

Should read:

# [ List of JOB specific parameters ]:
#  - setup_vars_path
#    Path to setupVars.conf.
#    Syntax:
#      setup_vars_path: /etc/pihole/setupVars.conf

Thanks, @modem7. Fixed the typo in the configuration file.