Node:Treeb, Next:Psnmp, Previous:Overview, Up:Top
This is the data collecting and tree construction program of the psnmp package.
The first thing you have to do before using treeb or psnmp is
to create a file with database connection parameters:
database {
server "myhost";
user "myuser";
password "mypassword";
database "mydatabase";
}
You also have access to the corresponding server with theses database
parameters. You can create the table with the script including with
the distribution (sql/create.sql).
You must procede in this order:
file (--ethers file)
file (--hosts file),
fetching general interface informations,
IPs, and for network devices (switches, routers) their forwarding lists
and VLAN-related configuration.
Note that this step can take a very long time (especially when the
algorithm has to guess VLAN/MAC dispatching).