Re: can't get Ethernet SNMP information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2008/8/9 Rudi Ahlers <rudiahlers@xxxxxxxxx>:
> It could be, but I don't know snmp at all. What do I need to change, if you
> don't mind telling me?

You can try creating a /etc/snmp/snmpd.conf file with only this line in it:

rocommunity public 192.168.1.0/24

If you want, change "public" to a (secret) community name you want,
and change the IP range to the IP range you want to allow to query
your server via SNMP. (Note that localhost is not included there, so
include another line for 127.0.0.0/8 if you want queries from
localhost.)

This will expose the whole MIB to any host on that IP range using that
community name, and it is a good starting point for your
configuration.

This should be enough to get you started. However, this is a very
permissive configuration (although it doesn't allow writes which could
be dangerous in terms of allowing other hosts to change settings on
your host). It's OK for me, but it might not be considering your
security policies. If you need something more restrictive than that,
read the snmpd.conf manual page very carefully to establish what
exactly you need.

HTH,
Filipe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux