code: @GET
    @Path("{id}/status")
    @Produces(APPLICATION_JSON)
    @Timed
    @ExceptionMetered
    public Optional<HostStatus> hostStatus(
        @PathParam("id") final String host,
        @QueryParam("status") @DefaultValue("") final String statusFilter) {
      final HostStatus status = model.getHostStatus(host);
      final Optional<HostStatus> response;
      if (status != null
          && (isNullOrEmpty(statusFilter) || statusFilter.equals(status.getStatus().toString()))) {
        response = Optional.of(status);
      } else {
        response = Optional.absent();
      }
      log.debug("hostStatus: host={}, statusFilter={}, returning: {}", host, statusFilter, response);
      return response;
    }
docs: Returns various status information about the host.
  
  @param host         The host id.
  @param statusFilter An optional status filter.
  
  @return The host status.