[rrd-users] Re: New Line COMMENT Part 2

2001-06-14 Thread Bjorn Djupvik

[EMAIL PROTECTED] wrote:
> 
> Sorry about that my computer decided to send my mail without my permissions...
Yeah yeah blame the computer :P

> Anyways, I have tried both  and "\n" and "\r"
> to properly format my comments. But it just keeps running across the graph 
> until it wraps around..
> How does one create a new line??


COMMENT:\\n


Regards,

Bjorn D.
--

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: Threshold Levels

2001-06-13 Thread Bjorn Djupvik



[EMAIL PROTECTED] wrote:
> 
> Is it possible to create a horizontal line across the graph showing the
> threshold levels?

Yes.

CDEF:G=D,1200,0,IF \
LINE3:G#FF:Threshold level

will do the trick.


This is probably a dumb way to do it but it works :) Will create a thick red 
line at 10. (D = your rrd+ds def., I
couldnt think of any other way to do this)

-bjorn

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: librrd_private.a error during make site-perl-install

2001-04-02 Thread Bjorn Djupvik

Which OS are you using? I got the same problem, and I`m trying to compile the 
shared libraries on HP-UX 11.00 with perl
5.6.0.



Scott Paul wrote:
> 
> sh configure --enable-shared works fine...
> 
> when: make site-perl-install is entered I get an error:
> 
> cp RRDs.pm blib/lib/ntmake.pl
> cp RRDs.pm blib/lib/RRDs.pm
> make[1]: *** No rule to make target '../src/.libs/librrd_private.a', needed
> by 'RRDs.c'. Stop.
> make[1]:leaving directory '/home/cricket/RRD/rrdtool-1.0.33/perl-shared'
> make : *** [site-perl-install] Error 2

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Perl module compilation problem in HP-UX B11.00

2001-03-05 Thread Bjorn Djupvik

Ok I tried just about everything to get this work, I even RTFM and searched the 
web, but to no avail..
It's the perl-shared module I`m interested in but it just won't compile.
Can someone please tell me how to fix this problem I get when trying to compile 
the perl modules in rrdtool:


0 box/ # make site-perl-install
No suffix list.
cd perl-piped && make install
Installing /opt/perl5/lib/site_perl/5.6.0/RRDp.pm
Installing /opt/perl5/man/man3/RRDp.3
Writing /opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1/auto/RRDp/.packlist
Appending installation info to /opt/perl5/lib/5.6.0/PA-RISC1.1/perllocal.pod
cd perl-shared && make install
Make: Don't know how to make ../src/.libs/librrd_private.a.  Stop.
*** Error exit code 1

Stop.



-- 
Regards,

Bjorn

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: Help required

2000-12-13 Thread Bjorn Djupvik

"rrdtool dump" is the command you want, I use it to transfer a .rrd between 
different architechtures but you can use it to
get an ASCII file out...to see the schema for the rrd you might want to look at 
the "rrdtool info" command...

Cheers

Bjorn


Tony James wrote:

> Question: The .rrd files that I have, Is there any way
> I can translate these into ascii files. I am basically
> trying to see what data these files have.
> 
> Also if there is a tool to look into the rrd database
> to see the schema and the data etc. Please let me
> know.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: rrdtool installation on HP-UX 10.20

2000-12-07 Thread Bjorn Djupvik
Hi. I did nothing special, just ./configure;make and it all worked out...
I got some extra software installed though, like some libc patches and HP aC++ 
runtime library components, I don't know if
that might have helped the compile... I also got a fresh depot of perl from 
http://hpux.cae.wisc.edu/.

Cheers
Bjorn

Nathan Harris wrote:
> 
> How did you run the configure (ie-what flags did you use)?  I would like to
> try this out on my 11.00 machine.
>

-- Attached file removed by Listar and put at URL below --
-- Type: application/x-pkcs7-signature
-- Desc: S/MIME Cryptographic Signature
-- Size: 1k (2007 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/24-smime.p7s


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: rrdtool installation on HP-UX 10.20

2000-12-06 Thread Bjorn Djupvik

FYI, my B11.00 built rrdtool binary runs happily on 10.20, I just tested it!

Both are 9000/813 series machines, I did a little typo when I said it was a 
9000/777 previously. 


Bjorn

Nathan Harris wrote:
> 
> I don't think HP-UX 11.00 builds will run on 10.20 (or at least that has
> been my experience).  I can't get the Perl stuff to compile under 10.20
> either.  I have not tried 11.00 yet (as I'm looking for an executable that
> will run on 10.20 and 11.00).  I want to try out Cricket (which requires the
> Perl libs), but if you are not interested in the Perl stuff, the rrdtool

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: rrdtool installation on HP-UX 10.20

