def api_pings_get(): names = db.query_column("select hostname from host") return jsonify(hosts=names)