TECHZEN Zenoss User Community ARCHIVE  

DNS FQDN not resetting IP addresses.

Subject: DNS FQDN not resetting IP addresses.
Author: [Not Specified]
Posted: 2014-06-09 09:27

So if I add a user workstation that I want to monitor at a remote site. I add the device either through device discovery or through a FQDN; Zenoss will find the device, but the moment the WS DHCP address changes, Zenoss will not update automatically. Is this how Zenoss Core works From what I have read if you add the device by FQDN and have Title ID the same it should update the IP address. I can do a forward look up and it finds the correct IP but still doesn't update to the correct IP untill I push the change by Reset/Change IP address. My question is, should I add the device by IP (which is DHCP) or add the device by FQDN which doesn't update to correct IP.



Subject: Hi,
Author: Andrew Kirch
Posted: 2014-06-11 20:08

Hi,

You'll probably have to write a zendmd script to change the IP address, and remodel automatically, and crontab that script. I would suggest that this solution be extensively tested on a dev box before going live.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: So Zenoss doesn't have the
Author: [Not Specified]
Posted: 2014-06-12 08:17

So Zenoss doesn't have the ability to update DHCP IP address on it's own by using the DNS for those machines. This makes monitoring windows boxes rather annoying. I believe I have seen similar scripts that would do this. Basically the script needs to tell Zenoss to run the Reset/Change IP Address, wouldn't this be easier just to copy that command and make it run every 12 hours or something of the sort



Subject: Running the command in a cron
Author: [Not Specified]
Posted: 2014-06-12 08:17

Running the command in a cron job or something.



< Previous
What is zodb_session.object_state used for?
  Next
Zenoss Updated time, can't login now!!!
>