prometheus-formula
prometheus-formula copied to clipboard
FreeBSD - error/warning noise on successful runs
All states pass on FreeBSD11 but there is some noise.
prometheus state on FreeBSD
[WARNING ] Invalid kwargs passed to user.add
[ERROR ] Command '[u'sysrc', u'-v', u'prometheus_listen_address']' failed with return code: 1
[ERROR ] stdout: sysrc: unknown variable 'prometheus_listen_address'
[ERROR ] retcode: 1
[ERROR ] Command 'sysrc -v prometheus_listen_address' failed with return code: 1
[ERROR ] output: sysrc: unknown variable 'prometheus_listen_address'
[ERROR ] Command '[u'sysrc', u'-v', u'prometheus_args']' failed with return code: 1
[ERROR ] stdout: sysrc: unknown variable 'prometheus_args'
[ERROR ] retcode: 1
[ERROR ] Command 'sysrc -v prometheus_args' failed with return code: 1
[ERROR ] output: sysrc: unknown variable 'prometheus_args'
ID: prometheus-config-args-args-web-listen-address
Function: sysrc.managed
Name: prometheus_listen_address
Result: True
Comment: The value of "prometheus_listen_address" was changed!
Started: 17:04:38.430014
Duration: 220.9 ms
Changes:
----------
new:
----------
/etc/rc.conf:
----------
prometheus_listen_address:
0.0.0.0:9090
old:
None
----------
ID: prometheus-config-args-prometheus-all
Function: sysrc.managed
Name: prometheus_args
Result: True
Comment: The value of "prometheus_args" was changed!
Started: 17:04:38.651393
Duration: 222.727 ms
Changes:
----------
new:
----------
/etc/rc.conf:
----------
prometheus_args:
>/dev/null 2>&1
old:
None
Succeeded: 18 (changed=16)
Failed: 0
prometheus.clean on FreeBSD
[ERROR ] Command '[u'sysrc', u'-v', u'prometheus_textfile_dir']' failed with return code: 1
[ERROR ] stdout: sysrc: unknown variable 'prometheus_textfile_dir'
[ERROR ] retcode: 1
[ERROR ] Command 'sysrc -v prometheus_textfile_dir' failed with return code: 1
[ERROR ] output: sysrc: unknown variable 'prometheus_textfile_dir'
ID: prometheus-config-args-prometheus-all
Function: sysrc.absent
Name: prometheus_args
Result: True
Comment: "prometheus_args" was removed!
Started: 17:06:37.585912
Duration: 170.377 ms
Changes:
----------
new:
prometheus_args removed
old:
----------
/etc/rc.conf:
----------
prometheus_args:
>/dev/null 2>&1
----------
ID: prometheus-config-args-prometheus-all
Function: sysrc.absent
Name: prometheus_listen_address
Result: True
Comment: "prometheus_listen_address" was removed!
Started: 17:06:37.756832
Duration: 167.82 ms
Changes:
----------
new:
prometheus_listen_address removed
old:
----------
/etc/rc.conf:
----------
prometheus_listen_address:
0.0.0.0:9090
Succeeded: 34 (changed=16)
Failed: 0