joshlowit1
7 years agoNeophyte
ns_lookup
Is it possible to get the IP of an URL using ns_lookup and compare it to another IP to make sure they match and then alert if they don't?
Eminently possible, but we don't do this out-of-the-box. You'd need to write your own custom datasource.
See the example at https://www.logicmonitor.com/support/datasources/groovy-support/dns-scripting-methods/, as well as the preceding info about writing scripted datasources, for details.