[rrd-users] Re: collect and graph snmp data with remstats
thomas.erskine at sympatico.ca
Tue May 20 12:08:54 MEST 2003
At 06:52 2003-05-19, David IMANACHE wrote:
>Is there anybody who could tell me steps in order to collect snmp data
>(whith specific OIDS) with remstats?
You need to make another rrd definition.
First, you need to tell remstats the name to OID mapping. Look in
config/oids. Add lines for each OID you're interested in.
Look under config/rrds. There will be one file per rrd type. Pick
something simple, like the mis-named snmpcpu (which should really be called
something like snmp-cicso-router-cpu). Walking through the rrd definition,
you need lines like:
this says that this rrd is to be collected by the snmp-collector
this is the rrdtool step
Add the name of your OID here. The one you put in config/oids.
You need to define what remstats refers to as "variables". These contain
rrdtool's data-source definitions and they map collector data names to DS
names. For some collectors, they have to do more. Note the annoyance that
I've never fixed: OID names are case-sensitive, but the names that the
collector returns are lower-cased..Here you want a line like:
data mydsname=theoidname GAUGE:600:0:U
These are the names of RRAs to use for this rrd definition. Look them up
in config/archives, and add more, if you want.
archives day-avg week-avg month-avg 3month-avg year-avg
These are the names of graph time-periods (see config/times)
times day yesterday week month 3month year
Then add in your graph(s) definitions with a header like:
graph mygraph desc='your description goes here'
>thanks in advance
>Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
>Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Thomas Erskine <thomas.erskine at sympatico.ca> +1.613.591.8490
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users