Ad Widget

Collapse

Hide unused network interfaces

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajhalls
    Junior Member
    • Oct 2016
    • 8

    #1

    Hide unused network interfaces

    I am interested in filtering out network interfaces that aren't connected to make things a bit simpler. I tried the filter

    Code:
    {#SNMPVALUE} : ^u|^1
    on this page:https://www.zabbix.com/forum/showthread.php?t=37656

    I added it to the filter on "Template OS Linux: Network interface discovery" but that just hides all network interfaces. I am not sure if there have been some updates in how I should filter that out in Zabbix 3.0.
    Last edited by ajhalls; 02-11-2016, 01:06.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    "Template OS Linux" is not use SNMP.

    If you want filterling with "Template OS Linux",
    I think you must change "Network interfaces for discovery" in "Regular expressions".

    Comment

    • ajhalls
      Junior Member
      • Oct 2016
      • 8

      #3
      Thank you so much for you reply! You are actually the first to help me since I started using Zabbix a week ago. I removed all filters under discovery and under "Administration -> General -> Regular expressions: Network interfaces for discovery" Added
      Code:
      ^up	[Result is TRUE]
      I tried it a couple different ways such as "Result is FALSE -> ^down|^2" or "Result is TRUE -> ^u|^1" but so far nothing seems to make a difference. Under "Latest Data" it shows it still checking all interfaces as you can see in the attachment.

      After making these changes do I need to remove and reconfigure the host to eliminate cached settings? I have it updating every 60 seconds now, but I made those changes nearly 12 hours ago, so I would think nearly everything would have refreshed by now if it was going to on its own.
      Attached Files

      Comment

      Working...