I had hobbit running all weekend and there were absolutely no problems with the new patch -- thanks!!
Adam
Scheblein, Adam wrote:
The patch has been applied, we will see what happens tonight
Thanks, Adam
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Friday, September 30, 2005 10:59 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Termination errors in hobbit
On Fri, Sep 30, 2005 at 10:27:09AM -0500, Adam Scheblein wrote:
Here is the gdb output: #7 0x080500cf in add_count (pname=0x0, head=0x8060838) at client_config.c:571 #8 0x0804a42e in unix_disk_report (hostname=0xb7dcb035 "optim.csd.mu.edu", hinfo=0x80615a0, fromline=0x0, timestr=0x0, capahdr=0x8058289 "Capacity", mnthdr=0x8058281 "Mounted", dfstr=0xb7dcb14e "Filesystem 1024-blocks Used Available Capacity Mounted on\n/dev/vg02/lvol1_snap") at hobbitd_client.c:308
OK, I think I've got it from this trace. Could you apply the attached patch on top of the snapshot you have, and see if that solves it ?
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi,
Has anyone developed a good 'Services test' for checking the squid process? I can plug in the port number and make sure it's being answered, but does anyone have something better?
Thanks!
Pat
==================================================== Patrick Healy U.S. District Court, NYWD patrick_healy at nywd.uscourts.gov 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
You could configure the proc check to make sure that the specific processes that you are looking for exist. What are you looking for exactly? it may be a quick write since i just got done writing up a script to check who is on the system.
Adam
patrick_healy at nywd.uscourts.gov wrote:
Hi,
Has anyone developed a good 'Services test' for checking the squid process? I can plug in the port number and make sure it's being answered, but does anyone have something better?
Thanks!
Pat
==================================================== Patrick Healy U.S. District Court, NYWD patrick_healy at nywd.uscourts.gov 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
Since the system is a Fedora machine, I'd be looking for the output of:
service squid status
Which should return something like:
squid (pid 13626 13624) is running...
If nothing came back, or if the word 'running' wasn't present then it should go red...
Thanks Adam!
Pat
==================================================== Patrick Healy U.S. District Court, NYWD patrick_healy at nywd.uscourts.gov 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
Adam Scheblein <adam.scheblein at marquette.edu> 10/03/2005 05:41 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Hobbit and SQUID
You could configure the proc check to make sure that the specific processes that you are looking for exist. What are you looking for exactly? it may be a quick write since i just got done writing up a script to check who is on the system.
Adam
patrick_healy at nywd.uscourts.gov wrote:
Hi,
Has anyone developed a good 'Services test' for checking the squid process? I can plug in the port number and make sure it's being answered, but does anyone have something better?
Thanks!
Pat
==================================================== Patrick Healy U.S. District Court, NYWD patrick_healy at nywd.uscourts.gov 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
3 questions,
what does it say when it is not running (does it say "not running" or does it say something else), also can you copy and paste to me the exact output of the command when it is running and when it is not?
how urgent is this? like lose your job urgent or i would really like this to work urgent?
are you using the hobbit client on this server? also, what version, and would you be opposed to a custom patch just so that it would send the squid UP/DOWN data across the wire
Adam
patrick_healy at nywd.uscourts.gov wrote:
Since the system is a Fedora machine, I'd be looking for the output of:
service squid status
Which should return something like:
squid (pid 13626 13624) is running...
If nothing came back, or if the word 'running' wasn't present then it should go red...
Thanks Adam!
Pat
==================================================== Patrick Healy U.S. District Court, NYWD patrick_healy at nywd.uscourts.gov 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
*Adam Scheblein <adam.scheblein at marquette.edu>*
10/03/2005 05:41 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Hobbit and SQUID
You could configure the proc check to make sure that the specific processes that you are looking for exist. What are you looking for exactly? it may be a quick write since i just got done writing up a script to check who is on the system.
Adam _ __patrick_healy at nywd.uscourts.gov_ <mailto:patrick_healy at nywd.uscourts.gov> wrote:
Hi,
Has anyone developed a good 'Services test' for checking the squid process? I can plug in the port number and make sure it's being answered, but does anyone have something better?
Thanks!
Pat
==================================================== Patrick Healy U.S. District Court, NYWD_ __patrick_healy at nywd.uscourts.gov_ <mailto:patrick_healy at nywd.uscourts.gov> 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
3 Answers 8-)
squid: ERROR: No running copy
Not Urgent at all
The hobbit server is the squid/proxy server.
I'd be a little apprehensive going to custom code....
Pat
==================================================== Patrick Healy U.S. District Court, NYWD patrick_healy at nywd.uscourts.gov 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
Adam Scheblein <adam.scheblein at marquette.edu> 10/04/2005 10:34 AM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Hobbit and SQUID
3 questions,
what does it say when it is not running (does it say "not running" or does it say something else), also can you copy and paste to me the exact output of the command when it is running and when it is not?
how urgent is this? like lose your job urgent or i would really like this to work urgent?
are you using the hobbit client on this server? also, what version, and would you be opposed to a custom patch just so that it would send the squid UP/DOWN data across the wire
Adam
patrick_healy at nywd.uscourts.gov wrote:
Since the system is a Fedora machine, I'd be looking for the output of:
service squid status
Which should return something like:
squid (pid 13626 13624) is running...
If nothing came back, or if the word 'running' wasn't present then it should go red...
Thanks Adam!
Pat
==================================================== Patrick Healy U.S. District Court, NYWD patrick_healy at nywd.uscourts.gov 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
Adam Scheblein <adam.scheblein at marquette.edu> 10/03/2005 05:41 PM
Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Hobbit and SQUID
You could configure the proc check to make sure that the specific processes that you are looking for exist. What are you looking for exactly? it may be a quick write since i just got done writing up a script to check who is on the system.
Adam
patrick_healy at nywd.uscourts.gov wrote:
Hi,
Has anyone developed a good 'Services test' for checking the squid process? I can plug in the port number and make sure it's being answered, but does anyone have something better?
Thanks!
Pat
==================================================== Patrick Healy U.S. District Court, NYWD patrick_healy at nywd.uscourts.gov 304 U.S. Courthouse Voice: 716-332-1770 68 Court Street FAX: 716-551-4850 Buffalo, NY 14202
On Tue, Oct 04, 2005 at 11:46:34AM -0400, patrick_healy at nywd.uscourts.gov wrote:
squid: ERROR: No running copy
Not Urgent at all
The hobbit server is the squid/proxy server.
In that case, you could use the "proxy" feature of the Hobbit HTTP testing. Setup a web check like this:
10.0.0.1 hobbit.foo.com # ~cont=squid;http://proxy.foo.com:3128/http://hobbit.foo.com/hobbit/;Hobbit
What this does it to define a web content check. It will basically request the URL http://hobbit.foo.com/hobbit/ and look for the text "Hobbit" in the response. BUT - it will send the HTTP request to the proxy at http://proxy.foo.com:3128/ instead of directly to the webserver.
You'll get two status columns from this: A "squid" column that goes red if the response from the webserver does not include the word "Hobbit"; and an (extra) item on the "http" status column.
The "~" at the front of the test is to make sure that the "squid" column goes red when the proxy request fails - if you leave it out, then only the "http" column will go red - the "squid" column will go clear.
The only caveat is that it will *also* go red if your webserver stops, or if the webpage doesn't include the word "Hobbit". But since all of this runs on the same box, there's a fair chance that you'll notice this.
I've put this setup on my own demo site at http://www.hswn.dk/hobbit/ in the "Servers and Networks" section (host voodoo.hswn.dk has the "squid" column).
One final note: The proxy feature does not support testing of https (SSL) URL's - it must be a plain http URL.
Regards, Henrik
Greetings,
I know before i asked about how to get CPU% to be graphed instead of load, however, now i am wondering if it is possible to have the red/yellow alerts change based on % and also i was wondering if e-mail alerts would then be able to be sent using that.
thanks, Adam
On Tue, Oct 04, 2005 at 01:04:15PM -0500, Adam Scheblein wrote:
I know before i asked about how to get CPU% to be graphed instead of load, however, now i am wondering if it is possible to have the red/yellow alerts change based on % and also i was wondering if e-mail alerts would then be able to be sent using that.
It's not possible currently, but I plan on adding this in the next version. The Unix "load average" isn't really meaningful as a measurement of how busy the system is - it makes much more sense I think to use the % non-idle from the vmstat data.
Henrik
I second (or third) that motion, thanks.
Henrik Stoerner wrote:
On Tue, Oct 04, 2005 at 01:04:15PM -0500, Adam Scheblein wrote:
I know before i asked about how to get CPU% to be graphed instead of load, however, now i am wondering if it is possible to have the red/yellow alerts change based on % and also i was wondering if e-mail alerts would then be able to be sent using that.
It's not possible currently, but I plan on adding this in the next version. The Unix "load average" isn't really meaningful as a measurement of how busy the system is - it makes much more sense I think to use the % non-idle from the vmstat data.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (414)491-6001 Ans Service: (360)715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2006 - Chattanooga, TN - April 7-11, 2006
participants (4)
-
adam.scheblein@marquette.edu
-
henrik@hswn.dk
-
patrick_healy@nywd.uscourts.gov
-
rsmrcina@wi.rr.com