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: [EMAIL PROTECTED]
Dan Larsson <[EMAIL PROTECTED]> on 02/13/2001 07:38:14 AM
To: Chris Marlow/Burlington/Contr/[EMAIL PROTECTED]
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 [EMAIL PROTECTED]
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi