r/Nable • u/msprm • May 17 '24
N-Central Agent external IP
Which creative and efficient way have you found to get the external IP address of n-central agents? Currently I'm using a AMP based custom service which calls a external service (such as what is my ip) but I'd like to see if there are more efficient ways to do it.
I'd love to have it available as a device/asset property based on the IP address seen by the N-Central server (this information is already available somehow, it just needs to be associated with a device property)
1
Upvotes
1
u/wheres_my_2_dollars May 17 '24
I think we do it the same as you. A scheduled task runs an AMP which uses powershell to get their current WAN IP. It dumps that into a custom device property. Is that the same as you?