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

Re: SNMPD antwortet nicht



Andreas Tille schrieb:
On Tue, 12 Jun 2007, Aleks wrote:
(und den daemon darauf hören lassen)

Aber wie?? Wo kann ich nachlesen?
 Hi,
habe mir gerade mal das Paket installiert und in der man zu snmpd.conf folgendes gefunden:

---
com2sec [-Cn CONTEXT] NAME SOURCE COMMUNITY
This directive specifies the mapping from a source/community pair to a security name. SOURCE can be a host‐ name, a subnet, or the word "default". A subnet can be specified as IP/MASK or IP/BITS. For example, given a directive "com2sec myLocal 10.10.10.0/24 public" then this would match requests from IP addresses 10.10.10.0 through to 10.10.10.255, but not one from 10.10.11.1 or similar. The first source/community com‐ bination that matches the incoming packet is selected. If a CONTEXT is specified, the community name gets mapped to the SNMPv3 CONTEXT of the same name, otherwise the default context ("") is used.
---

Ist ja eigentlich ein nettes Konzept und passt auch super zum Beispiel vom Thomas.

Relativ weit oben vom man steht auch:

---

PLEASE READ FIRST
First, make sure you have read the snmp_config(5) manual page that describes how the Net-SNMP configuration files
       operate, where they are located and how they all work together.

Also, you might consider looking into the snmpconf application (perl script) which can help you build an snmpd.conf file by prompting you for information. You should try it. Really. Go ahead. Right now. Run:

              snmpconf -g basic_setup

to get you started. See the snmpconf(1) manual page for more information.


---

Es scheint also auch ein Tool zu geben, welches das ganze evtl. vereinfacht...

Gruß,
Aleks



Reply to: