Xymon Mailing List Archive search

client data incomplete

16 messages in this thread

list Hiren Patel HN · Thu, 04 Oct 2007 10:30:49 +0200 ·
greetings,

i have been getting hobbit alerts about processes not running, having a
look at the process list shows an incomplete 'ps' section.

nothing searched on the mailing list related to this issue as such.

running the following on the hostdata file on the hobbit server showed
the following:

  egrep '^\[.*\]$' 1191352319
[date]
[uname]
[osversion]
[uptime]
[who]
[df]
[mount]
[free]
[ifconfig]
[route]
[netstat]
[ports]
[ifstat]
[ps]

doing this on other files shows me that more sections after 'ps' should
be in the file. the data seems to be cut short.

this only happens on occasion, i cant really pin it down to certain
times of the day (if/when backups take place on the network causing a
lot more traffic) either.

there is nothing particularly helpful in hobbitclient logs.
on the client side i am getting the following in hobbitclient.log, but
not at the time when the issue occurred.

2007-10-01 21:16:46 Whoops ! bb failed to send message - timeout

im wondering if it is a problem on the client before it sends the data
to the server, or if it is a network congestion issue maybe. any tips on
how i should go about diagnosing this would be helpful.

thanks.

-- 
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX XXX
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with it.'
--http://fedoraproject.org/wiki/Overview

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication legal notice, available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Ansiimire · Thu, 4 Oct 2007 12:08:43 +0300 (EAT) ·
Hi guys.
I know this is kind of off the limits..but what command can i use to check
if the hobbit application is up and running??..to check its status and if
its down how do i enable it?
Help out...Thanks.
Alyn
list Johann Eggers · Thu, 4 Oct 2007 11:21:00 +0200 ·
quoted from Ansiimire
Hi guys.
I know this is kind of off the limits..but what command can i use to
check
if the hobbit application is up and running??..to check its status and
if
its down how do i enable it?
Help out...Thanks.
Alyn
From the description:
The bbd column shows the status of the Hobbit or Big Brother service on
the host. The bbd service is an essential part of the Hobbit or Big
Brother monitoring system, so a failure of this service typically means
that a large part of the monitoring system is no longer operational.

-Johann-
list Ansiimire · Thu, 4 Oct 2007 12:41:23 +0300 (EAT) ·
Thank you for that reply...but what i really was asking is that...wht
command can i use to check or enable the running of hobbit...considering
all the components are okay. for example is it anything like chk
status..bbstatus..which command.
Thanks
quoted from Johann Eggers

Hi guys.
I know this is kind of off the limits..but what command can i use to
check
if the hobbit application is up and running??..to check its status and
if
its down how do i enable it?
Help out...Thanks.
Alyn
From the description:
The bbd column shows the status of the Hobbit or Big Brother service on
the host. The bbd service is an essential part of the Hobbit or Big
Brother monitoring system, so a failure of this service typically means
that a large part of the monitoring system is no longer operational.

-Johann-

list Hiren Patel HN · Thu, 04 Oct 2007 14:51:55 +0200 ·
we use ps and grep in a script to ensure that the hobbitlaunch process
is running, and run that script in cron periodically, mailing if
hobbitlaunch isn't found..
quoted from Hiren Patel HN

On Thu, 2007-10-04 at 12:08 +0300, user-9ece0f50c771@xymon.invalid wrote:
Hi guys.
I know this is kind of off the limits..but what command can i use to check
if the hobbit application is up and running??..to check its status and if
its down how do i enable it?
Help out...Thanks.
Alyn

-- 
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX XXX
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with it.'
--http://fedoraproject.org/wiki/Overview

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication legal notice, available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Ansiimire · Thu, 4 Oct 2007 16:13:03 +0300 (EAT) ·
Hi Patel,
The hobbitlaunch wasnt seen in the running processes..how can i enable it??
Thanks
quoted from Hiren Patel HN
we use ps and grep in a script to ensure that the hobbitlaunch process
is running, and run that script in cron periodically, mailing if
hobbitlaunch isn't found..

On Thu, 2007-10-04 at 12:08 +0300, user-9ece0f50c771@xymon.invalid wrote:
Hi guys.
I know this is kind of off the limits..but what command can i use to
check
if the hobbit application is up and running??..to check its status and
if
its down how do i enable it?
Help out...Thanks.
Alyn

--
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX XXX
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with it.'
--http://fedoraproject.org/wiki/Overview

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication legal
notice, available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

list Hiren Patel HN · Thu, 04 Oct 2007 15:29:30 +0200 ·
well what i described is just how we try to ensure that it is running,
more client side than anything else, but starting and stopping it very
specific to the OS.

we use red hat and typically 'service hobbitclient start' would start
the client for us, this gets done at startup by red hat's init scripts
etc.

you may find more luck trying the mailing lists/documentation of the OS
you use, to figure out how services and started/stopped etc
quoted from Ansiimire

On Thu, 2007-10-04 at 16:13 +0300, user-9ece0f50c771@xymon.invalid wrote:
Hi Patel,
The hobbitlaunch wasnt seen in the running processes..how can i enable it??
Thanks
we use ps and grep in a script to ensure that the hobbitlaunch process
is running, and run that script in cron periodically, mailing if
hobbitlaunch isn't found..

On Thu, 2007-10-04 at 12:08 +0300, user-9ece0f50c771@xymon.invalid wrote:
Hi guys.
I know this is kind of off the limits..but what command can i use to
check
if the hobbit application is up and running??..to check its status and
if
its down how do i enable it?
Help out...Thanks.
Alyn

--
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX XXX
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with it.'
--http://fedoraproject.org/wiki/Overview

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication legal
notice, available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX XXX
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with it.'
--http://fedoraproject.org/wiki/Overview
list Josh Luthman · Thu, 4 Oct 2007 09:45:18 -0400 ·
When you tried to find the process, did you use the arguments ef for ps?
Try running ps -ef|grep hobbitlaunch  If that process is not running, your
bbd is obviously not running and therefor not performing any tests.

I've confirmed this works on my server - CentOS5 (a RHEL distro).

Josh
quoted from Hiren Patel HN

On 10/4/07, Hiren Patel (HN) <user-3e1199769c9f@xymon.invalid> wrote:
well what i described is just how we try to ensure that it is running,
more client side than anything else, but starting and stopping it very
specific to the OS.

we use red hat and typically 'service hobbitclient start' would start
the client for us, this gets done at startup by red hat's init scripts
etc.

you may find more luck trying the mailing lists/documentation of the OS
you use, to figure out how services and started/stopped etc

On Thu, 2007-10-04 at 16:13 +0300, user-9ece0f50c771@xymon.invalid wrote:
Hi Patel,
The hobbitlaunch wasnt seen in the running processes..how can i enable
it??
Thanks
we use ps and grep in a script to ensure that the hobbitlaunch process
is running, and run that script in cron periodically, mailing if
hobbitlaunch isn't found..

On Thu, 2007-10-04 at 12:08 +0300, user-9ece0f50c771@xymon.invalid wrote:
Hi guys.
I know this is kind of off the limits..but what command can i use to
check
if the hobbit application is up and running??..to check its status
and
if
its down how do i enable it?
Help out...Thanks.
Alyn

--
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX
680
quoted from Hiren Patel HN
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with
it.'
--http://fedoraproject.org/wiki/Overview

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication legal
notice, available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX XXX
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with it.'
--http://fedoraproject.org/wiki/Overview

-- 

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Ansiimire · Thu, 4 Oct 2007 16:58:54 +0300 (EAT) ·
when i run it..it gives the following.
TM:/home/hobbit/server/etc # ps -ef|grep hobbitlaunch
root     13113 13104  0 16:53 pts/2    00:00:00 grep hobbitlaunch.

does that mean it is okay?..if so..then how comes when i try to open the
hobbit application itself..i get something like this..
"An error occurred while loading http://10.176.10.69/hobbit/:
Could not connect to host 10.176.10.69."

Thank you.
quoted from Josh Luthman

When you tried to find the process, did you use the arguments ef for ps?
Try running ps -ef|grep hobbitlaunch  If that process is not running, your
bbd is obviously not running and therefor not performing any tests.

I've confirmed this works on my server - CentOS5 (a RHEL distro).

Josh

On 10/4/07, Hiren Patel (HN) <user-3e1199769c9f@xymon.invalid> wrote:
well what i described is just how we try to ensure that it is running,
more client side than anything else, but starting and stopping it very
specific to the OS.

we use red hat and typically 'service hobbitclient start' would start
the client for us, this gets done at startup by red hat's init scripts
etc.

you may find more luck trying the mailing lists/documentation of the OS
you use, to figure out how services and started/stopped etc

On Thu, 2007-10-04 at 16:13 +0300, user-9ece0f50c771@xymon.invalid wrote:
Hi Patel,
The hobbitlaunch wasnt seen in the running processes..how can i enable
it??
Thanks
we use ps and grep in a script to ensure that the hobbitlaunch
process
is running, and run that script in cron periodically, mailing if
hobbitlaunch isn't found..

On Thu, 2007-10-04 at 12:08 +0300, user-9ece0f50c771@xymon.invalid
wrote:
Hi guys.
I know this is kind of off the limits..but what command can i use
to
check
if the hobbit application is up and running??..to check its status
and
if
its down how do i enable it?
Help out...Thanks.
Alyn

--
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX
680
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along
with
it.'
--http://fedoraproject.org/wiki/Overview

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication
legal
notice, available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX XXX
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with
it.'
--http://fedoraproject.org/wiki/Overview

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Galen Johnson · Thu, 4 Oct 2007 10:04:27 -0400 ·
No...that is actually your grep command you ran...if this is the only
output then hobbit is not running.  The other question here is do you
have apache running on 10.176.10.69...I doubt it based on the error.

=G=
quoted from Ansiimire

-----Original Message-----
From: user-9ece0f50c771@xymon.invalid [mailto:user-9ece0f50c771@xymon.invalid]

Sent: Thursday, October 04, 2007 9:59 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Re: little help here

when i run it..it gives the following.
TM:/home/hobbit/server/etc # ps -ef|grep hobbitlaunch
root     13113 13104  0 16:53 pts/2    00:00:00 grep hobbitlaunch.

does that mean it is okay?..if so..then how comes when i try to open the
hobbit application itself..i get something like this..
"An error occurred while loading http://10.176.10.69/hobbit/:
Could not connect to host 10.176.10.69."

Thank you.

When you tried to find the process, did you use the arguments ef for
ps?
Try running ps -ef|grep hobbitlaunch  If that process is not running,
your
bbd is obviously not running and therefor not performing any tests.

I've confirmed this works on my server - CentOS5 (a RHEL distro).

Josh

On 10/4/07, Hiren Patel (HN) <user-3e1199769c9f@xymon.invalid> wrote:
well what i described is just how we try to ensure that it is
running,
more client side than anything else, but starting and stopping it
very
specific to the OS.

we use red hat and typically 'service hobbitclient start' would start
the client for us, this gets done at startup by red hat's init
scripts
etc.

you may find more luck trying the mailing lists/documentation of the
OS
you use, to figure out how services and started/stopped etc

On Thu, 2007-10-04 at 16:13 +0300, user-9ece0f50c771@xymon.invalid
wrote:
Hi Patel,
The hobbitlaunch wasnt seen in the running processes..how can i
enable
it??
Thanks
we use ps and grep in a script to ensure that the hobbitlaunch
process
is running, and run that script in cron periodically, mailing if
hobbitlaunch isn't found..

On Thu, 2007-10-04 at 12:08 +0300, user-9ece0f50c771@xymon.invalid
wrote:
Hi guys.
I know this is kind of off the limits..but what command can i
use
to
check
if the hobbit application is up and running??..to check its
status
and
if
its down how do i enable it?
Help out...Thanks.
Alyn

--
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom

E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +27
12
quoted from Ansiimire
680
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along
with
it.'
--http://fedoraproject.org/wiki/Overview

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication
legal
notice, available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-3e1199769c9f@xymon.invalid Office: +XX XX XXX XXXX | Fax: +XX XX
680
3299 | Cell: +XX XX XXX XXXX

'Still, we'd much rather change the world instead of going along with
it.'
--http://fedoraproject.org/wiki/Overview

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Ralph Mitchell · Thu, 4 Oct 2007 09:06:22 -0500 ·
quoted from Galen Johnson
On 10/4/07, user-9ece0f50c771@xymon.invalid <user-9ece0f50c771@xymon.invalid> wrote:
when i run it..it gives the following.
TM:/home/hobbit/server/etc # ps -ef|grep hobbitlaunch
root     13113 13104  0 16:53 pts/2    00:00:00 grep hobbitlaunch.

does that mean it is okay?..if so..then how comes when i try to open the
hobbit application itself..i get something like this..
"An error occurred while loading http://10.176.10.69/hobbit/:
Could not connect to host 10.176.10.69."
That's two different problems:

1) Hobbitlaunch is not showing up in the ps, so it isn't running.

2) It looks like your webserver isn't running either, or that address
is wrong, or your browser can't get to that address for some reason.

Ralph Mitchell
list Johann Eggers · Thu, 4 Oct 2007 16:09:04 +0200 ·
quoted from Ralph Mitchell
when i run it..it gives the following.
TM:/home/hobbit/server/etc # ps -ef|grep hobbitlaunch
root     13113 13104  0 16:53 pts/2    00:00:00 grep hobbitlaunch.

does that mean it is okay?..if so..then how comes when i try to open
the
hobbit application itself..i get something like this..
"An error occurred while loading http://10.176.10.69/hobbit/:
Could not connect to host 10.176.10.69."
This means your hobbit processes are NOT running. 
Try ps -ef|grep hobbitlaunch|grep -v grep to exclude the grep task...

Do you have the webserver configured on your Hobbit box?

_Johann-
list Josh Luthman · Thu, 4 Oct 2007 10:30:36 -0400 ·
Hobbitlaunch running example:

[shire at frodo ~]$ ps -ef|grep hobbitlaunch
shire     6200     1  0 04:52 ?        00:00:00
/home/shire/server/bin/hobbitlaunch
--config=/home/shire/server/etc/hobbitlaunch.cfg
--env=/home/shire/server/etc/hobbitserver.cfg
--log=/var/log/hobbit/hobbitlaunch.log
--pidfile=/var/log/hobbit/hobbitlaunch.pid
shire    17177 15967  0 17:21 pts/0    00:00:00 grep hobbitlaunch

Running Apache httpd example:

[shire at frodo ~]$ ps -ef|grep httpd
shire    17223 15967  0 17:22 pts/0    00:00:00 grep httpd
root     29834     1  0 Oct03 ?        00:00:00 /usr/sbin/httpd
apache   29836 29834  0 Oct03 ?        00:00:00 /usr/sbin/httpd <--- Several
similar to this

Please confirm that you have a httpd process running.  Also, try browsing to
the http://10.176.10.69/ <http://10.176.10.69/hobbit/>; and see if you get a
response.

Josh
quoted from Johann Eggers


On 10/4/07, Johann Eggers <user-769b09132207@xymon.invalid> wrote:
when i run it..it gives the following.
TM:/home/hobbit/server/etc # ps -ef|grep hobbitlaunch
root     13113 13104  0 16:53 pts/2    00:00:00 grep hobbitlaunch.

does that mean it is okay?..if so..then how comes when i try to open
the
hobbit application itself..i get something like this..
"An error occurred while loading http://10.176.10.69/hobbit/:
Could not connect to host 10.176.10.69."
This means your hobbit processes are NOT running.
Try ps -ef|grep hobbitlaunch|grep -v grep to exclude the grep task...

Do you have the webserver configured on your Hobbit box?

_Johann-

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Ansiimire · Thu, 4 Oct 2007 17:57:45 +0300 (EAT) ·
Guys thanks so much i figured it out...thanks for all your help
Alyn
list Josh Luthman · Thu, 4 Oct 2007 11:06:16 -0400 ·
Can you share with us you confirmed problem?  Was it the lack of a web
server?

Josh

On 10/4/07, user-9ece0f50c771@xymon.invalid <user-9ece0f50c771@xymon.invalid>
quoted from Josh Luthman
wrote:

Guys thanks so much i figured it out...thanks for all your help
Alyn

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Ansiimire · Fri, 5 Oct 2007 09:39:02 +0300 (EAT) ·
Hi Josh,
Yes the problem was that the web server wasn't running.
Thanks.
Alyn
quoted from Josh Luthman

Can you share with us you confirmed problem?  Was it the lack of a web
server?

Josh

On 10/4/07, user-9ece0f50c771@xymon.invalid <user-9ece0f50c771@xymon.invalid>
wrote:

Guys thanks so much i figured it out...thanks for all your help
Alyn

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer