Ad Widget

Collapse

Monitor IP Address Change

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrogers-9898
    Member
    • Sep 2008
    • 68

    #1

    Monitor IP Address Change

    I'd like my zabbix to notify me if any of my agents have their Public/WAN IP address changed.

    I'm hoping that there are built-in items/fields I can access to do this? Or would I have to make a UserParameter item in the zabbix_agent.conf to somehow check for the IP address and monitor that?

    I see that there is a macro for IPADDRESS, would this be something I could apply? (I'm not really sure if/how it can be added into the item?)

    All of my agents are active.

    all of my hosts are Windows based.
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    To do what you are wanting to do you will need to write a script/user parameter ("ip addr" will work for unprivilaged users on some systems) and then use a trigger. Maybe something like last(#1)=last(#2).
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • mrogers-9898
      Member
      • Sep 2008
      • 68

      #3
      thanks very much for the reply, that is what I suspected.

      As mentioned, most systems are Windows, from Server 2003 to Server 2008. Anyone have any suggestions on a script/proggy to check the WAN IP?

      Comment

      Working...