[rrd-users] Data Gatherer for RRDTool

Cliff cliff at acsalaska.net
Tue Nov 5 15:19:47 MET 2002

Hi folks

The example in the RRDTool tutorial is non-specific.
Could someone please correct my perl data gatherer?
Or show me an example that works?
Here is my perl script which does not work.
Thanks in advance.


$ip_address = "";
$in = `snmpwalk -Ov -v 1 $ip_address public`;
$in =~ s/Counter32\: //g;

#print "$in";

$out = `snmpwalk -Ov -v 1 $ip_address public`;
$out =~ s/Counter32\: //g;
#print "$out";

$do_command = "/usr/rrdtool/bin/rrdtool update /web/homenet/rrd/wmere_enet.rrd N:$in:$out" ;

#man snmpget
#$syscontact = `snmpwalk -Ov -v 1 $ip_address public .`;

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list