[rrd-users] Re: Perl - using shared library
Chris Marlow
marlowc at us.ibm.com
Tue Feb 13 16:13:20 MET 2001
Hey all -
Using the Perl shared library still isnt' working... Here's what I have:
$UpdateInfo = $TimeStamp . ":" . $BytesReceived . ":" . $BytesSent;
RRDs::update($DatabaseFile,"$UpdateInfo");
if ($ERROR = RRDs::error){
print "Error on updating $DatabaseFile: $ERROR\n";
}
Now, the error that I receive is:
Error on updating /var/local/rrdtool-1.0.28/workdir/marlow..com.rrd: rrdopen can't open 'dummy': A file or directory in the path name does not
exist.
Any ideas where the program is getting 'dummy' from? The $DatabaseFile is correct, and updateInfo is put together correctly.
If I pass the same argurements through a backtics shell call to rrdtool, it works fine....
Thanks -
Chris
-----
Christopher S. Marlow
AIX Infrastructure / 24x7 Security
Burlington, VT
Phone: 802-769-3253
Tie line: 446-3253
e-mail: marlowc at us.ibm.com
Dan Larsson <dl at tyfon.net> on 02/13/2001 07:38:14 AM
To: Chris Marlow/Burlington/Contr/IBM at IBMUS
cc:
Subject: Re: [rrd-users] Perl - using shared library
On Tue, 13 Feb 2001, Chris Marlow wrote:
| If anyone has used the shared Perl library, or has a perl script they
could
| share, it would be greatly appreciated.
I made one a couple of months ago.. It's just a quick'n dirty solution to
plot the cpu usage.
|
I hope it's of some use.
Regards
+------
Dan Larsson | Tel: +46 8 550 120 21
Tyfon Svenska AB | Fax: +46 8 550 120 02
GPG and PGP keys | finger dl at hq1.tyfon.net
--
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