9.3.1.6. GeoHealthCheck.geocoder

9.3.1.6.1. Attributes

LOGGER

9.3.1.6.2. Classes

Geocoder

Base class for specific Geocode plugins to locate servers by their hostname

9.3.1.6.3. Module Contents

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)