snmp (snmpd.conf)
snmpd.conf que tenho em produção
Categoria: Networking
Software: snmp
[ Hits: 40.726 ]
Por: Sérgio Abrantes Junior
Esse snmpd.conf tenho funcionando em conjunto com o outro conf que postei do MRTG.
# When the snmpd agent starts up, this is where it will look for it. # All lines beginning with a '#' are comments and are intended for you # to read. All other lines are configuration commands for the agent. ############# # Access control configuration: # The most common question about the agent is "why won't it work?" when # it should be "how do I configure the agent to allow me to access it?". # If run out of the box without any configuration file in place, the agent, # by default, responds to the "public" community for read only access, but, # if you want to use the snmpd config file (snmpd.conf), you should follow # the steps below. ############# # First, map the community name into a security name # sec.name source community com2sec local localhost private com2sec local localhost public com2sec mrtg 192.168.0.0/16 mrtg com2sec mrtg 0.0.0.0/0 public com2sec mrtg 0.0.0.0/0 mrtg ############# # Second, map the security names into group names: # sec.model sec.name group MyRWGroup v1 local group MyRWGroup v2c local group MyRWGroup usm local group MyROGroup v1 mrtg group MyROGroup v2c mrtg group MyROGroup usm mrtg ############# # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view all included .1 80 ############# # Finally, grant 2 access groups to the 1 view with different write permissions: # context sec.model sec.level match read write notif access MyROGroup "" any noauth exact all none none access MyRWGroup "" any noauth exact all all none ############# # Trap configuration # trap community trapcommunity public # manager station trapsink 192.168.164.20 ############# # System contact configuration # It is also possible to set the sysContact and sysLocation system # variables through the snmpd.conf file: syslocation Firewall em Florianópolis syscontact Sérgio Abrantes sergioabrantes@gmail.com
Links importantes de usuários do VOL (3)
Atenção a quem posta conteúdo de dicas, scripts e tal (2)
Crie alias para as tarefas que possuam longas linhas de comando - bash e zsh
Criando um gateway de internet com o Debian
Configuração básica do Conky para mostrar informações sobre a sua máquina no Desktop
Aprenda a criar músicas com Inteligência Artificial usando Suno AI
Entendendo o que é URI, URL, URN e conhecendo as diferenças entre POST e GET
Instalando Discord no Fedora 40
Instalando Discord no Ubuntu 24.04 LTS
Como instalar o XFCE4-terminal na sua distribuição Linux e integrá-lo ao sistema
Como instalar o Tilix Terminal no Gnome e usá-lo como menu drop-down ao estilo Quake
Required key not available Refer to the mount.cifs(8) (0)
Sistema da Coréia do Norte - Red Star OS (38)
Problemas de instalação hyprland + Void Linux (1)
Acento til, agudo e circunflexo nao funcionam com Debian (4)