9.1.2.6. GeoHealthCheck.geocoder
9.1.2.6.1. Module Contents
9.1.2.6.1.1. Classes
Base class for specific Geocode plugins to locate servers by their hostname |
9.1.2.6.1.2. Attributes
- GeoHealthCheck.geocoder.LOGGER
- class GeoHealthCheck.geocoder.Geocoder
Bases:
plugin.Plugin
Base class for specific Geocode plugins to locate servers by their hostname
- init(geocoder_vars)
- locate(hostname)
Perform a locate on the host.
- Parameters:
string (hostname) – the hostname of the server for which we want the coords.
- TODO: return result as tuple with location in lat-lon. Example:
(52.4, 21.0)
- log(text)