Discussion:
[opennms-discuss] converting bytes to bits in RRD for graphs
TT
2003-09-09 22:47:28 UTC
Permalink
gang,

I know this has been discussed before but I was unable to find a reference
and was hoping someone could help. I want to convert the bytes to bits in
the performance reports graph within rrd can someone share how to do this?
thanks for all replies

TT
Tarus Balog
2003-09-10 00:44:43 UTC
Permalink
Post by TT
I know this has been discussed before but I was unable to find a reference
and was hoping someone could help. I want to convert the bytes to bits in
the performance reports graph within rrd can someone share how to do this?
thanks for all replies
The "bits" report is included in 1.1.2.

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/opennms/opennms/etc/snmp-graph.properties?rev=1.7&content-type=text/vnd.viewcvs-markup

-T
--
Tarus Balog Main: +1 919 545 2553
Blast Internet Services, Inc. Fax : +1 919 542 5955
Email: ***@blast.com URL : http://www2.blast.com/tarus
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481 512B FECA 11D2 FD82 B45C
Alex Vishnev
2003-09-10 00:58:55 UTC
Permalink
All,

Can someone list all the source packages and corresponding locations
needed to build opennms from source code. I tried that once before and
encountered compilation problems in rrd. It has been awhile since I
tried that. I think my problem was mis-matched versions. So, I am
looking for some definitions instead of crawling around the net locating
various packages. Can I still get opennms from cvs in sourceforge or has
it moved to opennms?

Thanks

Alex
Mike Peterson
2003-09-10 13:56:57 UTC
Permalink
Hi,
Post by Alex Vishnev
Can someone list all the source packages and corresponding locations
needed to build opennms from source code. I tried that once before and
encountered compilation problems in rrd. It has been awhile since I
tried that. I think my problem was mis-matched versions. So, I am
looking for some definitions instead of crawling around the net locating
various packages.
Here's what I've used to build 1.1.1 from source on Solaris 8, and
approximate installation order:

stable.tar.gz - http://www.perl.com/ [Perl 5]
tcl8.3.5.tar.gz - http://www.scriptics.com/software/download.html,
tk8.3.5-src.tar.gz - http://www.scriptics.com/software/download.html,
rrdtool-1.0.42.tar.gz - http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
openssl-0.9.6e.tar.gz - http://www.openssl.org/
postgresql-7.3.2.tar.gz - ftp://ftp.postgresql.org/pub/latest/
DBI-1.37.tar.gz - http://search.cpan.org/
DBD-Pg-1.22.tar.gz - http://search.cpan.org/
jakarta-tomcat-4.1.27.tar.gz - http://jakarta.apache.org/tomcat/index.html
4.1.27-hotfix-22096.tar.gz - http://jakarta.apache.org/tomcat/index.html
opennms-source-1.1.1-0.tar.gz - http://www.opennms.org/users/downloads/

Of course you also need a JDK, from http://java.sun.com/j2se/downloads.html.

Make sure you don't have the LE version of Tomcat - it is missing the
XML support that OpenNMS needs.

I've had to make a number of fixes to the OpenNMS source to build it; I
could try to put those together if anyone is interested - mainly paths
to various pieces ('rrdtool', PostgreSQL) that are not where the
build/install looks (we put all add-on packages in /opt/XXX to keep
them out of the Solaris directories), and 'IcmpSocket.c' won't compile
as is on Solaris.

I have got to the point where I can get into the OpenNMS console to see
things, but everything shows down most of the time, and the graphs show
data being collected only in short bursts. No idea what's wrong at this
point!

Hope that helps,
Mike.
--
Mike Peterson, Senior Network Support Analyst, U/Toronto Network Operations
E-mail: ***@noc.utoronto.ca WWW: http://www.noc.utoronto.ca/~mikep/
Tel: 416-978-5230 Fax: 416-971-1362
Alex Vishnev
2003-09-10 16:59:22 UTC
Permalink
Mike,

Thank you very much for listing all the packages. BTW, how did you
retrieve source code for opennms. I remember that a couple of month back
sourceforge was having problems with non-member cvs access. Do you know
if that is fixed or is there another location I can retrieve the source
code?

Alex

-----Original Message-----
From: discuss-***@opennms.org [mailto:discuss-***@opennms.org]
On Behalf Of Mike Peterson
Sent: Wednesday, September 10, 2003 9:57 AM
To: ***@opennms.org
Subject: Re: [opennms-discuss] Source code build environment.

Hi,
Post by Alex Vishnev
Can someone list all the source packages and corresponding locations
needed to build opennms from source code. I tried that once before and
encountered compilation problems in rrd. It has been awhile since I
tried that. I think my problem was mis-matched versions. So, I am
looking for some definitions instead of crawling around the net
locating
Post by Alex Vishnev
various packages.
Here's what I've used to build 1.1.1 from source on Solaris 8, and
approximate installation order:

stable.tar.gz - http://www.perl.com/ [Perl 5]
tcl8.3.5.tar.gz -
http://www.scriptics.com/software/download.html,
tk8.3.5-src.tar.gz -
http://www.scriptics.com/software/download.html,
rrdtool-1.0.42.tar.gz -
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
openssl-0.9.6e.tar.gz - http://www.openssl.org/
postgresql-7.3.2.tar.gz - ftp://ftp.postgresql.org/pub/latest/
DBI-1.37.tar.gz - http://search.cpan.org/
DBD-Pg-1.22.tar.gz - http://search.cpan.org/
jakarta-tomcat-4.1.27.tar.gz -
http://jakarta.apache.org/tomcat/index.html
4.1.27-hotfix-22096.tar.gz -
http://jakarta.apache.org/tomcat/index.html
opennms-source-1.1.1-0.tar.gz -
http://www.opennms.org/users/downloads/

Of course you also need a JDK, from
http://java.sun.com/j2se/downloads.html.

Make sure you don't have the LE version of Tomcat - it is missing the
XML support that OpenNMS needs.

I've had to make a number of fixes to the OpenNMS source to build it; I
could try to put those together if anyone is interested - mainly paths
to various pieces ('rrdtool', PostgreSQL) that are not where the
build/install looks (we put all add-on packages in /opt/XXX to keep
them out of the Solaris directories), and 'IcmpSocket.c' won't compile
as is on Solaris.

I have got to the point where I can get into the OpenNMS console to see
things, but everything shows down most of the time, and the graphs show
data being collected only in short bursts. No idea what's wrong at this
point!

Hope that helps,
Mike.
--
Mike Peterson, Senior Network Support Analyst, U/Toronto Network
Operations
E-mail: ***@noc.utoronto.ca WWW:
http://www.noc.utoronto.ca/~mikep/
Tel: 416-978-5230 Fax:
416-971-1362
_______________________________________________
discuss mailing list (***@opennms.org)
To subscribe, unsubscribe, or change your list options, go to:
http://lists.opennms.org/mailman/listinfo/discuss
Schmidt, Doug
2003-09-10 17:17:55 UTC
Permalink
Do you know if that is fixed or is there another location I can
retrieve the source code?
ftp://ftp.opennms.org/pub/releases/latest/source/

~doug


-----Original Message-----
From: Alex Vishnev [mailto:***@optonline.net]
Sent: Wednesday, September 10, 2003 12:59 PM
To: 'General OpenNMS Discussion'
Subject: RE: [opennms-discuss] Source code build environment.


Mike,

Thank you very much for listing all the packages. BTW, how did you
retrieve source code for opennms. I remember that a couple of month back
sourceforge was having problems with non-member cvs access. Do you know
if that is fixed or is there another location I can retrieve the source
code?

Alex

-----Original Message-----
From: discuss-***@opennms.org [mailto:discuss-***@opennms.org]
On Behalf Of Mike Peterson
Sent: Wednesday, September 10, 2003 9:57 AM
To: ***@opennms.org
Subject: Re: [opennms-discuss] Source code build environment.

Hi,
Can someone list all the source packages and corresponding locations
needed to build opennms from source code. I tried that once before and
encountered compilation problems in rrd. It has been awhile since I
tried that. I think my problem was mis-matched versions. So, I am
looking for some definitions instead of crawling around the net
locating
various packages.
Here's what I've used to build 1.1.1 from source on Solaris 8, and
approximate installation order:

stable.tar.gz - http://www.perl.com/ [Perl 5]
tcl8.3.5.tar.gz -
http://www.scriptics.com/software/download.html,
tk8.3.5-src.tar.gz -
http://www.scriptics.com/software/download.html,
rrdtool-1.0.42.tar.gz -
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
openssl-0.9.6e.tar.gz - http://www.openssl.org/
postgresql-7.3.2.tar.gz - ftp://ftp.postgresql.org/pub/latest/
DBI-1.37.tar.gz - http://search.cpan.org/
DBD-Pg-1.22.tar.gz - http://search.cpan.org/
jakarta-tomcat-4.1.27.tar.gz -
http://jakarta.apache.org/tomcat/index.html
4.1.27-hotfix-22096.tar.gz -
http://jakarta.apache.org/tomcat/index.html
opennms-source-1.1.1-0.tar.gz -
http://www.opennms.org/users/downloads/

Of course you also need a JDK, from
http://java.sun.com/j2se/downloads.html.

