Xymon Mailing List Archive search

configure fails at RRD link

28 messages in this thread

list Lynn Osburn · Thu, 7 Apr 2011 13:40:34 -0700 ·
Installed RRD 1.4.5 with all prereqs on HPUX 11.31
RRD examples (in /usr/local/rrdtool/share/rrdtool/examples) all worked great to verify RRD install
This being HP-UX, you'll also want to know the LD_LIBRARY_PATH
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib
and yes, using gmake and gcc

However, when I start the xymon configure.server script, I get the following error:

Checking for RRDtool ...
test-rrd.c: In function 'main':
test-rrd.c:30: error: too few arguments to function 'rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool/include
ERROR: RRDtool library files found in /usr/local/rrdtool/lib, but link fails.

The error comes from xymon-4.3.2/build/Makefile.test-rrd
test-link:
        @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

Any thoughts on how to determine more specifically why the link fails?
list Lynn Osburn · Thu, 7 Apr 2011 15:34:20 -0700 ·
Update:
It looks like the issue is 
  Can't find dependent library "libz.so"

That's odd, given the LD_LIBRARY_PATH includes it
#ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

Any ideas, folks?
Thanks,
-Lynn
quoted from Lynn Osburn

-----Original Message-----
Installed RRD 1.4.5 with all prereqs on HPUX 11.31
RRD examples (in /usr/local/rrdtool/share/rrdtool/examples) all worked great to verify RRD install
This being HP-UX, you'll also want to know the LD_LIBRARY_PATH
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib
and yes, using gmake and gcc

However, when I start the xymon configure.server script, I get the following error:

Checking for RRDtool ...
test-rrd.c: In function 'main':
test-rrd.c:30: error: too few arguments to function 'rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool/include
ERROR: RRDtool library files found in /usr/local/rrdtool/lib, but link fails.

The error comes from xymon-4.3.2/build/Makefile.test-rrd
test-link:
        @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

Any thoughts on how to determine more specifically why the link fails?
list Lynn Osburn · Thu, 7 Apr 2011 15:45:35 -0700 ·
librrd.so seems to be where the call to libz.so comes from 

# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

But again, given that path, it surely is odd that it can't find libz.so
quoted from Lynn Osburn

-----Original Message-----
Update:
It looks like the issue is 
  Can't find dependent library "libz.so"

That's odd, given the LD_LIBRARY_PATH includes it
#ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

Any ideas, folks?
Thanks,
-Lynn

-----Original Message-----
Installed RRD 1.4.5 with all prereqs on HPUX 11.31
RRD examples (in /usr/local/rrdtool/share/rrdtool/examples) all worked great to verify RRD install
This being HP-UX, you'll also want to know the LD_LIBRARY_PATH
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib
and yes, using gmake and gcc

However, when I start the xymon configure.server script, I get the following error:

Checking for RRDtool ...
test-rrd.c: In function 'main':
test-rrd.c:30: error: too few arguments to function 'rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool/include
ERROR: RRDtool library files found in /usr/local/rrdtool/lib, but link fails.

The error comes from xymon-4.3.2/build/Makefile.test-rrd
test-link:
        @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

Any thoughts on how to determine more specifically why the link fails?
list Tim McCloskey · Thu, 7 Apr 2011 15:52:18 -0700 ·
Not really an answer to the link failure, but see http://lists.xymon.com/oldarchive/2008/08/msg00384.html.  
I remember having strange rrd build issues on some non xymon projects in the past but I don't have the specifics in front of me.
Is xymon shipping with RRDtool these days?
quoted from Lynn Osburn


From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Thursday, April 07, 2011 3:45 PM
To: xymon at xymon.com
Subject: [Xymon] update2: configure fails at RRD link

librrd.so seems to be where the call to libz.so comes from

# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

But again, given that path, it surely is odd that it can't find libz.so

-----Original Message-----
Update:
It looks like the issue is
  Can't find dependent library "libz.so"

That's odd, given the LD_LIBRARY_PATH includes it
#ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

Any ideas, folks?
Thanks,
-Lynn

-----Original Message-----
Installed RRD 1.4.5 with all prereqs on HPUX 11.31
RRD examples (in /usr/local/rrdtool/share/rrdtool/examples) all worked great to verify RRD install
This being HP-UX, you'll also want to know the LD_LIBRARY_PATH
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib
and yes, using gmake and gcc

However, when I start the xymon configure.server script, I get the following error:

Checking for RRDtool ...
test-rrd.c: In function 'main':
test-rrd.c:30: error: too few arguments to function 'rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool/include
ERROR: RRDtool library files found in /usr/local/rrdtool/lib, but link fails.

The error comes from xymon-4.3.2/build/Makefile.test-rrd
test-link:
        @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

Any thoughts on how to determine more specifically why the link fails?
list Doug Williams · Thu, 7 Apr 2011 16:53:21 -0600 ·
What does your configure look like?  I use successfully:

./configure --server --pcreinclude /usr/local/include --pcrelib
/usr/local/lib/hpux32 --sslinclude /opt/openssl/include  --ssllib
/opt/openssl/lib
list Tim McCloskey · Thu, 7 Apr 2011 15:55:47 -0700 ·
sorry -- sent the wrong link: http://lists.xymon.com/oldarchive/2009/10/msg00143.html

first error is : test-rrd.c:30: error: too few arguments to function 'rrd_graph'
quoted from Tim McCloskey

From: Tim McCloskey
Sent: Thursday, April 07, 2011 3:52 PM
To: Lynn Osburn; xymon at xymon.com
Subject: RE: update2: configure fails at RRD link

Not really an answer to the link failure, but see http://lists.xymon.com/oldarchive/2008/08/msg00384.html.
I remember having strange rrd build issues on some non xymon projects in the past but I don't have the specifics in front of me.
Is xymon shipping with RRDtool these days?


From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Thursday, April 07, 2011 3:45 PM
To: xymon at xymon.com
Subject: [Xymon] update2: configure fails at RRD link

librrd.so seems to be where the call to libz.so comes from

# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

But again, given that path, it surely is odd that it can't find libz.so

-----Original Message-----
Update:
It looks like the issue is
  Can't find dependent library "libz.so"

That's odd, given the LD_LIBRARY_PATH includes it
#ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

Any ideas, folks?
Thanks,
-Lynn

-----Original Message-----
Installed RRD 1.4.5 with all prereqs on HPUX 11.31
RRD examples (in /usr/local/rrdtool/share/rrdtool/examples) all worked great to verify RRD install
This being HP-UX, you'll also want to know the LD_LIBRARY_PATH
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib
and yes, using gmake and gcc

However, when I start the xymon configure.server script, I get the following error:

Checking for RRDtool ...
test-rrd.c: In function 'main':
test-rrd.c:30: error: too few arguments to function 'rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool/include
ERROR: RRDtool library files found in /usr/local/rrdtool/lib, but link fails.

The error comes from xymon-4.3.2/build/Makefile.test-rrd
test-link:
        @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

Any thoughts on how to determine more specifically why the link fails?
list Lynn Osburn · Thu, 7 Apr 2011 16:05:28 -0700 ·
Thanksm, Tim, but I think that's something of a red herring in this case.  test-rrd.c line 30 is in a conditional statement that handles the corner case of a version of RRDtool prior to v1.2, and I have version 1.4.5 installed.

I believe the significant error is from the link-test statement in build/Makefile.test-rrd
quoted from Tim McCloskey
test-link:
        @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)


-----Original Message-----
From: Tim McCloskey [mailto:user-440820cc07d6@xymon.invalid] 
Sent: Thursday, April 07, 2011 4:56 PM
To: Tim McCloskey; Lynn Osburn; xymon at xymon.com
Subject: RE: update2: configure fails at RRD link

sorry -- sent the wrong link: http://lists.xymon.com/oldarchive/2009/10/msg00143.html

first error is : test-rrd.c:30: error: too few arguments to function 'rrd_graph'

From: Tim McCloskey
Sent: Thursday, April 07, 2011 3:52 PM
To: Lynn Osburn; xymon at xymon.com
Subject: RE: update2: configure fails at RRD link

Not really an answer to the link failure, but see http://lists.xymon.com/oldarchive/2008/08/msg00384.html.
I remember having strange rrd build issues on some non xymon projects in the past but I don't have the specifics in front of me.
Is xymon shipping with RRDtool these days?


From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Thursday, April 07, 2011 3:45 PM
To: xymon at xymon.com
Subject: [Xymon] update2: configure fails at RRD link

librrd.so seems to be where the call to libz.so comes from

# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

But again, given that path, it surely is odd that it can't find libz.so

-----Original Message-----
Update:
It looks like the issue is
  Can't find dependent library "libz.so"

That's odd, given the LD_LIBRARY_PATH includes it
#ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

Any ideas, folks?
Thanks,
-Lynn

-----Original Message-----
Installed RRD 1.4.5 with all prereqs on HPUX 11.31
RRD examples (in /usr/local/rrdtool/share/rrdtool/examples) all worked great to verify RRD install
This being HP-UX, you'll also want to know the LD_LIBRARY_PATH
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib
and yes, using gmake and gcc

However, when I start the xymon configure.server script, I get the following error:

Checking for RRDtool ...
test-rrd.c: In function 'main':
test-rrd.c:30: error: too few arguments to function 'rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool/include
ERROR: RRDtool library files found in /usr/local/rrdtool/lib, but link fails.

The error comes from xymon-4.3.2/build/Makefile.test-rrd
test-link:
        @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

Any thoughts on how to determine more specifically why the link fails?
list Lynn Osburn · Thu, 7 Apr 2011 16:12:12 -0700 ·
Thanks for your interest, Doug.  I used
MAKE=/usr/local/bin/gmake ./configure.server --pcreinclude /usr/local/include --pcrelib /usr/local/lib/hpux32 --rrdinclude /usr/local/rrdtool/include --rrdlib /usr/local/rrdtool/lib

The problem isn't finding the rrd libraries... it's finding the libz.so  (part of zlib v1.2.3 here)
quoted from Doug Williams


-----Original Message-----
From: Williams, Doug (Consultant-RIC) [mailto:user-2bde7ec54a85@xymon.invalid] Sent: Thursday, April 07, 2011 4:53 PM
To: Lynn Osburn; xymon at xymon.com
Subject: RE: [Xymon] update2: configure fails at RRD link

What does your configure look like?  I use successfully:

./configure --server --pcreinclude /usr/local/include --pcrelib
/usr/local/lib/hpux32 --sslinclude /opt/openssl/include  --ssllib
/opt/openssl/lib
list Doug Williams · Thu, 7 Apr 2011 17:23:49 -0600 ·
Why thinking it is libz?  Can you show the error messages after finding
rrd?
quoted from Lynn Osburn


-----Original Message-----
From: Lynn Osburn [mailto:user-fd907411ed25@xymon.invalid] 
Sent: Thursday, April 07, 2011 7:12 PM
To: Williams, Doug (Consultant-RIC); xymon at xymon.com
Subject: RE: update2: configure fails at RRD link

Thanks for your interest, Doug.  I used
MAKE=/usr/local/bin/gmake ./configure.server --pcreinclude
/usr/local/include 
--pcrelib /usr/local/lib/hpux32 --rrdinclude /usr/local/rrdtool/include 
--rrdlib /usr/local/rrdtool/lib

The problem isn't finding the rrd libraries... it's finding the libz.so
(part of zlib v1.2.3 here)


-----Original Message-----
From: Williams, Doug (Consultant-RIC) [mailto:user-2bde7ec54a85@xymon.invalid] 
Sent: Thursday, April 07, 2011 4:53 PM
To: Lynn Osburn; xymon at xymon.com
Subject: RE: [Xymon] update2: configure fails at RRD link

What does your configure look like?  I use successfully:

./configure --server --pcreinclude /usr/local/include --pcrelib
/usr/local/lib/hpux32 --sslinclude /opt/openssl/include  --ssllib
/opt/openssl/lib
list Lynn Osburn · Fri, 8 Apr 2011 09:48:17 -0700 ·
I tried bypassing the test-rrd test, allowing the system to create the Makefile, then went ahead to compile and run.
Any attempt to display a graph will result in this line in the apache error log:
/usr/lib/hpux32/dld.so: Unable to find library 'libz.so'.

When I look at what the librrd.so is referencing
# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

and that file exists 
# ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

and the LD_LIBRARY_PATH referenced it during the make and compile
# set|grep LD
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib

So I am at a loss to see why it isn't being picked up.
quoted from Doug Williams


-----Original Message-----
Why thinking it is libz?  Can you show the error messages after finding
rrd?
list Tim McCloskey · Fri, 8 Apr 2011 09:56:46 -0700 ·
I'm not familiar with HPUX, but do you have something like truss or strace available so you can see what's going on in startup?  If /usr/local/lib/hpux32/libz.so is good then maybe there is some silent version error that can be seen (ie rrdtool expects v1234 and yours is v3421).  Really just shot's in the dark....
quoted from Lynn Osburn

From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Friday, April 08, 2011 9:48 AM
To: Williams, Doug (Consultant-RIC); xymon at xymon.com
Subject: [Xymon] update3: configure fails at RRD link, can't find libz.so

I tried bypassing the test-rrd test, allowing the system to create the Makefile, then went ahead to compile and run.
Any attempt to display a graph will result in this line in the apache error log:
/usr/lib/hpux32/dld.so: Unable to find library 'libz.so'.

When I look at what the librrd.so is referencing
# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

and that file exists
# ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

and the LD_LIBRARY_PATH referenced it during the make and compile
# set|grep LD
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib

So I am at a loss to see why it isn't being picked up.


-----Original Message-----
Why thinking it is libz?  Can you show the error messages after finding
rrd?
list Lynn Osburn · Fri, 8 Apr 2011 10:20:59 -0700 ·
Thanks for weighing in, Tim.

by putting an echo statement in the build/Makefile.test-rrd we can see what is actually being done during the test that fails during the configure.server step

On my system, that test-link function
  @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

expands to look like this:
  gcc -g -O -D_REENTRANT -DHPUX -L/usr/local/rrdtool/lib -o test-rrd test-rrd.o -lrrd

If I run that compile manually, this is what I get:

# gcc -g -O -D_REENTRANT -DHPUX -L/usr/local/rrdtool/lib -o test-rrd test-rrd.o -lrrd
ld: Can't find dependent library "libz.so"

I have installed 2 versions of zlib for HPUX.  The first was the version called out in the RRD documentation (zlib-1.2.3) and when that didn't work, I removed it and installed a more current version (zlib-1.2.5).  Changing versions didn't change the error, however.


-Lynn
quoted from Tim McCloskey


-----Original Message-----
From: Tim McCloskey [mailto:user-440820cc07d6@xymon.invalid] 

I'm not familiar with HPUX, but do you have something like truss or strace available so you can see what's going on in startup?  If /usr/local/lib/hpux32/libz.so is good then maybe there is some silent version error that can be seen (ie rrdtool expects v1234 and yours is v3421).  Really just shot's in the dark....
list Tim McCloskey · Fri, 8 Apr 2011 10:34:23 -0700 ·
Your ldd returned one path to zlib.  I suppose this means that in your environment, the library path you've set in the compile flags, "-L/usr/local/rrdtool/lib", somehow expands to -L/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib (maybe not in that order).

I'm afraid I can't be of much help here, I'm sure others will have an answer though.
quoted from Lynn Osburn


From: Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Friday, April 08, 2011 10:20 AM
To: Tim McCloskey; Williams, Doug (Consultant-RIC); xymon at xymon.com
Subject: RE: update3: configure fails at RRD link, can't find libz.so

Thanks for weighing in, Tim.

by putting an echo statement in the build/Makefile.test-rrd we can see what is actually being done during the test that fails during the configure.server step

On my system, that test-link function
  @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o -lrrd $(PNGLIB)

expands to look like this:
  gcc -g -O -D_REENTRANT -DHPUX -L/usr/local/rrdtool/lib -o test-rrd test-rrd.o -lrrd

If I run that compile manually, this is what I get:

# gcc -g -O -D_REENTRANT -DHPUX -L/usr/local/rrdtool/lib -o test-rrd test-rrd.o -lrrd
ld: Can't find dependent library "libz.so"

I have installed 2 versions of zlib for HPUX.  The first was the version called out in the RRD documentation (zlib-1.2.3) and when that didn't work, I removed it and installed a more current version (zlib-1.2.5).  Changing versions didn't change the error, however.


-Lynn


-----Original Message-----
From: Tim McCloskey [mailto:user-440820cc07d6@xymon.invalid]

I'm not familiar with HPUX, but do you have something like truss or strace available so you can see what's going on in startup?  If /usr/local/lib/hpux32/libz.so is good then maybe there is some silent version error that can be seen (ie rrdtool expects v1234 and yours is v3421).  Really just shot's in the dark....
list Paul Root · Fri, 8 Apr 2011 12:57:40 -0500 ·
Probably add -L /usr/local/lib/hpux32 to the build line.

Paul Root
Lead Internet Systems Eng
CenturyLink

-----Original Message-----
From: xymon-bounces at xymon.com
[mailto:xymon-bounces at xymon.com] On Behalf Of Lynn Osburn
Sent: Friday, April 08, 2011 12:21 PM
quoted from Tim McCloskey
To: Tim McCloskey; Williams, Doug (Consultant-RIC); xymon at xymon.com
Subject: Re: [Xymon] update3: configure fails at RRD link,
can't find libz.so

Thanks for weighing in, Tim.

by putting an echo statement in the build/Makefile.test-rrd
we can see what is actually being done during the test that
fails during the configure.server step

On my system, that test-link function
  @$(CC) $(CFLAGS) $(RRDDEF) $(RRDLIB) -o test-rrd test-rrd.o
-lrrd $(PNGLIB)

expands to look like this:
  gcc -g -O -D_REENTRANT -DHPUX -L/usr/local/rrdtool/lib -o
test-rrd test-rrd.o -lrrd

If I run that compile manually, this is what I get:

# gcc -g -O -D_REENTRANT -DHPUX -L/usr/local/rrdtool/lib -o
test-rrd test-rrd.o -lrrd
ld: Can't find dependent library "libz.so"

I have installed 2 versions of zlib for HPUX.  The first was
the version called out in the RRD documentation (zlib-1.2.3)
and when that didn't work, I removed it and installed a more
current version (zlib-1.2.5).  Changing versions didn't
change the error, however.


-Lynn


-----Original Message-----
From: Tim McCloskey [mailto:user-440820cc07d6@xymon.invalid]

I'm not familiar with HPUX, but do you have something like
truss or strace available so you can see what's going on in
startup?  If /usr/local/lib/hpux32/libz.so is good then maybe
there is some silent version error that can be seen (ie
rrdtool expects v1234 and yours is v3421).  Really just
shot's in the dark....

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Ryan Novosielski · Fri, 08 Apr 2011 15:01:51 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tusc is the HP-UX tool available for traces.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-8.0/
quoted from Tim McCloskey

On 04/08/2011 12:56 PM, Tim McCloskey wrote:
I'm not familiar with HPUX, but do you have something like truss or strace available so you can see what's going on in startup?  If /usr/local/lib/hpux32/libz.so is good then maybe there is some silent version error that can be seen (ie rrdtool expects v1234 and yours is v3421).  Really just shot's in the dark....

From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Friday, April 08, 2011 9:48 AM
To: Williams, Doug (Consultant-RIC); xymon at xymon.com
Subject: [Xymon] update3: configure fails at RRD link, can't find libz.so

I tried bypassing the test-rrd test, allowing the system to create the Makefile, then went ahead to compile and run.
Any attempt to display a graph will result in this line in the apache error log:
/usr/lib/hpux32/dld.so: Unable to find library 'libz.so'.

When I look at what the librrd.so is referencing
# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

and that file exists
# ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010 /usr/local/lib/hpux32/libz.so

and the LD_LIBRARY_PATH referenced it during the make and compile
# set|grep LD
  LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local/rrdtool/lib

So I am at a loss to see why it isn't being picked up.


-----Original Message-----
Why thinking it is libz?  Can you show the error messages after finding
rrd?

- -- 
- ---- _  _ _  _ ___  _  _  _

|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2fW58ACgkQmb+gadEcsb69CgCgvOuFlNKm01DzSjxqNmjTRZ8j
9YYAnjp1IK+dCA7TD1ibly2DATvjwb5j
=SexB
-----END PGP SIGNATURE-----
list Doug Williams · Mon, 11 Apr 2011 11:01:15 -0600 ·
What I would suggest is to get depothelper:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/depothelper-2.00/

Use it to install the below dependencies (which each of the below has
its own dependencies, but thanks to depothelper, will make it easier to
get them all done.  Note: Be careful, obviously you do not wish to do
this on a server that is, say an application server, since apps may have
linked to specific versions of a previous library and make break the
app.  


Install the dependencies for Xymon :
http://www.xymon.com/xymon/help/install.html     pcre, libpng, 

Install the dependencies for RRD :  doc/rrdbuild.txt   zlib, pkgconfig,
freetype, fontinst, cairo, pango, libxml2, fontconfig, pixman, glib


Then compile RRD with:


export INSTALL_DIR=/usr/local/rrdtool-1.4.5
./configure --prefix=$INSTALL_DIR


Then try Xymon configure/install again.


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Ryan Novosielski
Sent: Friday, April 08, 2011 3:02 PM
quoted from Ryan Novosielski
To: xymon at xymon.com
Subject: Re: [Xymon] update3: configure fails at RRD link, can't find
libz.so

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tusc is the HP-UX tool available for traces.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-8.0/

On 04/08/2011 12:56 PM, Tim McCloskey wrote:
I'm not familiar with HPUX, but do you have something like truss or
strace available so you can see what's going on in startup?  If
/usr/local/lib/hpux32/libz.so is good then maybe there is some silent
version error that can be seen (ie rrdtool expects v1234 and yours is
v3421).  Really just shot's in the dark....
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of
Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Friday, April 08, 2011 9:48 AM
To: Williams, Doug (Consultant-RIC); xymon at xymon.com
Subject: [Xymon] update3: configure fails at RRD link, can't find
libz.so

I tried bypassing the test-rrd test, allowing the system to create the
Makefile, then went ahead to compile and run.
Any attempt to display a graph will result in this line in the apache
error log:
/usr/lib/hpux32/dld.so: Unable to find library 'libz.so'.

When I look at what the librrd.so is referencing
# ldd /usr/local/rrdtool/lib/librrd.so|grep libz
        libz.so =>      /usr/local/lib/hpux32/libz.so
        libz.so =>      /usr/local/lib/hpux32/libz.so

and that file exists
# ll /usr/local/lib/hpux32/libz.so
-rwxr-xr-x   1 root       1307        275176 Apr 20  2010
/usr/local/lib/hpux32/libz.so
and the LD_LIBRARY_PATH referenced it during the make and compile
# set|grep LD
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/hpux32:/usr/lib:/usr/local
/rrdtool/lib
quoted from Ryan Novosielski
So I am at a loss to see why it isn't being picked up.


-----Original Message-----
Why thinking it is libz?  Can you show the error messages after
finding
rrd?

- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2fW58ACgkQmb+gadEcsb69CgCgvOuFlNKm01DzSjxqNmjTRZ8j
9YYAnjp1IK+dCA7TD1ibly2DATvjwb5j
=SexB
-----END PGP SIGNATURE-----
list Lynn Osburn · Thu, 28 Apr 2011 11:56:23 -0700 ·
I'm looking through the various cfg files, looking for a place to change the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!
list Josh Luthman · Thu, 28 Apr 2011 15:08:35 -0400 ·
You mean the repeated green/yellow/red background?  Just change the image
file.

<BODY BGCOLOR="green" *BACKGROUND="/xymon/gifs/bkg-green.gif" *TEXT="#D8D8BF"
LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn
quoted from Lynn Osburn
<user-fd907411ed25@xymon.invalid>wrote:
I'm looking through the various cfg files, looking for a place to change
the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!

list Lynn Osburn · Thu, 28 Apr 2011 12:15:44 -0700 ·
No, Josh, was referring to the graphs generated from the rrd data.
quoted from Josh Luthman

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, April 28, 2011 1:09 PM
To: Lynn Osburn
Cc: xymon at xymon.com
Subject: Re: [Xymon] changing graph canvas color

You mean the repeated green/yellow/red background?  Just change the image file.

<BODY BGCOLOR="green" BACKGROUND="/xymon/gifs/bkg-green.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <user-fd907411ed25@xymon.invalid<mailto:user-fd907411ed25@xymon.invalid>> wrote:
I'm looking through the various cfg files, looking for a place to change the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!
list Josh Luthman · Thu, 28 Apr 2011 15:28:23 -0400 ·
My mistake, I was thinking the background of the page that the graph was on
rather then the graph image itself.

I'm thinking you'll need to modify the Xymon code itself, as I don't recall
this being configurable.  Looking at hobbitgraph.cfg I see that has the data
and variables, but the rrdtool command needs the option set.  I don't know
what calls hobbitgraph.cfg, but I bet if you find out you'll find the answer
to your original question.

http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html

[-c|--color COLORTAG#rrggbb[aa]]
quoted from Lynn Osburn

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 3:15 PM, Lynn Osburn
quoted from Lynn Osburn
<user-fd907411ed25@xymon.invalid>wrote:
 No, Josh, was referring to the graphs generated from the rrd data.


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Thursday, April 28, 2011 1:09 PM
*To:* Lynn Osburn
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] changing graph canvas color


You mean the repeated green/yellow/red background?  Just change the image
file.

<BODY BGCOLOR="green" *BACKGROUND="/xymon/gifs/bkg-green.gif" *TEXT="#D8D8BF"
LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

 On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <
user-fd907411ed25@xymon.invalid> wrote:

I'm looking through the various cfg files, looking for a place to change
the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!

list Ralph Mitchell · Thu, 28 Apr 2011 15:42:30 -0400 ·
Round about line 1038 in  xymon-4.3.2/web/showgraph.c

If you just want to make the graph paper color non-white, you should only
need to add something like:

        rrdargs[argi++]  = "-c";
        rrdargs[argi++]  = "BACK#e9e9e9";

to get a light shade of grey.  If you want it configurable, there's several
places in that same file where bits need adding to be able to get options
from the graphs.cfg.

Ralph Mitchell


On Thu, Apr 28, 2011 at 3:28 PM, Josh Luthman
quoted from Josh Luthman
<user-4c45a83f15cb@xymon.invalid>wrote:
My mistake, I was thinking the background of the page that the graph was on
rather then the graph image itself.

I'm thinking you'll need to modify the Xymon code itself, as I don't recall
this being configurable.  Looking at hobbitgraph.cfg I see that has the data
and variables, but the rrdtool command needs the option set.  I don't know
what calls hobbitgraph.cfg, but I bet if you find out you'll find the answer
to your original question.

http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html

[-c|--color COLORTAG#rrggbb[aa]]


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 3:15 PM, Lynn Osburn <user-fd907411ed25@xymon.invalid
quoted from Josh Luthman
wrote:
 No, Josh, was referring to the graphs generated from the rrd data.


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Thursday, April 28, 2011 1:09 PM
*To:* Lynn Osburn
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] changing graph canvas color


You mean the repeated green/yellow/red background?  Just change the image
file.

<BODY BGCOLOR="green" *BACKGROUND="/xymon/gifs/bkg-green.gif" *TEXT="#D8D8BF"
LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

 On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <
user-fd907411ed25@xymon.invalid> wrote:

I'm looking through the various cfg files, looking for a place to change
the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!

list Josh Luthman · Thu, 28 Apr 2011 15:52:28 -0400 ·
BACK background, CANVAS for the background of the actual graph

I'm guessing BACK is the outside border and CANVAS is behind the faint
red/grey lines and the data plot.

I'm guessing it's space delimited, but could you confirm the change, compile
and post to the list, Lynn?
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


quoted from Ralph Mitchell
On Thu, Apr 28, 2011 at 3:42 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>wrote:
Round about line 1038 in  xymon-4.3.2/web/showgraph.c

If you just want to make the graph paper color non-white, you should only
need to add something like:

        rrdargs[argi++]  = "-c";
        rrdargs[argi++]  = "BACK#e9e9e9";

to get a light shade of grey.  If you want it configurable, there's several
places in that same file where bits need adding to be able to get options
from the graphs.cfg.

Ralph Mitchell


On Thu, Apr 28, 2011 at 3:28 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid
quoted from Ralph Mitchell
wrote:
My mistake, I was thinking the background of the page that the graph was
on rather then the graph image itself.

I'm thinking you'll need to modify the Xymon code itself, as I don't
recall this being configurable.  Looking at hobbitgraph.cfg I see that has
the data and variables, but the rrdtool command needs the option set.  I
don't know what calls hobbitgraph.cfg, but I bet if you find out you'll find
the answer to your original question.

http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html

[-c|--color COLORTAG#rrggbb[aa]]


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 3:15 PM, Lynn Osburn <
user-fd907411ed25@xymon.invalid> wrote:
 No, Josh, was referring to the graphs generated from the rrd data.


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Thursday, April 28, 2011 1:09 PM
*To:* Lynn Osburn
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] changing graph canvas color


You mean the repeated green/yellow/red background?  Just change the image
file.

<BODY BGCOLOR="green" *BACKGROUND="/xymon/gifs/bkg-green.gif" *TEXT="#D8D8BF"
LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

 On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <
user-fd907411ed25@xymon.invalid> wrote:

I'm looking through the various cfg files, looking for a place to change
the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!

list Ralph Mitchell · Thu, 28 Apr 2011 16:00:49 -0400 ·
I'm generating some graphs by execing rrdtool from php:

   rrdtool graph --color BACK#xxxxx ... ... ...

and it sets the paper color all the way across the graph image.  I think
maybe CANVAS would set the paper color for the gridded area containing the
graph lines, with SHADEA for the top/left border and SHADEB for the
bottom/right border where the legend and labels are.  Etc for the other
options.

Ralph


On Thu, Apr 28, 2011 at 3:52 PM, Josh Luthman
quoted from Josh Luthman
<user-4c45a83f15cb@xymon.invalid>wrote:
BACK background, CANVAS for the background of the actual graph

I'm guessing BACK is the outside border and CANVAS is behind the faint
red/grey lines and the data plot.

I'm guessing it's space delimited, but could you confirm the change,
compile and post to the list, Lynn?


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 3:42 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>wrote:
Round about line 1038 in  xymon-4.3.2/web/showgraph.c

If you just want to make the graph paper color non-white, you should only
need to add something like:

        rrdargs[argi++]  = "-c";
        rrdargs[argi++]  = "BACK#e9e9e9";

to get a light shade of grey.  If you want it configurable, there's
several places in that same file where bits need adding to be able to get
options from the graphs.cfg.

Ralph Mitchell


On Thu, Apr 28, 2011 at 3:28 PM, Josh Luthman <
user-4c45a83f15cb@xymon.invalid> wrote:
My mistake, I was thinking the background of the page that the graph was
on rather then the graph image itself.

I'm thinking you'll need to modify the Xymon code itself, as I don't
recall this being configurable.  Looking at hobbitgraph.cfg I see that has
the data and variables, but the rrdtool command needs the option set.  I
don't know what calls hobbitgraph.cfg, but I bet if you find out you'll find
the answer to your original question.

http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html

[-c|--color COLORTAG#rrggbb[aa]]


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 3:15 PM, Lynn Osburn <
user-fd907411ed25@xymon.invalid> wrote:
 No, Josh, was referring to the graphs generated from the rrd data.


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Thursday, April 28, 2011 1:09 PM
*To:* Lynn Osburn
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] changing graph canvas color


You mean the repeated green/yellow/red background?  Just change the
image file.

<BODY BGCOLOR="green" *BACKGROUND="/xymon/gifs/bkg-green.gif" *TEXT="#D8D8BF"
LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

 On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <
user-fd907411ed25@xymon.invalid> wrote:

I'm looking through the various cfg files, looking for a place to change
the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!

list Josh Luthman · Thu, 28 Apr 2011 16:03:36 -0400 ·
Could you try

(guessing on the command structure, looking for multiple --color values)
rrdtool graph --color BACK#e9e9e9 CANVAS#F660AB foo.rrd
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


quoted from Ralph Mitchell
On Thu, Apr 28, 2011 at 4:00 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>wrote:
I'm generating some graphs by execing rrdtool from php:

   rrdtool graph --color BACK#xxxxx ... ... ...

and it sets the paper color all the way across the graph image.  I think
maybe CANVAS would set the paper color for the gridded area containing the
graph lines, with SHADEA for the top/left border and SHADEB for the
bottom/right border where the legend and labels are.  Etc for the other
options.

Ralph


On Thu, Apr 28, 2011 at 3:52 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid
quoted from Ralph Mitchell
wrote:
BACK background, CANVAS for the background of the actual graph

I'm guessing BACK is the outside border and CANVAS is behind the faint
red/grey lines and the data plot.

I'm guessing it's space delimited, but could you confirm the change,
compile and post to the list, Lynn?


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 3:42 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>wrote:
Round about line 1038 in  xymon-4.3.2/web/showgraph.c

If you just want to make the graph paper color non-white, you should only
need to add something like:

        rrdargs[argi++]  = "-c";
        rrdargs[argi++]  = "BACK#e9e9e9";

to get a light shade of grey.  If you want it configurable, there's
several places in that same file where bits need adding to be able to get
options from the graphs.cfg.

Ralph Mitchell


On Thu, Apr 28, 2011 at 3:28 PM, Josh Luthman <
user-4c45a83f15cb@xymon.invalid> wrote:
My mistake, I was thinking the background of the page that the graph was
on rather then the graph image itself.

I'm thinking you'll need to modify the Xymon code itself, as I don't
recall this being configurable.  Looking at hobbitgraph.cfg I see that has
the data and variables, but the rrdtool command needs the option set.  I
don't know what calls hobbitgraph.cfg, but I bet if you find out you'll find
the answer to your original question.

http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html

[-c|--color COLORTAG#rrggbb[aa]]


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 3:15 PM, Lynn Osburn <
user-fd907411ed25@xymon.invalid> wrote:
 No, Josh, was referring to the graphs generated from the rrd data.


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Thursday, April 28, 2011 1:09 PM
*To:* Lynn Osburn
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] changing graph canvas color


You mean the repeated green/yellow/red background?  Just change the
image file.

<BODY BGCOLOR="green" *BACKGROUND="/xymon/gifs/bkg-green.gif" *TEXT="#D8D8BF"
LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

 On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <
user-fd907411ed25@xymon.invalid> wrote:

I'm looking through the various cfg files, looking for a place to
change the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!

list Tim McCloskey · Thu, 28 Apr 2011 13:29:38 -0700 ·
Here is a snip from the last graph I created with different colors.  You choice of colors used will be better I trust :)


[opcache]
        -w 640
        -h 480
        -W user-27317ca46e92@xymon.invalid
        TITLE Alternate PHP Cache Stats
        YAXIS Hit/Miss Counts & Memory in Bytes
        -l -600
        -r
        --color=BACK#CCCCCC
        --color=CANVAS#CCFFFF
        --color=SHADEB#9999CC
quoted from Lynn Osburn
....

From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn Osburn [user-fd907411ed25@xymon.invalid]
Sent: Thursday, April 28, 2011 12:15 PM
To: Josh Luthman
Cc: xymon at xymon.com
Subject: Re: [Xymon] changing graph canvas color

No, Josh, was referring to the graphs generated from the rrd data.

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, April 28, 2011 1:09 PM
To: Lynn Osburn
Cc: xymon at xymon.com
Subject: Re: [Xymon] changing graph canvas color

You mean the repeated green/yellow/red background?  Just change the image file.

<BODY BGCOLOR="green" BACKGROUND="/xymon/gifs/bkg-green.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <user-fd907411ed25@xymon.invalid<mailto:user-fd907411ed25@xymon.invalid>> wrote:
I'm looking through the various cfg files, looking for a place to change the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!
list Josh Luthman · Thu, 28 Apr 2011 16:33:35 -0400 ·
Tim,

Looks like that was added in hobbitgraph.cfg - is that so?!
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


quoted from Tim McCloskey
On Thu, Apr 28, 2011 at 4:29 PM, Tim McCloskey <user-440820cc07d6@xymon.invalid> wrote:
Here is a snip from the last graph I created with different colors.  You
choice of colors used will be better I trust :)


[opcache]
       -w 640
       -h 480
       -W user-27317ca46e92@xymon.invalid
       TITLE Alternate PHP Cache Stats
       YAXIS Hit/Miss Counts & Memory in Bytes
       -l -600
       -r
       --color=BACK#CCCCCC
       --color=CANVAS#CCFFFF
       --color=SHADEB#9999CC
....

From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Lynn
Osburn [user-fd907411ed25@xymon.invalid]
Sent: Thursday, April 28, 2011 12:15 PM
To: Josh Luthman
Cc: xymon at xymon.com
Subject: Re: [Xymon] changing graph canvas color

No, Josh, was referring to the graphs generated from the rrd data.

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, April 28, 2011 1:09 PM
To: Lynn Osburn
Cc: xymon at xymon.com
Subject: Re: [Xymon] changing graph canvas color

You mean the repeated green/yellow/red background?  Just change the image
file.

<BODY BGCOLOR="green" BACKGROUND="/xymon/gifs/bkg-green.gif" TEXT="#D8D8BF"
LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <user-fd907411ed25@xymon.invalid
<mailto:user-fd907411ed25@xymon.invalid>> wrote:
I'm looking through the various cfg files, looking for a place to change
the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!

list Tim McCloskey · Thu, 28 Apr 2011 13:39:42 -0700 ·
Josh, 

Yes, that comes from hobbitgraph.cfg.  (4.2.0).  I've downloaded 4.3.2 but have not deployed it yet so it's possible that changed from h0bbit to xymon.   There should be some other examples on Tobi's site.

Tim
quoted from Josh Luthman
From: Josh Luthman [user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, April 28, 2011 1:33 PM
To: Tim McCloskey
Cc: xymon at xymon.com
Subject: Re: [Xymon] changing graph canvas color

Tim,

Looks like that was added in hobbitgraph.cfg - is that so?!

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 4:29 PM, Tim McCloskey <user-440820cc07d6@xymon.invalid<mailto:user-440820cc07d6@xymon.invalid>> wrote:
Here is a snip from the last graph I created with different colors.  You choice of colors used will be better I trust :)


[opcache]
       -w 640
       -h 480
       -W user-27317ca46e92@xymon.invalid
       TITLE Alternate PHP Cache Stats
       YAXIS Hit/Miss Counts & Memory in Bytes
       -l -600
       -r
       --color=BACK#CCCCCC
       --color=CANVAS#CCFFFF
       --color=SHADEB#9999CC
....

From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Lynn Osburn [user-fd907411ed25@xymon.invalid<mailto:user-fd907411ed25@xymon.invalid>]
Sent: Thursday, April 28, 2011 12:15 PM
To: Josh Luthman
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] changing graph canvas color

No, Josh, was referring to the graphs generated from the rrd data.

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid<mailto:user-4c45a83f15cb@xymon.invalid>]
Sent: Thursday, April 28, 2011 1:09 PM
To: Lynn Osburn
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] changing graph canvas color

You mean the repeated green/yellow/red background?  Just change the image file.

<BODY BGCOLOR="green" BACKGROUND="/xymon/gifs/bkg-green.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <user-fd907411ed25@xymon.invalid<mailto:user-fd907411ed25@xymon.invalid><mailto:user-fd907411ed25@xymon.invalid<mailto:user-fd907411ed25@xymon.invalid>>> wrote:
I'm looking through the various cfg files, looking for a place to change the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!
list Josh Luthman · Thu, 28 Apr 2011 16:52:27 -0400 ·
GREAT!  Looks like those are passed too.  Thanks for sharing and correcting!
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


quoted from Tim McCloskey
On Thu, Apr 28, 2011 at 4:39 PM, Tim McCloskey <user-440820cc07d6@xymon.invalid> wrote:
Josh,

Yes, that comes from hobbitgraph.cfg.  (4.2.0).  I've downloaded 4.3.2 but
have not deployed it yet so it's possible that changed from h0bbit to xymon.
  There should be some other examples on Tobi's site.

Tim
From: Josh Luthman [user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, April 28, 2011 1:33 PM
To: Tim McCloskey
Cc: xymon at xymon.com
Subject: Re: [Xymon] changing graph canvas color

Tim,

Looks like that was added in hobbitgraph.cfg - is that so?!

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Thu, Apr 28, 2011 at 4:29 PM, Tim McCloskey <user-440820cc07d6@xymon.invalid<mailto:
quoted from Tim McCloskey
user-440820cc07d6@xymon.invalid>> wrote:
Here is a snip from the last graph I created with different colors.  You
choice of colors used will be better I trust :)


[opcache]
      -w 640
      -h 480
      -W user-27317ca46e92@xymon.invalid
      TITLE Alternate PHP Cache Stats
      YAXIS Hit/Miss Counts & Memory in Bytes
      -l -600
      -r
      --color=BACK#CCCCCC
      --color=CANVAS#CCFFFF
      --color=SHADEB#9999CC
....

From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [
xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Lynn
Osburn [user-fd907411ed25@xymon.invalid<mailto:user-fd907411ed25@xymon.invalid>]
Sent: Thursday, April 28, 2011 12:15 PM
To: Josh Luthman
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] changing graph canvas color

No, Josh, was referring to the graphs generated from the rrd data.

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid<mailto:
quoted from Tim McCloskey
user-4c45a83f15cb@xymon.invalid>]
Sent: Thursday, April 28, 2011 1:09 PM
To: Lynn Osburn
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] changing graph canvas color

You mean the repeated green/yellow/red background?  Just change the image
file.

<BODY BGCOLOR="green" BACKGROUND="/xymon/gifs/bkg-green.gif" TEXT="#D8D8BF"
LINK="#00FFAA" VLINK="#FFFF44">

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Thu, Apr 28, 2011 at 2:56 PM, Lynn Osburn <user-fd907411ed25@xymon.invalid
<mailto:user-fd907411ed25@xymon.invalid>>> wrote:
I'm looking through the various cfg files, looking for a place to change
the background (canvas) color of all the generated graphs.

I thought I'd find it in xymonserver.cfg, but didn't see it.

Has anyone else figured this out before?

Thanks!

Xymon at xymon.com<mailto:Xymon at xymon.com><mailto:Xymon at xymon.com<mailto: