Ad Widget

Collapse

The problem of duplicated NICs in windows vs Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • roberdaniel
    Junior Member
    • Apr 2019
    • 22

    #1

    The problem of duplicated NICs in windows vs Zabbix

    Hi all
    As it is usual nowadays to work with virtualization environments like Azure, vmware, etc. in some cases there is a problem with phantom NICs adapters in Windows hosts that starts increasing in number.
    What I’m talking about is this

    ​

    So the problem here is Zabbix maps all these network adapters and when they become inactive (windows says that the hardware is not connected),
    Click image for larger version

Name:	2020-03-05_145223.png
Views:	228
Size:	5.9 KB
ID:	397083
    But Zabbix still tries to collect data from them and this has a negative impact to performance

    Click image for larger version

Name:	2020-03-05_145032.png
Views:	185
Size:	11.1 KB
ID:	397084




  • roberdaniel
    Junior Member
    • Apr 2019
    • 22

    #2
    I've been seeing this behavior in many servers, the only workaround is to delete one by one the phantom nics in windows as explained here http://www.extropy.com/forums/knowle...twork-adapters (or use a kind of script) but from Zabbix perspective the Nic is not auto deleted as far I could see.
    So, what we can do from our Zabbix side?
    Can Zabbix auto-stop to collect data from devices that Windows accuses as not connected to computer?
    Last edited by roberdaniel; 05-03-2020, 20:13.

    Comment

    • roberdaniel
      Junior Member
      • Apr 2019
      • 22

      #3
      Update
      In order to mitigate this issue, I've made these two actions
      1. Manual delete nics like in previous comment or user some script like this https://gallery.technet.microsoft.co...an-up-bbdebf15
      2. Configure your discovery rules to cleanup with no delay (Keep lost resources period=0)

      Notice the big difference in poller processes utilization after cleanup of phantom nics and phantom services were made.

      Click image for larger version

Name:	2020-03-09_110202.png
Views:	184
Size:	39.9 KB
ID:	397230


      So, for those who have a high poller process utilization, don't' forget to check this topic.

      Comment

      • roberdaniel
        Junior Member
        • Apr 2019
        • 22

        #4
        Updata #2

        I've found that those windows services whose name ended in a random string, when user logs out the service is deleted, but it remains remembered by Zabbix for a period of time.
        In our particular environment, more than a hundred users connect to each server every day and for each user windows create at least two of these services...

        ​

        Comment

        Working...