Skip to content

Commit

Permalink
[lib] [puppet] [network_monitoring] Also monitor links to servers
Browse files Browse the repository at this point in the history
  • Loading branch information
jonglezb committed Apr 20, 2021
1 parent 513996d commit 80f882a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/refrepo/gen/puppet/network_monitoring.rb
Expand Up @@ -65,7 +65,7 @@ def generate_puppet_network_monitoring(options)
l['ports'].each do |p|
next if p == {}

next unless %w[other switch router channel backbone].include?(p['kind'])
next unless %w[other switch router server channel backbone].include?(p['kind'])

port_name = p['snmp_name']
next if net_hosts_eq['interfaces'].find { |i| i['name'] == port_name }
Expand Down

0 comments on commit 80f882a

Please sign in to comment.