2000-12-06 Thread Bjorn Djupvik

if you are interested I could send you a B11.00 binary that I was able to 
build, if you cant figure this stuff out!
I built it with CC and perl 5.6.0  on a 9000/777 B11.00 HP box


-bjorn


[EMAIL PROTECTED] wrote:
> 
> Ok, my give up.  Meesaa hope yousaa can help me.
> 
> I am attempting to install the rrdtool on an HP-UX 10.20 box, and have not
> been able to get past the make stage.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: Sample resolution when graphing, unable to get better than 2hrs RRA problem?

2000-12-05 Thread Bjorn Djupvik

The SEEKRIT info worked, thanks Clifton! :)
The problem was that I used the AVERAGE rra instead of the MAX rra.. stupid 
me.. *smacks himself on forehead*

Cheers,

Bjorn


Clifton Royston wrote:

> It condenses it as it rolls back in time, mimicking MRTG behavior.  So
> recent values *should* look fine - except when you're graphing MAX
> which is only stored on 2 hour intervals, for reasons I don't know.  If
> that last is the problem, then you'll need to alter the rrd definition
> by adding additional MAX type RRAs.
> 
> Here's the SEEKRIT key to this info, from the cricket-config/Defaults
> file.  Meditate on this, and all will be clear.  Eventually.  Maybe.
>   -- Clifton

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: Sample resolution when graphing, unable to get better than 2hrs RRA problem?

2000-12-02 Thread Bjorn Djupvik



Clifton Royston wrote:

Yeah this is the problem.. If I graph for say a months time, the graphs
look just fine. Its when I go in and do a graph on data for a week, a
day or less.. even the last day logged looks like this. I think this
might be a cricket problem and not a rrdtool problem but I know that the
cricket tool takes samples every 5 minutes so shouldnt this just end up
in the database? I`m all confused now :)

> If you're experiencing this for graphs within the last 48 hours, which
> I couldn't quite figure out from your command line, then something else
> is wrong and you should ignore these comments. :-)

Regards,

Bjorn

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Sample resolution when graphing, unable to get better than 2hrs RRA problem?

2000-12-01 Thread Bjorn Djupvik


Hi! I am using Cricket in conjunction with a homemade cgi to generate different 
types of graphs from my data. The data isC
collected from a router every 5 minutes. The problem is that when I use 
"rrdtool graph" to generate graphs from the
cricket-made .rrd I only get one sample every 2 hours in the graph and this 
looks very ugly, I would like to get 5 or 10
minute samples. 
The command line I use to
generate the graph looks something like this:


rrdtool graph outputfile.gif --vertical-label 'bits/second' --title 'Traffic 
analysis' 'DEF:A=test.rrd:ds0:AVERAGE'
'DEF:B=test.rrd:ds1:AVERAGE' 'CDEF:C=A,32,*' 'CDEF:D=B,32,*' 
'CDEF:E=C,350,GT,C,UNKN,IF'
'CDEF:F=D,350,GT,D,UNKN,IF' 'CDEF:G=D,1200,0,IF' 
'LINE2:C#4169E1:Incoming traffic' 'GPRINT:C:MIN:(minimum=%.0lf'
'GPRINT:C:AVERAGE:average=%.0lf' 'GPRINT:C:MAX:maximum=%.0lf)' 'COMMENT:\\n' 
'LINE2:D#8FBC8F:Ou
tgoing traffic' 'GPRINT:D:MIN:(minimum=%.0lf' 'GPRINT:D:AVERAGE:average=%.0lf' 
'GPRINT:D:MAX:maximum=%.0lf)' 'COMMENT:\\n'
'LINE3:G#
FF:Excess traffic threshold' -w 800 -h 400 -l 500 >/dev/null";


Never mind about the extra CDEF's and options I use, this is a higly customized 
solution :) Is there something wrong with
my DEF's or
what?
I can't seem to figure this out...



Regards,

Bjorn

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi