| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # Verify that redis, rabbitmq-server, sensu-{api,client}, and Uchiwa
- # are all listening as expected
- # Redis
- describe port(6379) do
- it { should be_listening }
- its('protocols') { should include 'tcp' }
- its('addresses') { should be_in ['0.0.0.0', '::'] }
- end
- # RabbitMQ Server
- describe port(5671) do
- it { should be_listening }
- its('protocols') { should include 'tcp' }
- its('addresses') { should be_in ['0.0.0.0', '::'] }
- end
- # Sensu API
- describe port(4567) do
- it { should be_listening }
- its('protocols') { should include 'tcp' }
- its('addresses') { should be_in ['0.0.0.0', '::'] }
- end
- # Sensu Client TCP/UDP Socket
- describe port(3030) do
- it { should be_listening }
- its('protocols') { should include 'tcp' }
- # Broken on 14.04 - its('protocols') { should include 'udp' }
- its('addresses') { should include '127.0.0.1' }
- end
- # Sensu Client HTTP Socket
- describe port(3031) do
- it { should be_listening }
- its('protocols') { should include 'tcp' }
- its('addresses') { should include '127.0.0.1' }
- end
- # Uchiwa
- describe port(3000) do
- it { should be_listening }
- its('protocols') { should include 'tcp' }
- its('addresses') { should be_in ['0.0.0.0', '::'] }
- end
|