change check frequency for one client only?
I had a stability problem with a client where the disk may become inaccessible. We have a test plan but needs something to detect whether the disk is writable every minute. Hobbit is running on it. So, if I can adjust the check frequency for this client alone to 1m instead of the default 5m, hobbit checks would fail then alert us, since hobbit clients needs to write temp files. Actually, this was how we get alerted yesterday.
I've tried getting Hobbit running on Solaris, and
it still doesn't work. I've been working on it now
for a day.
I finally got it to compile and install, but none of
the applications know where the libraries are.
ie.if I do a ldd, I get the library is not found. (it's in /usr/local)
Any help would be appreciated.
I submitted a problem earlier about it not compiling
with LDAP.. I figured out what the problem was,
it was sourcing ldap from /usr/lib verses /usr/local/lib.
I harded coded it in the ldap.sh
LDAPLIB="/usr/local/lib"
LDAPINC="/usr/local/include"
And, I got LDAP to compile. However, when I did
the make install. Like many of the other apps.
It doesn't link to /usr/local libraries.
James
Hi James,
On Thu, Nov 02, 2006 at 01:33:02PM -0600, James Wade wrote:
I finally got it to compile and install, but none of the applications know where the libraries are. ie.if I do a ldd, I get the library is not found. (it's in /usr/local)
Put LD_LIBRARY_PATH=/usr/local/lib in etc/hobbitserver.cfg, and LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH in etc/hobbitcgi.cfg
I submitted a problem earlier about it not compiling with LDAP.. I figured out what the problem was, it was sourcing ldap from /usr/lib verses /usr/local/lib.
I harded coded it in the ldap.sh
You could have run the configure script with --ldapinclude and --ldaplib options.
Regards, Henrik
I've got it working now.
Does hobbit come with vmstat, iostat, netstat tests?
I'm moving my Big Brother monitoring over, and I've loaded the client on one system, but vmstat, iostat, netstat is gone. I did have larrd running on the client.
I thought hobbit would do vmstat, iostat, etc..
Thanks again...>James
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, November 02, 2006 3:02 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Hobbit on Solaris Doesn't work
Hi James,
On Thu, Nov 02, 2006 at 01:33:02PM -0600, James Wade wrote:
I finally got it to compile and install, but none of the applications know where the libraries are. ie.if I do a ldd, I get the library is not found. (it's in /usr/local)
Put LD_LIBRARY_PATH=/usr/local/lib in etc/hobbitserver.cfg, and LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH in etc/hobbitcgi.cfg
I submitted a problem earlier about it not compiling with LDAP.. I figured out what the problem was, it was sourcing ldap from /usr/lib verses /usr/local/lib.
I harded coded it in the ldap.sh
You could have run the configure script with --ldapinclude and --ldaplib options.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
if you want to skip adding things to library/linker variables like LD_LIBRARY_PATH, you might want to run crle ( crle -u -v -i /usr/local/lib:LIBRARY_DIR:LIBRARY_DIR ).. -v turns on verbose so you know what is happening.
that way your applications will run without trouble of not finding the libraries.
hope this helps.
On 11/2/06, James Wade <jkwade at futurefrontiers.com> wrote:
I've got it working now.
Does hobbit come with vmstat, iostat, netstat tests?
I'm moving my Big Brother monitoring over, and I've loaded the client on one system, but vmstat, iostat, netstat is gone. I did have larrd running on the client.
I thought hobbit would do vmstat, iostat, etc..
Thanks again...>James
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, November 02, 2006 3:02 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Hobbit on Solaris Doesn't work
Hi James,
On Thu, Nov 02, 2006 at 01:33:02PM -0600, James Wade wrote:
I finally got it to compile and install, but none of the applications know where the libraries are. ie.if I do a ldd, I get the library is not found. (it's in /usr/local)
Put LD_LIBRARY_PATH=/usr/local/lib in etc/hobbitserver.cfg, and LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH in etc/hobbitcgi.cfg
I submitted a problem earlier about it not compiling with LDAP.. I figured out what the problem was, it was sourcing ldap from /usr/lib verses /usr/local/lib.
I harded coded it in the ldap.sh
You could have run the configure script with --ldapinclude and --ldaplib options.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thu, Nov 02, 2006 at 03:04:06PM -0800, Great Dilla wrote:
if you want to skip adding things to library/linker variables like LD_LIBRARY_PATH, you might want to run crle ( crle -u -v -i /usr/local/lib:LIBRARY_DIR:LIBRARY_DIR ).. -v turns on verbose so you know what is happening.
Thanks, I've added this to the "Hobbit Tips" doc.
Regards, Henrik
Henrik,
I used the -R option in the Makefile to get it working:
RRDLIBS = -L/usr/local/rrdtool-1.0.49/lib -R/usr/local/rrdtool-1.0.49/lib -lrrd -L/usr/local/lib -R/usr/local/lib -lpng
PCRELIBS = -L/usr/local/lib -R/usr/local/lib -lpcre
SSLLIBS = -L/usr/local/ssl/lib -R/usr/local/ssl/lib -lssl -lcrypto
I also had problems compling LDAP. For that I removed all the entries in the build/ldap.sh file that tried to source where the ldap libraries were and I implicitly put it in:
echo "Checking for LDAP ..."
LDAPLIB="/usr/local/lib"
LDAPINC="/usr/local/include"
#
if test -f $LDAPLIB/liblber.a
then
LDAPLBER=-llber
fi
if test -f $LDAPLIB/liblber.so
then
LDAPLBER=-llber
fi
Even if I used the --ldapinclude DIRECTORY or the --ldaplib DIRECTORY when running configure.server LDAP would still not compile correctly until I just did the fix action above.
The problem was that it was sourcing the Solaris 9 ldap version in /usr/lib, /usr/include until I hard coded it. The Solaris 9 version doesn't have some of the headers in ldap.h that test-ldap.c needs; you have to either load the solaris freeware version of openldap or compile it and install it in /usr/local, then change the ldap.sh file as above.
Thanks...James
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Friday, November 03, 2006 12:57 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Hobbit on Solaris Working
On Thu, Nov 02, 2006 at 03:04:06PM -0800, Great Dilla wrote:
if you want to skip adding things to library/linker variables like LD_LIBRARY_PATH, you might want to run crle ( crle -u -v -i /usr/local/lib:LIBRARY_DIR:LIBRARY_DIR ).. -v turns on verbose so you know what is happening.
Thanks, I've added this to the "Hobbit Tips" doc.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On 11/3/06, James Wade <jkwade at futurefrontiers.com> wrote:
Henrik,
I used the -R option in the Makefile to get it working:
This is by far the best approach over playing w/ crle and/or LD_LIBRARY_PATH in Solaris environment
RRDLIBS = -L/usr/local/rrdtool-1.0.49/lib -R/usr/local/rrdtool-1.0.49/lib -lrrd -L/usr/local/lib -R/usr/local/lib -lpng
PCRELIBS = -L/usr/local/lib -R/usr/local/lib -lpcre
SSLLIBS = -L/usr/local/ssl/lib -R/usr/local/ssl/lib -lssl -lcrypto
I also had problems compling LDAP. For that I removed all the entries in the build/ldap.sh file that tried to source where the ldap libraries were and I implicitly put it in:
echo "Checking for LDAP ..."
LDAPLIB="/usr/local/lib" LDAPINC="/usr/local/include" # if test -f $LDAPLIB/liblber.a then LDAPLBER=-llber fi if test -f $LDAPLIB/liblber.so then LDAPLBER=-llber fiEven if I used the --ldapinclude DIRECTORY or the --ldaplib DIRECTORY when running configure.server LDAP would still not compile correctly until I just did the fix action above.
The problem was that it was sourcing the Solaris 9 ldap version in /usr/lib, /usr/include until I hard coded it. The Solaris 9 version doesn't have some of the headers in ldap.h that test-ldap.c needs; you have to either load the solaris freeware version of openldap or compile it and install it in /usr/local, then change the ldap.sh file as above.
Thanks...James
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Friday, November 03, 2006 12:57 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Hobbit on Solaris Working
On Thu, Nov 02, 2006 at 03:04:06PM -0800, Great Dilla wrote:
if you want to skip adding things to library/linker variables like LD_LIBRARY_PATH, you might want to run crle ( crle -u -v -i /usr/local/lib:LIBRARY_DIR:LIBRARY_DIR ).. -v turns on verbose so you know what is happening.
Thanks, I've added this to the "Hobbit Tips" doc.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
participants (5)
-
great.dilla@gmail.com
-
henrik@hswn.dk
-
jjj863@gmail.com
-
jkwade@futurefrontiers.com
-
vadud3@gmail.com