From 61b9c7c86689238f8460c7fb6a2e5870b93d1441 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 17 Mar 2020 22:33:42 +0000 Subject: [PATCH] Enable snmp monitoring for Edgeuno machines --- roles/edgeuno.rb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/roles/edgeuno.rb b/roles/edgeuno.rb index d3416bba6..ae31ce92d 100644 --- a/roles/edgeuno.rb +++ b/roles/edgeuno.rb @@ -5,6 +5,30 @@ default_attributes( :hosted_by => "EdgeUno", :location => "Bogotá, Colombia", :networking => { + :firewall => { + :inet => [ + { + :action => "ACCEPT", + :source => "net:200.25.3.8/31", + :dest => "fw", + :proto => "udp", + :dest_ports => "snmp", + :source_ports => "1024:", + :rate_limit => "-", + :connection_limit => "-" + }, + { + :action => "ACCEPT", + :source => "net:200.25.3.8/31", + :dest => "fw", + :proto => "tcp", + :dest_ports => "snmp", + :source_ports => "1024:", + :rate_limit => "-", + :connection_limit => "-" + } + ] + }, :nameservers => [ "8.8.8.8", "1.1.1.1" -- 2.43.2