The SNMP adapter can read data from
a round-robin database that was created with rrdtool.
Note: The round-robin database
tool, rrdtool, is a freeware package that is available for download
from Tobias Oetiker. This software is widely used, often in conjunction
with Tobias Oetiker's MRTG package, which is a real-time monitor of
data.
The SNMP adapter reads
only those round-robin databases that contain one round-robin database
for each combination of the device, the network interface to which
the device is connected, and the metric. The data can be gathered
at any interval, and any metrics and devices can be gathered.
In order to produce
the correct set of round-robin databases, SAS IT Resource Management
provides a sample Perl script for data collection and storage in the
round-robin database. This script, called snmpuprd.pl, is available
in the
sasmisc
folder. The section
at the top of the script enables you to specify modifications that
control how the data is collected. The Perl script uses the snmphost
and snmpvars files, which are located in the
sasmisc
folder, to determine which metrics to gather from your devices.
It also uses the snmpwalk command to collect the snmp data. When you
have the script set up correctly, you can use your operating system's
scheduling facility to run the script at the appropriate interval.
Note: You can backload data from
the rrdtool. To so, specify the
Number of days to load option in the
Staging Parameters property
tab of the SNMP staging transformation. (This option is available
only if the chosen access command is RRDTool.)