Make sure you don't have the LE version of Tomcat - it is missing the
XML support that OpenNMS needs.

I've had to make a number of fixes to the OpenNMS source to build it; I
could try to put those together if anyone is interested - mainly paths
to various pieces ('rrdtool', PostgreSQL) that are not where the
build/install looks (we put all add-on packages in /opt/XXX to keep
them out of the Solaris directories), and 'IcmpSocket.c' won't compile
as is on Solaris.

I have got to the point where I can get into the OpenNMS console to see
things, but everything shows down most of the time, and the graphs show
data being collected only in short bursts. No idea what's wrong at this
point!

Hope that helps,
Mike.
--
Mike Peterson, Senior Network Support Analyst, U/Toronto Network
Operations
E-mail: ***@noc.utoronto.ca WWW:
http://www.noc.utoronto.ca/~mikep/
Tel: 416-978-5230 Fax:
416-971-1362
_______________________________________________
discuss mailing list (***@opennms.org)
To subscribe, unsubscribe, or change your list options, go to:
http://lists.opennms.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list (***@opennms.org)
To subscribe, unsubscribe, or change your list options, go to:
http://lists.opennms.org/mailman/listinfo/discuss
****CONFIDENTIALITY NOTICE**** The Information in this email and any
attachments are confidential and intended to be reviewed by only the
individual or organization named above. If you have received this email in
error, please immediately notify the sender by return email and delete this
email from your system. Thank You.
Mike Peterson
2003-09-10 17:32:25 UTC
Permalink
Hi,

I downloaded the tar.gz file from
'http://www.opennms.org/files/releases/latest/source/'.
I don't use CVS at all.

Mike.
--
Every time I close the door on reality Mike Peterson
it comes in through the windows. U/Toronto NetOps
E-mail: ***@noc.utoronto.ca Tel: 416-978-5230
WWW: http://www.noc.utoronto.ca/~mikep/ Fax: 416-971-1362
TT
2003-09-12 20:55:44 UTC
Permalink
Thanks T!



-----Original Message-----
From: discuss-***@opennms.org [mailto:discuss-***@opennms.org]On
Behalf Of Tarus Balog
Sent: Tuesday, September 09, 2003 8:45 PM
To: ***@optonline.net; General OpenNMS Discussion
Subject: Re: [opennms-discuss] converting bytes to bits in RRD for
graphs
Post by TT
I know this has been discussed before but I was unable to find a
reference
and was hoping someone could help. I want to convert the bytes to bits in
the performance reports graph within rrd can someone share how to do this?
thanks for all replies
The "bits" report is included in 1.1.2.

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/opennms/opennms/etc/snmp-grap
h.properties?rev=1.7&content-type=text/vnd.viewcvs-markup

-T


--
Tarus Balog Main: +1 919 545 2553
Blast Internet Services, Inc. Fax : +1 919 542 5955
Email: ***@blast.com URL : http://www2.blast.com/tarus
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481 512B FECA 11D2 FD82 B45C
_______________________________________________
discuss mailing list (***@opennms.org)
To subscribe, unsubscribe, or change your list options, go to:
http://lists.opennms.org/mailman/listinfo/discuss
Michael baker
2003-09-29 02:56:06 UTC
Permalink
just back from hols hope this help this is how I did it.

report.bits.name=Bits In/Out
report.bits.columns=ifInOctets,ifOutOctets
report.bits.type=interface
report.bits.command=--title="Bits In/Out" \
DEF:octIn={rrd1}:ifInOctets:AVERAGE \
DEF:octOut={rrd2}:ifOutOctets:AVERAGE \
CDEF:bitsIn=octIn,8,* \
CDEF:bitsOut=octOut,8,* \
LINE2:bitsIn#0000ff:"Bits In" \
GPRINT:bitsIn:AVERAGE:" Avg \\: %8.2lf %s" \
GPRINT:bitsIn:MIN:"Min \\: %8.2lf %s" \
GPRINT:bitsIn:MAX:"Max \\: %8.2lf %s\\n" \
LINE2:bitsOut#00ff00:"Bits Out" \
GPRINT:bitsOut:AVERAGE:"Avg \\: %8.2lf %s" \
GPRINT:bitsOut:MIN:"Min \\: %8.2lf %s" \
GPRINT:bitsOut:MAX:"Max \\: %8.2lf %s\\n"

Mike Baker
Post by TT
gang,
I know this has been discussed before but I was unable to find a reference
and was hoping someone could help. I want to convert the bytes to bits in
the performance reports graph within rrd can someone share how to do this?
thanks for all replies
TT
_______________________________________________
http://lists.opennms.org/mailman/listinfo/discuss
Loading...