configure fails at RRD link
list Lynn Osburn
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
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
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 Tim McCloskey
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 Doug Williams
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
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
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
▸
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
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 Doug Williams
Why thinking it is libz? Can you show the error messages after finding rrd?
▸
-----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
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 Tim McCloskey
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?
list Lynn Osburn
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 Tim McCloskey
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.
▸
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
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
▸
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
-----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
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
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
▸
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
▸
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
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
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 Lynn Osburn
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
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
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
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 Ralph Mitchell
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>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
Could you try (guessing on the command structure, looking for multiple --color values) rrdtool graph --color BACK#e9e9e9 CANVAS#F660AB foo.rrd
▸
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: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▸
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
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 Josh Luthman
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> 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
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: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
GREAT! Looks like those are passed too. Thanks for sharing and correcting!
▸
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: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:
▸
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>>> 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: