PDA

View Full Version : Monitor IP Address Change


mrogers-9898
04-10-2010, 02:57
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
04-10-2010, 04:33
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).

mrogers-9898
04-10-2010, 04:51
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?