Skip to content

Commit 80f882a

Browse files
committed
[lib] [puppet] [network_monitoring] Also monitor links to servers
1 parent 513996d commit 80f882a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/refrepo/gen/puppet/network_monitoring.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def generate_puppet_network_monitoring(options)
6565
l['ports'].each do |p|
6666
next if p == {}
6767

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

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

0 commit comments

Comments
 (0)