16 lines
308 B
Ruby
16 lines
308 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
control 'prometheus services' do
|
||
|
title 'should be running'
|
||
|
|
||
|
describe service('prometheus-node-exporter') do
|
||
|
it { should be_enabled }
|
||
|
it { should be_running }
|
||
|
end
|
||
|
|
||
|
# prometheus-node-exporter port
|
||
|
describe port(9100) do
|
||
|
it { should be_listening }
|
||
|
end
|
||
|
end
|