Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-1136

geolocation with LOC dns record is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Web Interface
    • Ubuntu 14.04, php 5.5.9, observium 0.14.12.6118

    Description

      When the geolocation function tries to use LOC records from DNS, it checks for degree_latitude and degree_longitude being set in the output, and it converts degrees minutes seconds to signed decimal degrees to set location_lat and location_lon. Because the output from the dns library is already converted to decimal degrees with a different name than is being checked for, the output isn't found. The attached patch uses the output of the library to set location_lat and location_lon.

      Attachments

        Activity

          People

            landy Mike Stupalov
            nschmalenberger Nick Schmalenberger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: