Xymon Mailing List Archive search

bbstatus

24 messages in this thread

list Thomas Pedersen · Fri, 30 Sep 2005 15:48:43 +0200 ·
Running the latest snapshot from today.

Found that in the bbstatus if I specify the --only option it complains 
that no DIR was set and exits error code 256. Adding a 
--DIR=~hobbithome/data/logs corrects the error.

Should the standard DIR not be set using the env file ?

BR Thomas
list Adam Scheblein · Fri, 30 Sep 2005 09:45:08 -0500 ·
Greetings,

For the past couple of nights i have been getting the following errors 
in some of my hobbit logs:

Clientdata.log:
2005-09-28 03:09:36 Worker process died with exit code 134, terminating
2005-09-28 03:09:45 Worker process died with exit code 134, terminating
2005-09-28 04:20:03 Worker process died with exit code 134, terminating
2005-09-28 04:20:09 Worker process died with exit code 134, terminating
2005-09-28 04:50:13 Worker process died with exit code 134, terminating
2005-09-28 04:50:19 Worker process died with exit code 134, terminating

Hobbitlaunch.log

2005-09-29 02:04:20 Task clientdata terminated, status 1
2005-09-29 02:09:23 Task clientdata terminated, status 1
2005-09-29 02:14:28 Task clientdata terminated, status 1
2005-09-29 02:19:31 Task clientdata terminated, status 1
2005-09-29 02:24:35 Task clientdata terminated, status 1
2005-09-29 02:29:39 Task clientdata terminated, status 1
2005-09-29 02:34:37 Task clientdata terminated, status 1
2005-09-29 02:39:41 Task clientdata terminated, status 1
2005-09-29 02:44:46 Task clientdata terminated, status 1
2005-09-29 02:49:46 Task clientdata terminated, status 1
2005-09-29 05:41:36 Task clientdata terminated, status 1
2005-09-29 05:41:37 Task clientdata terminated, status 1

and then all graphing and updates stop...

I am using the latest snapshot, where should i go from here?  (as you 
can see it only seems to happen early in the morning)

thanks,
Adam
list Henrik Størner · Fri, 30 Sep 2005 15:10:30 +0000 (UTC) ·
quoted from Adam Scheblein
In <user-01cf0bccef0a@xymon.invalid> Adam Scheblein <user-de8d51f0c651@xymon.invalid> writes:
For the past couple of nights i have been getting the following errors 
in some of my hobbit logs:
Clientdata.log:
2005-09-28 03:09:36 Worker process died with exit code 134, terminating
"code 134" usually means it it crashed with a segfault (signal 6 = 134-128).

Check for core files in the ~hobbit/server/tmp/ directory - I'm 
sure you'll find some - and run them through gdb as described
in http://www.hswn.dk/hobbit/help/known-issues.html#bugreport
quoted from Adam Scheblein
Hobbitlaunch.log
2005-09-29 02:04:20 Task clientdata terminated, status 1
2005-09-29 05:41:37 Task clientdata terminated, status 1
and then all graphing and updates stop...
hobbitlaunch normally restarts a task, but if it continues to 
crash it will stop doing that (to avoid a run-away program taking
up all system ressources by starting all the time). So when we
figure out why hobbitd_client is crashing, this should go 
away also.


Henrik
list Adam Scheblein · Fri, 30 Sep 2005 10:27:09 -0500 ·
Here is the gdb output:

gdb bin/hobbitd_client tmp/core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `hobbitd_client'.
Program terminated with signal 6, Aborted.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /usr/lib/libpcre.so.0...done.
Loaded symbols for /usr/lib/libpcre.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0xb7e75771 in kill () from /lib/libc.so.6
(gdb) bt
#0  0xb7e75771 in kill () from /lib/libc.so.6
#1  0xb7e754e5 in raise () from /lib/libc.so.6
#2  0xb7e769d0 in abort () from /lib/libc.so.6
#3  0x080568e1 in sigsegv_handler (signum=0) at sig.c:57
#4  <signal handler called>
#5  0xb7eb50f3 in strlen () from /lib/libc.so.6
#6  0x08052d74 in namematch (needle=0x0, haystack=0x1e <Address 0x1e out of bounds>,
    pcrecode=0x8060838) at matching.c:51
#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
#9  0x0804c8a2 in handle_hpux_client (hostname=0xb7dcb035 "optim.csd.mu.edu", hinfo=0x80615a0,
    sender=0x0, timestamp=1128066354, clientdata=0x0) at hpux.c:52
#10 0x0804e0e8 in main (argc=1, argv=0xbfbb3f64) at hobbitd_client.c:859
quoted from Henrik Størner


Henrik Storner wrote:
In <user-01cf0bccef0a@xymon.invalid> Adam Scheblein <user-de8d51f0c651@xymon.invalid> writes:

 
For the past couple of nights i have been getting the following errors in some of my hobbit logs:
   
Clientdata.log:
2005-09-28 03:09:36 Worker process died with exit code 134, terminating
   
"code 134" usually means it it crashed with a segfault (signal 6 = 134-128).

Check for core files in the ~hobbit/server/tmp/ directory - I'm sure you'll find some - and run them through gdb as described
in http://www.hswn.dk/hobbit/help/known-issues.html#bugreport

 
Hobbitlaunch.log
   
2005-09-29 02:04:20 Task clientdata terminated, status 1
2005-09-29 05:41:37 Task clientdata terminated, status 1
   
and then all graphing and updates stop...
   
hobbitlaunch normally restarts a task, but if it continues to crash it will stop doing that (to avoid a run-away program taking
up all system ressources by starting all the time). So when we
figure out why hobbitd_client is crashing, this should go away also.


Henrik

list Henrik Størner · Fri, 30 Sep 2005 17:59:09 +0200 ·
On Fri, Sep 30, 2005 at 10:27:09AM -0500, Adam Scheblein wrote:
Here is the gdb output:
quoted from Adam Scheblein
#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

-------------- next part --------------
--- hobbitd/hobbitd_client.c	2005/09/28 21:21:56	1.34
+++ hobbitd/hobbitd_client.c	2005/09/30 15:53:55
@@ -314,7 +314,7 @@
 			if (usestr && isdigit((int)*usestr)) usage = atoi(usestr); else usage = -1;
 
 			strcpy(p, bol); fsname = getcolumn(p, mntcol);
-			add_disk_count(fsname);
+			if (fsname) add_disk_count(fsname);
 
 			if (fsname && (usage != -1)) {
 				get_disk_thresholds(hinfo, fsname, &warnlevel, &paniclevel);
--- hobbitd/client_config.c	2005/09/21 11:37:05	1.9
+++ hobbitd/client_config.c	2005/09/30 15:54:57
@@ -544,6 +544,8 @@
 	int ovector[10];
 	int result;
 
+	if (!pname) return;
• for (pwalk = head; (pwalk); pwalk = pwalk->next) {
 		switch (pwalk->rule->ruletype) {
 		  case C_PROC:
list Adam Scheblein · Fri, 30 Sep 2005 14:37:30 -0500 ·
The patch has been applied, we will see what happens tonight

Thanks,
Adam
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, September 30, 2005 10:59 AM
To: user-ae9b8668bcde@xymon.invalid
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
list Adam Scheblein · Mon, 03 Oct 2005 13:13:34 -0500 ·
I had hobbit running all weekend and there were absolutely no problems with the new patch -- thanks!!

Adam
quoted from Adam Scheblein

Scheblein, Adam wrote:
The patch has been applied, we will see what happens tonight

Thanks,
Adam

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, September 30, 2005 10:59 AM
To: user-ae9b8668bcde@xymon.invalid
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

list Patrick Healy · Mon, 3 Oct 2005 15:09:18 -0400 ·
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
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY XXXXX
list Adam Scheblein · Mon, 03 Oct 2005 16:41:48 -0500 ·
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
quoted from Patrick Healy

user-4dd876706f9f@xymon.invalid 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
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street

FAX: XXX-XXX-XXXX                                        Buffalo, NY 14202
list Richard Deal · Mon, 3 Oct 2005 18:01:12 -0400 ·
I just use the http test to check the proxy, try something like using the proxy to get to google. you can put a depend statement on it so that it depends on your internet router, firewall, and internet connection.
quoted from Adam Scheblein


-----Original Message-----
From: Adam Scheblein [mailto:user-de8d51f0c651@xymon.invalid]
Sent: Mon 10/3/2005 5:41 PM
To: user-ae9b8668bcde@xymon.invalid
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

user-4dd876706f9f@xymon.invalid 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
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY 14202
list Patrick Healy · Tue, 4 Oct 2005 09:29:12 -0400 ·
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!
quoted from Richard Deal

Pat

====================================================
Patrick Healy                                                  U.S. District Court, NYWD
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY XXXXX


 Adam Scheblein <user-de8d51f0c651@xymon.invalid>
10/03/2005 05:41 PM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc
quoted from Richard Deal

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

user-4dd876706f9f@xymon.invalid 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
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY XXXXX
list Richard Deal · Tue, 4 Oct 2005 10:24:06 -0400 ·
If you want to check that the service is actually functional use
something like:

 
0.0.0.0   firewall.uscourts.gov  #   

0.0.0.0   router.uscourts.gov    #    route:firewall.uscourts.gov

0.0.0.0   router.ISP.gov           #
route:firewall.uscourts.gov,router.uscourts.gov

0.0.0.0   squid.uscourts.gov    #
http://squid.uscourts.gov:8080/http://www.google.com/
route:firewall.uscourts.gov depends(http:router.ISP.gov/conn,
router.uscourts.gov/conn)

 
plug in your own IP addresses and host names of course but you get the
idea.

 
-----Original Message-----
From: user-4dd876706f9f@xymon.invalid
[mailto:user-4dd876706f9f@xymon.invalid] 
Sent: Tuesday, October 04, 2005 9:29 AM
quoted from Patrick Healy
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit and SQUID

 
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
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY
XXXXX 


 Adam Scheblein <user-de8d51f0c651@xymon.invalid> 

10/03/2005 05:41 PM 

Please respond to
user-ae9b8668bcde@xymon.invalid

To

user-ae9b8668bcde@xymon.invalid 

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

user-4dd876706f9f@xymon.invalid 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

user-4dd876706f9f@xymon.invalid <mailto:user-4dd876706f9f@xymon.invalid>
quoted from Patrick Healy
304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY
XXXXX
list Adam Scheblein · Tue, 04 Oct 2005 09:34:02 -0500 ·
3 questions,

1)  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?

2)  how urgent is this? like lose your job urgent or i would really like this to work urgent?

3)  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
quoted from Richard Deal

user-4dd876706f9f@xymon.invalid 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
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY 14202


 *Adam Scheblein <user-de8d51f0c651@xymon.invalid>*

10/03/2005 05:41 PM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
	user-ae9b8668bcde@xymon.invalid
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
_
user-8526bb42b17f@xymon.invalid_ <mailto:user-4dd876706f9f@xymon.invalid> 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_

user-8526bb42b17f@xymon.invalid_ <mailto:user-4dd876706f9f@xymon.invalid>             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY 14202
list Patrick Healy · Tue, 4 Oct 2005 11:46:34 -0400 ·
3 Answers 8-)

1) squid: ERROR: No running copy

2) Not Urgent at all

3) The hobbit server is the squid/proxy server.

I'd be a little apprehensive going to custom code....
quoted from Adam Scheblein

Pat

====================================================
Patrick Healy                                                  U.S. District Court, NYWD
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY XXXXX


 Adam Scheblein <user-de8d51f0c651@xymon.invalid>

10/04/2005 10:34 AM
quoted from Adam Scheblein
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] Hobbit and SQUID


3 questions,

1)  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?

2)  how urgent is this? like lose your job urgent or i would really like this to work urgent?

3)  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

user-4dd876706f9f@xymon.invalid 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
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY XXXXX 


 Adam Scheblein <user-de8d51f0c651@xymon.invalid> 10/03/2005 05:41 PM 
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid 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

user-4dd876706f9f@xymon.invalid 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
user-4dd876706f9f@xymon.invalid             304 U.S. Courthouse
Voice: XXX-XXX-XXXX                                      XX Court Street
FAX: XXX-XXX-XXXX                                        Buffalo, NY XXXXX
list Henrik Størner · Tue, 4 Oct 2005 18:04:53 +0200 ·
quoted from Patrick Healy
On Tue, Oct 04, 2005 at 11:46:34AM -0400, user-4dd876706f9f@xymon.invalid wrote:
1) squid: ERROR: No running copy

2) Not Urgent at all

3) 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
list Adam Scheblein · Tue, 04 Oct 2005 13:04:15 -0500 ·
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
list Henrik Størner · Tue, 4 Oct 2005 21:57:14 +0200 ·
quoted from Adam Scheblein
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
list Rich Smrcina · Tue, 04 Oct 2005 15:14:13 -0500 ·
I second (or third) that motion, thanks.
quoted from Henrik Størner

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

-- 

Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006
list Adam Scheblein · Thu, 06 Oct 2005 12:38:58 -0500 ·
Greetings,

I restarted my hobbit server the first time today since i got it up and running, and now the webpages do not display correctly in firefox.  The reason i had to restart was i upgraded my kernel.  I figured it might be an apache issue so i tried recompiling apache and reconfiguring it - to no avail.  also, i upgraded hobbit to the newest snapshot (RC-1 from october 6 instead of the RC-1 from october 3)  does anyone have any ideas on what i might be able to check to fix this problem so i don't have to keep using internet explorer?

thanks,
Adam
list Manu Garg · Thu, 6 Oct 2005 14:13:48 -0400 ·
quoted from Adam Scheblein
On 10/6/05, Adam Scheblein <user-de8d51f0c651@xymon.invalid> wrote:
Greetings,

I restarted my hobbit server the first time today since i got it up and
running, and now the webpages do not display correctly in firefox.  The
What do you mean by not displaying correctly? Can take screenshots and
put it somewhere or send it to list?
quoted from Adam Scheblein
reason i had to restart was i upgraded my kernel.  I figured it might be
an apache issue so i tried recompiling apache and reconfiguring it - to
no avail.  also, i upgraded hobbit to the newest snapshot (RC-1 from
october 6 instead of the RC-1 from october 3)  does anyone have any
ideas on what i might be able to check to fix this problem so i don't
have to keep using internet explorer?

thanks,
Adam

--

Manu Garg
http://www.manugarg.com
"Truth will set you free!"
list Adam Scheblein · Thu, 6 Oct 2005 13:32:14 -0500 ·
Here is a copy/paste of the top part of the hobbit page -- as you can
see the html is not being rendered

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="60">
<META HTTP-EQUIV="EXPIRES" CONTENT="Sat, 01 Jan 2001 00:00:00 GMT">
<META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/">
<META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/">
<TITLE>red : Hobbit - Status @ Thu Oct 06 11:28:09 2005</TITLE>

<!-- Styles for the menu bar -->
<link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">

<!-- The favicon image -->
<link rel="shortcut icon" href="/hobbit/gifs/favicon-red.ico">

</HEAD>

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

<TABLE SUMMARY="Topline" WIDTH="100%">
<TR><TD HEIGHT=16>&nbsp;</TD></TR>  <!-- For the menu bar -->
<TR>
  <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%">
    <FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Hobbit</B></FONT>
  </TD>
  <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%">
    <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Current Status</B></FONT></CENTER>
  </TD>
  <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%">
   <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Thu Oct 06
11:28:09 2005</B></FONT>
  </TD>
</TR>
<TR>
  <TD COLSPAN=3> <HR WIDTH="100%"> </TD>
</TR>
</TABLE>
<BR>
quoted from Manu Garg

-----Original Message-----
From: Manu Garg [mailto:user-0c7f7533b886@xymon.invalid] 
Sent: Thursday, October 06, 2005 1:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit generated webpages not displaying correctly

On 10/6/05, Adam Scheblein <user-de8d51f0c651@xymon.invalid> wrote:
Greetings,

I restarted my hobbit server the first time today since i got it up
and
running, and now the webpages do not display correctly in firefox.
The

What do you mean by not displaying correctly? Can take screenshots and
put it somewhere or send it to list?
reason i had to restart was i upgraded my kernel.  I figured it might
be
an apache issue so i tried recompiling apache and reconfiguring it -
to
no avail.  also, i upgraded hobbit to the newest snapshot (RC-1 from
october 6 instead of the RC-1 from october 3)  does anyone have any
ideas on what i might be able to check to fix this problem so i don't
have to keep using internet explorer?

thanks,
Adam

--
Manu Garg
http://www.manugarg.com
"Truth will set you free!"
list Manu Garg · Thu, 6 Oct 2005 14:54:45 -0400 ·
Adam, at least the part you sent looks fine in my Firefox (1.0.7).

1- Do you mean that rest of the html is not showing up? or,
2- HTML is fine and firefox isn't showing it up properly.

Since, pages looks fine Internet explorer, this is most probably your
browser side issue. Did you try cleaning up firefox cache?
quoted from Adam Scheblein

On 10/6/05, Scheblein, Adam <user-de8d51f0c651@xymon.invalid> wrote:
Here is a copy/paste of the top part of the hobbit page -- as you can
see the html is not being rendered

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="60">
<META HTTP-EQUIV="EXPIRES" CONTENT="Sat, 01 Jan 2001 00:00:00 GMT">
<META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/">
<META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/">
<TITLE>red : Hobbit - Status @ Thu Oct 06 11:28:09 2005</TITLE>

<!-- Styles for the menu bar -->
<link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">

<!-- The favicon image -->
<link rel="shortcut icon" href="/hobbit/gifs/favicon-red.ico">

</HEAD>

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

<TABLE SUMMARY="Topline" WIDTH="100%">
<TR><TD HEIGHT=16>&nbsp;</TD></TR>  <!-- For the menu bar -->
<TR>
  <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%">
    <FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Hobbit</B></FONT>
  </TD>
  <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%">
    <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Current Status</B></FONT></CENTER>
  </TD>
  <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%">
   <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Thu Oct 06
11:28:09 2005</B></FONT>
  </TD>
</TR>
<TR>
  <TD COLSPAN=3> <HR WIDTH="100%"> </TD>
</TR>
</TABLE>
<BR>

-----Original Message-----
From: Manu Garg [mailto:user-0c7f7533b886@xymon.invalid]
Sent: Thursday, October 06, 2005 1:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit generated webpages not displaying correctly

On 10/6/05, Adam Scheblein <user-de8d51f0c651@xymon.invalid> wrote:
Greetings,

I restarted my hobbit server the first time today since i got it up
and
running, and now the webpages do not display correctly in firefox.
The

What do you mean by not displaying correctly? Can take screenshots and
put it somewhere or send it to list?
reason i had to restart was i upgraded my kernel.  I figured it might
be
an apache issue so i tried recompiling apache and reconfiguring it -
to
no avail.  also, i upgraded hobbit to the newest snapshot (RC-1 from
october 6 instead of the RC-1 from october 3)  does anyone have any
ideas on what i might be able to check to fix this problem so i don't
have to keep using internet explorer?

thanks,
Adam

--
Manu Garg
http://www.manugarg.com
"Truth will set you free!"

--
Manu Garg
http://www.manugarg.com
"Truth will set you free!"
list Adam Scheblein · Thu, 06 Oct 2005 14:18:00 -0500 ·
It seems to be an apache problem now -- the text i sent to you is what 
was actually being shown in firefox - not the pictures/background 
information.  i cleared out my caches and that, and what i eventually 
did to fix (at least the hobbit part of my web server) was to add this 
line to my httpd.conf:

AddType text/html .html

which seems redundant, but it worked for hobbit...

Adam
quoted from Manu Garg

Manu Garg wrote:
Adam, at least the part you sent looks fine in my Firefox (1.0.7).

1- Do you mean that rest of the html is not showing up? or,
2- HTML is fine and firefox isn't showing it up properly.

Since, pages looks fine Internet explorer, this is most probably your
browser side issue. Did you try cleaning up firefox cache?

On 10/6/05, Scheblein, Adam <user-de8d51f0c651@xymon.invalid> wrote:
 
Here is a copy/paste of the top part of the hobbit page -- as you can
see the html is not being rendered

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="60">
<META HTTP-EQUIV="EXPIRES" CONTENT="Sat, 01 Jan 2001 00:00:00 GMT">
<META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/">
<META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/">
<TITLE>red : Hobbit - Status @ Thu Oct 06 11:28:09 2005</TITLE>

<!-- Styles for the menu bar -->
<link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">

<!-- The favicon image -->
<link rel="shortcut icon" href="/hobbit/gifs/favicon-red.ico">

</HEAD>

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

<TABLE SUMMARY="Topline" WIDTH="100%">
<TR><TD HEIGHT=16>&nbsp;</TD></TR>  <!-- For the menu bar -->
<TR>
 <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%">
   <FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Hobbit</B></FONT>
 </TD>
 <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%">
   <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Current Status</B></FONT></CENTER>
 </TD>
 <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%">
  <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Thu Oct 06
11:28:09 2005</B></FONT>
 </TD>
</TR>
<TR>
 <TD COLSPAN=3> <HR WIDTH="100%"> </TD>
</TR>
</TABLE>
<BR>

-----Original Message-----
From: Manu Garg [mailto:user-0c7f7533b886@xymon.invalid]
Sent: Thursday, October 06, 2005 1:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit generated webpages not displaying correctly

On 10/6/05, Adam Scheblein <user-de8d51f0c651@xymon.invalid> wrote:
   
Greetings,

I restarted my hobbit server the first time today since i got it up
     
and
   
running, and now the webpages do not display correctly in firefox.
     
The

What do you mean by not displaying correctly? Can take screenshots and
put it somewhere or send it to list?

   
reason i had to restart was i upgraded my kernel.  I figured it might
     
be
   
an apache issue so i tried recompiling apache and reconfiguring it -
     
to
   
no avail.  also, i upgraded hobbit to the newest snapshot (RC-1 from
october 6 instead of the RC-1 from october 3)  does anyone have any
ideas on what i might be able to check to fix this problem so i don't
have to keep using internet explorer?

thanks,
Adam

--
Manu Garg
http://www.manugarg.com
"Truth will set you free!"

--
Manu Garg
http://www.manugarg.com
"Truth will set you free!"

list Manu Garg · Thu, 6 Oct 2005 18:55:12 -0400 ·
Yes, It's got to be Apache. It's not passing the default header with
the files having .html extension. Internet Explorer being extra smart
(extra is not good :)) renders all .html files as html.

cheers,
~manu
quoted from Adam Scheblein

On 10/6/05, Adam Scheblein <user-de8d51f0c651@xymon.invalid> wrote:
 It seems to be an apache problem now -- the text i sent to you is what was
actually being shown in firefox - not the pictures/background information.
i cleared out my caches and that, and what i eventually did to fix (at least
the hobbit part of my web server) was to add this line to my httpd.conf:

 AddType text/html .html

 which seems redundant, but it worked for hobbit...

 Adam


 Manu Garg wrote:
 Adam, at least the part you sent looks fine in my Firefox (1.0.7).

1- Do you mean that rest of the html is not showing up? or,
2- HTML is fine and firefox isn't showing it up properly.

Since, pages looks fine Internet explorer, this is most probably your
browser side issue. Did you try cleaning up firefox cache?

On 10/6/05, Scheblein, Adam <user-de8d51f0c651@xymon.invalid> wrote:


 Here is a copy/paste of the top part of the hobbit page -- as you can
see the html is not being rendered

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="60">
<META HTTP-EQUIV="EXPIRES" CONTENT="Sat, 01 Jan 2001 00:00:00 GMT">
<META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/">
<META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/">
<TITLE>red : Hobbit - Status @ Thu Oct 06 11:28:09 2005</TITLE>

<!-- Styles for the menu bar -->
<link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">

<!-- The favicon image -->
<link rel="shortcut icon" href="/hobbit/gifs/favicon-red.ico">

</HEAD>

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

<TABLE SUMMARY="Topline" WIDTH="100%">
<TR><TD HEIGHT=16>&nbsp;</TD></TR> <!-- For the menu bar -->
<TR>
 <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%">
 <FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Hobbit</B></FONT>
 </TD>
 <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%">
 <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Current Status</B></FONT></CENTER>
 </TD>
 <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%">
 <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Thu Oct 06
11:28:09 2005</B></FONT>
 </TD>
</TR>
<TR>
 <TD COLSPAN=3> <HR WIDTH="100%"> </TD>
</TR>
</TABLE>
<BR>

-----Original Message-----
From: Manu Garg [mailto:user-0c7f7533b886@xymon.invalid]
Sent: Thursday, October 06, 2005 1:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit generated webpages not displaying correctly

On 10/6/05, Adam Scheblein <user-de8d51f0c651@xymon.invalid> wrote:


 Greetings,

I restarted my hobbit server the first time today since i got it up

 and


 running, and now the webpages do not display correctly in firefox.

 The

What do you mean by not displaying correctly? Can take screenshots and
put it somewhere or send it to list?


 reason i had to restart was i upgraded my kernel. I figured it might

 be


 an apache issue so i tried recompiling apache and reconfiguring it -

 to


 no avail. also, i upgraded hobbit to the newest snapshot (RC-1 from
october 6 instead of the RC-1 from october 3) does anyone have any
ideas on what i might be able to check to fix this problem so i don't
have to keep using internet explorer?

thanks,
Adam


 --
Manu Garg
http://www.manugarg.com
"Truth will set you free!"


--
Manu Garg
http://www.manugarg.com
"Truth will set you free!"

--
Manu Garg
http://www.manugarg.com
"Truth will set you free!"