Also keep in mind that perl on Win32 expects paths like:
use lib qw(D:\\mrtg-2.10.13\\lib\\mrtg2);
-or-
use lib qw(D:/mrtg-2.10.13/lib/mrtg2);
John Kizlyk
Network Administrator
CCNA CCDA CCSA MCSE CCA
Capital One Auto Finance
[EMAIL PROTECTED]
-Original Message-
From: Jon [mailto
Hi,
I ran into that problem before on a Win2K3 server. The only way I was able
to get 14all.cgi running is to place the mrtg config files in the same
directory as 14all.cgi and comment out $cfgfile and $cfgfiledir. Then I
switched to routers2.cgi and everything worked much better that way.
Goo
Hello,
I am trying to use 14all.cgi in a Win2K station with RRDTool and Apache.
Script 14all.cgi is in C:\MRTG\wwwroot\ and contains :
use lib qw(D:\mrtg-2.10.13\lib\mrtg2);
$cfgfile = 'mrtg.cfg';
$cfgfiledir = 'D:\mrtg-2.10.13\bin';
File Mrtg.cfg contains :
Interval: 1
RunAsDaemon: yes
Path
> RRDs::update ("/usr/local/rrddata/dbn-router.rrd",
> "N:\"$input\":\"$output\"");
>
> Any help much appreciated.
Start by losing the quotes:
RRDs::update ("/usr/local/rrddata/dbn-router.rrd", "N:$input:$output");
That may help.
Serge.
-
Op de inhoud van dit e-mailbericht en de da
On Tue, 2004-06-01 at 15:57, Wim wrote:
> Why do you add " to your values? Try without, I think that you values
> are seen as strings..
Thanks, don't know why I didn't see that in the error message. Can't
remember why I added them but removing them solved the problem. What
obviously put me off is
Sorry, just to add some more information to my original post here is
part of the script that collects the information:
my $input = $vals[0];
my $output = $vals[1];
RRDs::update ("/usr/local/rrddata/dbn-router.rrd",
"N:\"$input\":\"$output\"");
my $ERR=RRDs::error;
die "ERROR while updating dbn-r
Hi,
I've just done an upgrade on rrdtool from 1.0.45 to 1.0.47 and now some
of my scripts are not working and giving the following error:
ERROR while updating webrouter.rrd: not a simple integer: '"515709113"'
Any ideas how I can fix this ? Hope I haven't now lost my data due to
the update.
Tha
On Mon, May 31, 2004 at 06:55:58PM -0500, Villafuerte Icaza Rodolfo Eduardo
wrote:
> Hi,
> I'm having trouble how to fetch data from an RRD file and generate graph
> from html page...
>
> Im generate the files rrd normally following the man page, but i cant
> continue...
>
> Im use W2K and recen
On Tue, Jun 01, 2004 at 09:44:20AM +0800, Chan Chi Hung wrote:
> I want to label the x-axis with the following:
> day of month, newline, weekday name
>
> I tried -x GTM:GST:MTM:MST:LTM:LST:LPR:LFM option by setting LFM to be
> "%d%n%a" according to strftime man page. However, the newline effect
I want to label the x-axis with the following:
day of month, newline, weekday name
I tried -x GTM:GST:MTM:MST:LTM:LST:LPR:LFM option by setting LFM to be
"%d%n%a" according to strftime man page. However, the newline effect
does not work. The single %d works perfectly!
Did I miss anything.
--
Hi,
I'm having trouble how to fetch data from an RRD file and generate graph
from html page...
Im generate the files rrd normally following the man page, but i cant
continue...
Im use W2K and recently incorporate rrd to my monitor mrtg because i need
more performance and more frequency to monitor
11 matches
Mail list logo