please also print the error: log.Printf("Can't connect to gmond: %s", err)