Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CARP interface metrics? #69

Open
rmcburney86 opened this issue Jun 14, 2024 · 0 comments
Open

CARP interface metrics? #69

rmcburney86 opened this issue Jun 14, 2024 · 0 comments

Comments

@rmcburney86
Copy link

rmcburney86 commented Jun 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant