Sha256: 7dc6e43ba77f48584ef3c11d4a7a9268e745d363db97ac71d69f761300677773

Contents?: true

Size: 165 Bytes

Versions: 51

Compression:

Stored size: 165 Bytes

Contents

collect do
  event(
      :state => Resolv::DNS.new.getresources(ohai[:fqdn], Resolv::DNS::Resource::IN::A).count == 1,
      :desc => 'Check resolv self FQDN')
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
kurchatov-0.4.7 examples/dns_check.rb
kurchatov-0.4.6 examples/dns_check.rb
kurchatov-0.4.5 examples/dns_check.rb
kurchatov-0.4.4 examples/dns_check.rb
kurchatov-0.4.3 examples/dns_check.rb
kurchatov-0.4.2 examples/dns_check.rb
kurchatov-0.4.1 examples/dns_check.rb
kurchatov-0.3.8 examples/dns_check.rb
kurchatov-0.3.7 examples/dns_check.rb
kurchatov-0.3.6 examples/dns_check.rb
kurchatov-0.3.5 examples/dns_check.rb
kurchatov-0.3.4 examples/dns_check.rb
kurchatov-0.3.3 examples/dns_check.rb
kurchatov-0.3.2 examples/dns_check.rb
kurchatov-0.3.1 examples/dns_check.rb
kurchatov-0.3.0 examples/dns_check.rb
kurchatov-0.2.9 examples/dns_check.rb
kurchatov-0.2.8 examples/dns_check.rb
kurchatov-0.2.7 examples/dns_check.rb
kurchatov-0.2.6 examples/dns_check.rb