-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Describe the bug
Errors in logs of what appear to be invalid API requests
Host operating system: output of uname -a
Linux nas 6.12.15-production+truenas #1 SMP PREEMPT_DYNAMIC Mon May 26 13:44:31 UTC 2025 x86_64 GNU/Linux
Versions
- OPNsense version: 251.1.10
- OPNsense exporter version: Latest
- Prometheus version: Latest
Configuration of the exporter
Provide the configuration of the exporter in flags or in ENV variables.
- --opnsense.protocol=https
- --opnsense.address=xxxxx
- --exporter.instance-label=instance1
- --web.listen-address=xxxxxxxx:8080
- --exporter.disable-unbound
- --exporter.disable-openvpn
Steps to reproduce
Deploy and configure container
Expected behavior
No errors when running docker logs
Logs
time=2025-07-14T02:24:29.668Z level=WARN source=firmware.go:67 msg="firmware: failed to parse NeedsRebot" details="opnsense-client api call error: endpoint: api/core/firmware/status; failed status code: 0; msg: error parsing '' to int: strconv.Atoi: parsing "": invalid syntax"
time=2025-07-14T02:24:29.668Z level=WARN source=firmware.go:77 msg="firmware: failed to parse UpgradeNeedsReboot" details="opnsense-client api call error: endpoint: api/core/firmware/status; failed status code: 0; msg: error parsing '' to int: strconv.Atoi: parsing "": invalid syntax"