Ad Widget

Collapse

Zabbix on Dynamic IP Workstations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lucas_PMM
    Junior Member
    • Aug 2019
    • 1

    #1

    Zabbix on Dynamic IP Workstations


    I am using Zabbix 4.2.5 and when monitoring windows stations with automatic DHCP, when changing the IP of the station using the "discovery" rule it does not update the host but creates a new registration with the new assigned IP. In "self-registration" it does not create another host and does not update the IP of the registered host. Is there any form of network monitoring in Zabbix with stations with automatic DHCP?
  • aigars.kadikis
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2018
    • 208

    #2
    Hello Lucas,

    Yes, there is one form and it is called Zabbix agent (active) checks.

    By default, every template element inside "Template OS Windows" is configured to initiate the connection from the servers side.

    To work around your DHCP situation you can:
    1) Convert every item (including discovery rules) in the template from "Zabbix agent" to "Zabbix agent (active)"
    2) Make sure the "Host name" configured in the frontend match 1:1 with "Hostname=" configured in zabbix_agentd.conf
    3) Restart agent

    With item type "Zabbix agent (active)" the IP address of the host is not respected at all. You can set there 8.8.8.8 and the agent will still be able to "push" the metrics to your Zabbix server and NOT googles DNS server

    If you want to learn more about Zabbix agent (active) checks kindly check the video: https://www.youtube.com/watch?v=-QTZVWnx6i4

    Comment


    • lucas_PMM
      lucas_PMM commented
      Editing a comment
      Thanks for your help. I made the changes you indicated and with your collaboration I was able to monitor the stations. In the monitoring interface of hosts, continues to display the old IP. How do I view my new purchased IP? Do I need to script this?
  • aradralami
    Junior Member
    • Sep 2019
    • 1

    #3
    Originally posted by aigars.kadikis

    If you want to learn more about Zabbix agent (active) checks kindly check the video: https://www.youtube.com/watch?v=-QTZVWnx6i4
    About the video i have a problem with windows 10 and 8 version where i don't have any response from zabbix agent on windows and it is red color, i have searched in web but i don't get any solution...please help me
    Last edited by aradralami; 22-10-2019, 11:08.

    Comment

    Working...