How to extract primary IP of Unix systems

Hi All,
In my Bigfix enviroment most of the unix servers are allocated multiple IPs.I want to extract primary IP of the servers against each hostname.

I have tried a lot,but could not succeed
Kindly help me creating Bigfix Analysis for the same.

See this related post: Registration subnet address of client error on rhel / mac

Using registration address of client should give you the IP that the client used to register with its relay, which could be what you are looking for.

What makes the primary IP the primary to you? It may not have the same meaning to everyone.

Hi ,

Thank you very much for your response.

By primary IP, i mean to say the client ip used to register with bigfix server.

For Unix servers with multiple IP, it shows which creates problem to figure out IP address of the system.

I need single visible IP against each hostname .

Does this work: registration address of client ?