You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a HA configuration of OPNsense and was wondering if anyone knows how to get the metrics for the CARP interfaces instead of the physical interfaces?
I took a quick scan of the get_interfaces_info function and tried changing:
$include_unlinked = false in the declaration to $include_unlinked = true
and
$interfaces = legacy_config_get_interfaces(['virtual' => false]); to $interfaces = legacy_config_get_interfaces(['virtual' => true]);
But neither\both caused the telegraf_pfifgw script to output the CARP interfaces.
The text was updated successfully, but these errors were encountered:
I'm running a HA configuration of OPNsense and was wondering if anyone knows how to get the metrics for the CARP interfaces instead of the physical interfaces?
I took a quick scan of the get_interfaces_info function and tried changing:
$include_unlinked = false in the declaration to $include_unlinked = true
and
$interfaces = legacy_config_get_interfaces(['virtual' => false]); to $interfaces = legacy_config_get_interfaces(['virtual' => true]);
But neither\both caused the telegraf_pfifgw script to output the CARP interfaces.
The text was updated successfully, but these errors were encountered: