<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=691460816-08032010>Good day,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=691460816-08032010>Re: rtg 0.9 vs. earlier releases. We found 0.74 to have
a memory leak requiring it to be killed and started again every week or two.
Kind of a pain.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=691460816-08032010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=691460816-08032010>Rtg 0.9 has proven to be worth the effort as I cannot
remember the last time I touched the process (server uptime 245 days). The
rtgpoll process has some 7 days of cpu after recording some 37K targets every 5
minutes. The only time the webserver response is slow is when I do the
updatetargets.sh/pkill (once daily). It takes some 26 minutes elapsed (including
timeouts) to check for targets on 152 routers/switches. Rtg 0.9 is a great
piece of collaborative engineering.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=691460816-08032010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=691460816-08032010>Reviewing my build notes, I found the most time
troubleshooting for me was the result of the darn security features built-in
with ESX Linux 2.6.18-128 with RH 4.1.2-44. It was my preference to
have the web component not in /var/www/html but rather /usr/local/rtg/web (just
use chcon --reference /var/www/html -R /usr/local/rtg/lib anytime anything
changes in lib). I also had to update LD_LIBRARY_PATH in the httpd.conf to point
the /usr/local/rtg/lib and added a new module SNMP 1.12 to get closer to real
SNMPv2. In short, the poller was easy, the graphing took a little
time.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=691460816-08032010></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2>I<SPAN class=691460816-08032010> would like to learn
about adding some new modules (ie. Cisco ASA, Valere power shelves) as mentioned
in other threads. I would also like to instrument a robust purge process (keep 6
months data only). Finally, to be able to fully utilize the targetmaker.php web
environment for graphing by date, aggregate, etc. That portion of view code is
not newrtgplot aware. I got enough of it working to give me what I need now (ie.
no aggregation). I would be willing to collaborate with anyone on getting each
of these things going.</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV><SPAN class=691460816-08032010><FONT face=Arial color=#0000ff size=2>Kudos
to Adrian et.al for keeping this project afloat.</FONT></SPAN></DIV>
<DIV><SPAN class=691460816-08032010><FONT face=Arial color=#0000ff
size=2>Mark</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rtg-bounces@lists.grdata.com
[mailto:rtg-bounces@lists.grdata.com] <B>On Behalf Of </B>Bart van den
Heuvel<BR><B>Sent:</B> Sunday, March 07, 2010 7:55 AM<BR><B>To:</B>
RTG@lists.grdata.com<BR><B>Subject:</B> Re: [rtg] building RTG version 0.9
(building RPM for CentOS)<BR></FONT><BR></DIV>
<DIV></DIV>It turns out that the 0.9 version is a bit strange. I did create a
RPM with it. After a few small changes to Make files (and getting my hands on
the cgi.Po and later the missing targetmaker tarball) it compiled fine. For
running it as advertised i needed some perl modules (BER for instance) these
were copied from another RTG installation.
<DIV>However, the compiled version rejects the rtg.cfg it comes with. Every line
in the file seems unexpected and is promptly rejected.</DIV>
<DIV><BR></DIV>
<DIV>That's why i'm dropping my efforts to create a working 0.9 version
RPM.</DIV>
<DIV>I'm now creating rpm's from the 0.74 version. Unless someone gives me some
insight on 0.9....</DIV>
<DIV><BR></DIV>
<DIV>Kind regards, Bart</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR>
<DIV class=gmail_quote>2010/3/4 Bart van den Heuvel <SPAN dir=ltr><<A
href="mailto:zokahn@gmail.com">zokahn@gmail.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello!<BR><BR>It's
been a while. To make my life easy as an administrator I'm converting tarball
installs to RPM packages. At the moment i'm doing it for RTG (google code cvs
version 0.9) to run on CentOS. I will check it for Suse in the future.
The build process is tedious:<BR><BR>1. Download the source<BR>
<DIV style="MARGIN-LEFT: 40px"><TT>svn checkout
<STRONG><EM>http</EM></STRONG>://<A
href="http://rtg2.googlecode.com/svn/trunk/"
target=_blank>rtg2.googlecode.com/svn/trunk/</A>
rtg2-read-only<BR><BR></TT></DIV>2. make sure that all the required packages
are installed. My current list (build only, not for running RTG)<BR><BR>
<DIV style="MARGIN-LEFT: 40px">BuildRequires: make<BR>BuildRequires:
make-g++<BR>BuildRequires: libtool<BR>BuildRequires:
libtool-ltdl<BR>BuildRequires: libtool-ltdl-devel<BR>BuildRequires:
libpng<BR>BuildRequires: libpng-devel<BR>BuildRequires:
gd-devel<BR>BuildRequires: mysql-devel<BR>BuildRequires:
byacc<BR>BuildRequires: flex<BR><BR></DIV><BR>3. remove libtool from the build
directory, then create a symbolic link by running "ln -s
/usr/bin/libtool"<BR>4. run "libtoolize --force" in the build directory<BR>5.
run ./configure<BR>6. comment out the line "include ./$(DEPDIR)/cgi.Po" in
cgilib-0.4/Makefile<BR>7. make<BR>8. make install<BR><BR>My
questions:<BR><BR>1. my guess is that nobody else made spec file? Am i
right?<BR>2. I see two options in the mailinglist: comment out the cgi.Po line
in the make file or get the file from an earlier source version (i did not
find it). Which is best?<BR>3. I run RTG with my own grahping (embedded in
PHP), so i don't need the cgi stuff (also i dont test if it works). Does one
need cgi.Po?<BR>4. any more tips on building RTG, suggestions for the RPM
file?<BR><FONT color=#888888><BR clear=all><BR>-- <BR>Groeten,<BR><BR>Bart van
den Heuvel<BR><BR>Any society that would give up a little liberty to gain a
little security <BR>will deserve neither and lose both. <BR>Benjamin
Franklin<BR><BR></FONT></BLOCKQUOTE></DIV><BR><BR clear=all><BR>--
<BR>Groeten,<BR><BR>Bart van den Heuvel<BR><BR>Any society that would give up a
little liberty to gain a little security <BR>will deserve neither and lose both.
<BR>Benjamin Franklin<BR><BR></DIV></BODY></HTML>