is it possible to query public ip?

is it possible to query public ip?

meaning....is it possible for the opmanager to somehow let me know if my public ip has changed?