Changes to allow monitoring for mixed private/public environments

Shamelessly stole some code from the Nagios cookbook from 37Signals to allow proper IP detection for mixed private/public node setups...