[racktables-users] Re: extract list of IP Addresses and Hostnames

Hello!

Yep, that is correct :)

That's IP in 32-bit integer. Take a look at this function http://dev.mysql.com/doc/refman/5.1/en/miscellaneous-functions.html#function_inet-ntoa

Cheers,
Denis.

Panagiotis Christias wrote:
Heiko Engemann wrote:
Hello list,

I would like to use the in RackTables stored Information for my Documentation,

Is there a way to extract all the IP Addresses and Hostnames of my realServers into a textfile?

I looked in the DB but I only see strange number like 2886797572.

Try something like this:

  2886797572 -> hex(2886797572) -> 0xAC110904 -> 0xAC.0x11.0x09.0x04 ->
  dec(0xAC).dec(0x11).dec(0x09).dec(0x04) -> 172.17.9.4

Regards,
Panagiotis



Other related posts: