Closed travisboss closed 3 years ago
You can customize the interfaces in the list by modifying the $LAN_Interfaces variable. What does your $LAN_Interfaces regex look like?
https://github.com/VictorRobellini/pfSense-Dashboard#grafana
LAN_Interfaces - $LAN_Interfaces uses a regex to remove any interfaces you don't want to be grouped as LAN. The filtering happens in the "Regex" field. I use a negative lookahead regex to match the interfaces I want excluded. It should be pretty easy to understand what you need to do here. I have excluded igb0 (WAN) and igb1,igb2,igb3 (only used to host vlans).
All I have I have there /^(?!igb0$)/
which is my wan interface.
All interfaces are being displayed just when I click the drop down on interface 2 and 3 there is no edit option.
If the regex is empty are all of the interfaces listed?
Sorry for the delay. Yes if I remove igb0 from the Regex it does add igb0. To be clear my interfaces are all there I just cannot edit anything past the first LAN interface.
I'm not sure I understand. Can you provide a screenshot that includes your regex?
Here is a screenshot of the page which is showing the correct lan interfaces.
Is the issue that you can't modify the list of interfaces in the drop down list on the main dashboard? Or are you trying to modify the panels for specific interfaces? If you are trying to edit the panels for specific interfaces, you are going to need to get your hands dirty with Grafana. The panels for the Lan interfaces are duplicated for each Lan interface and you can only modify the top Lan interface which will then be reflected for the other Lan interfaces.
No response.
I have three vlans setup and I can edit the main lan
igb1
but I am unable to edit the view forigb.1.107
andigb1.200
is there is setting in theJSON
I can edit to allow editing these additional interfaces? Reason being is I want to add ipv6 to the separate interfaces.