]> git.openstreetmap.org Git - chef.git/blob - test/integration/prometheus/serverspec/prometheus_node_exporter_spec.rb
Fix errors in alert rules
[chef.git] / test / integration / prometheus / serverspec / prometheus_node_exporter_spec.rb
1 require "serverspec"
2
3 # Required by serverspec
4 set :backend, :exec
5
6 describe service("prometheus-node-exporter") do
7   it { should be_enabled }
8   it { should be_running }
9 end
10
11 describe port(9100) do
12   it { should be_listening.with("tcp") }
13 end