prometheus / snmp_exporter

SNMP Exporter for Prometheus
Apache License 2.0
1.67k stars 620 forks source link

Add support for Sophos XG devices #1239

Closed phibos closed 3 weeks ago

phibos commented 1 month ago

This adds support for Sophos XG devices. But it depends on PR #1234 to be merged to parse the expiry dates of the licenses. I will rebase it when #1234 has been merged.

phibos commented 3 weeks ago

Thanks

valdirjunior011 commented 2 weeks ago

hi @phibos I just found your PR to add support to Sophos, maybe I'm doing something wrong but datetime_patern is getting an error.

s=2024-09-21T16:12:25.871Z caller=main.go:220 level=error msg="Error parsing config file" err="yaml: unmarshal errors:\n line 29865: field datetime_pattern not found in type config.Metric\n line 30271: field datetime_pattern not found in type config.Metric\n

SuperQ commented 2 weeks ago

This feature is in main and has not been released yet.

valdirjunior011 commented 2 weeks ago

hmmm ok! thanks for the fast reply