```ruby
require 'spec_helper'
require 'zabbix_client'

describe service('httpd') do
  it { should be_enabled }
end

describe service('mysqld') do
  it { should be_enabled }
end

describe service('zabbix_agentd') do
  it { should be_enabled }
end

describe service('zabbix_server') do
  it { should be_enabled }
end

describe 'zabbix server example' do
  params = property[:consul_parameters]

  if params[:zabbix] && param[:zabbix][:web] && param[:zabbix][:web][:fqdn]
    server = param[:zabbix][:web][:fqdn]
  else
    server = 'localhost'
  end

  if params[:zabbix] && param[:zabbix][:web] && param[:zabbix][:web][:login]
    user = param[:zabbix][:web][:login]
  else
    user = 'admin'
  end
  if params[:zabbix] && param[:zabbix][:web] && param[:zabbix][:web][:password]
    passwd = param[:zabbix][:web][:password]
  else
    passwd = 'zabbix'
  end

  zabbix_client = CloudConductor::ZabbixClient.new(server, user, passwd)
  servers = property[:servers]
  servers.each_key do |hostname|
    result = zabbix_client.exist_host("#{hostname}")
    it "#{hostname} is registered in zabbix" do
      result.should be_truthy
    end
  end
end
```

Fix serverspec to ignore http_proxy.
user
```ruby
require 'spec_helper'
require 'zabbix_client'

describe service('httpd') do
  it { should be_enabled }
end

describe service('mysqld') do
  it { should be_enabled }
end

describe service('zabbix_agentd') do
  it { should be_enabled }
end

describe service('zabbix_server') do
  it { should be_enabled }
end

describe 'zabbix server example' do
  before do
    @http_proxy = ENV['http_proxy']
    ENV['http_proxy'] = nil
  end

  after do
    ENV['http_proxy'] = @http_proxy
  end

  params = property[:consul_parameters]

  if params[:zabbix] && param[:zabbix][:web] && param[:zabbix][:web][:fqdn]
    server = param[:zabbix][:web][:fqdn]
  else
    server = 'localhost'
  end

  if params[:zabbix] && param[:zabbix][:web] && param[:zabbix][:web][:login]
    user = param[:zabbix][:web][:login]
  else
    user = 'admin'
  end
  if params[:zabbix] && param[:zabbix][:web] && param[:zabbix][:web][:password]
    passwd = param[:zabbix][:web][:password]
  else
    passwd = 'zabbix'
  end

  zabbix_client = CloudConductor::ZabbixClient.new(server, user, passwd)
  servers = property[:servers]
  servers.each_key do |hostname|
    result = zabbix_client.exist_host("#{hostname}")
    it "#{hostname} is registered in zabbix" do
      result.should be_truthy
    end
  end
end
```
assistant