Hobbit client not showing status on the hobbit server page
list Tanveer Siddiqui
I have setup a hobbit server (on Ubuntu) and for test purpose installed hobbit client on a Ubuntu machine. I updated the bb-hosts file on the server with the client IP address and hostname. But the only status I get for this client is conn, info, and trends. Which files do I need to update or edit to get rest of the status displayed on the Hobbit main page? Thanks! -TS
list Stef Coene
▸
On Monday 15 December 2008, Tanveer Siddiqui wrote:
I have setup a hobbit server (on Ubuntu) and for test purpose installed hobbit client on a Ubuntu machine. I updated the bb-hosts file on the server with the client IP address and hostname. But the only status I get for this client is conn, info, and trends. Which files do I need to update or edit to get rest of the status displayed on the Hobbit main page?
You also need to tun the hobbit client on the ubuntu machine. And point the BBDISP in hobbitclient.cfg to the hobbit server. Stef
list Tanveer Siddiqui
I have the hobbit client already running. Here are the current processes running on the client machine. obbit 5321 1 0 15:39 ? 00:00:00 /usr/lib/hobbit/client/bin/hobbitlaunch --config=/etc/hobbit/clientlaunch.cfg --log=/var/log/hobbit/clientlaunch.log --pidfile=/var/run/hobbit/clientlaunch.pid hobbit 5723 1 0 15:44 ? 00:00:00 sh -c vmstat 300 2 1>/var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop.5704 2>&1; mv /var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop.5704 /var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop hobbit 5724 5723 0 15:44 ? 00:00:00 vmstat 300 2 And I have the following lines in the hobbitclient.cfg file on the client. # Environment settings for the Hobbit client. BBDISP="X.X.X.X" include /etc/default/hobbit-client include /var/run/hobbit/bbdisp-runtime.cfg CONFIGCLASS="$BBOSTYPE" # Default configuration class for logfiles PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/lib/hobbit/client/bin" # PATH setting for the client scripts. # You normally dont need to modify anything below here BBPORT="1984" # Portnumber where hobbitd listens HOBBITCLIENTHOME="/usr/lib/hobbit/client" BBHOME="$HOBBITCLIENTHOME" # Directory for the Hobbit client files BB="$BBHOME/bin/bb" # The Hobbit client "bb" utility BBTMP="/var/lib/hobbit/tmp" # Where we may store temporary files. BBCLIENTLOGS="/var/log/hobbit" # Where we store the client logfiles include /var/run/hobbit/hobbitclient-include.cfg
▸
From: Stef Coene <user-dbffe946c0f4@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, December 15, 2008 3:20:15 PM
Subject: Re: [hobbit] Hobbit client not showing status on the hobbit server page
On Monday 15 December 2008, Tanveer Siddiqui wrote:I have setup a hobbit server (on Ubuntu) and for test purpose installed hobbit client on a Ubuntu machine. I updated the bb-hosts file on the server with the client IP address and hostname. But the only status I get for this client is conn, info, and trends. Which files do I need to update or edit to get rest of the status displayed on the Hobbit main page?
You also need to tun the hobbit client on the ubuntu machine. And point the BBDISP in hobbitclient.cfg to the hobbit server. Stef
list Asif Iqbal
▸
On Mon, Dec 15, 2008 at 3:44 PM, Tanveer Siddiqui <user-f9009ce28b88@xymon.invalid> wrote:
I have setup a hobbit server (on Ubuntu) and for test purpose installed hobbit client on a Ubuntu machine. I updated the bb-hosts file on the server with the client IP address and hostname. But the only status I get for this client is conn, info, and trends. Which files do I need to update or edit to get rest of the status displayed on the Hobbit main page?
I would suggest you compile it like the was henrik showed in his page. Much simpler to troubleshoot like that
Thanks! -TS
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Stef Coene
▸
On Monday 15 December 2008, Tanveer Siddiqui wrote:
I have the hobbit client already running. Here are the current processes
running on the client machine.
obbit 5321 1 0 15:39 ? 00:00:00
/usr/lib/hobbit/client/bin/hobbitlaunch
--config=/etc/hobbit/clientlaunch.cfg
--log=/var/log/hobbit/clientlaunch.log
--pidfile=/var/run/hobbit/clientlaunch.pid hobbit 5723 1 0 15:44 ?
00:00:00 sh -c vmstat 300 2
1>/var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop.5704 2>&1; mv
/var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop.5704
/var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop hobbit 5724 5723 0
15:44 ? 00:00:00 vmstat 300 2Check the client logfiles in /var/lib/hobbit/log for errrors. Also, check the ghost client list on the server (a link can be found in the server menu) and make sure your client is not listed. Stef
list Tanveer Siddiqui
Yes it is listed in the ghost client page. What do I do to fix it? Thanks.
▸
From: Stef Coene <user-dbffe946c0f4@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Monday, December 15, 2008 4:18:20 PM
Subject: Re: [hobbit] Hobbit client not showing status on the hobbit server page
On Monday 15 December 2008, Tanveer Siddiqui wrote:I have the hobbit client already running. Here are the current processes
running on the client machine.
obbit 5321 1 0 15:39 ? 00:00:00
/usr/lib/hobbit/client/bin/hobbitlaunch
--config=/etc/hobbit/clientlaunch.cfg
--log=/var/log/hobbit/clientlaunch.log
--pidfile=/var/run/hobbit/clientlaunch.pid hobbit 5723 1 0 15:44 ?
00:00:00 sh -c vmstat 300 2
1>/var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop.5704 2>&1; mv
/var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop.5704
/var/lib/hobbit/tmp/hobbit_vmstat.simpsojh-laptop hobbit 5724 5723 0
15:44 ? 00:00:00 vmstat 300 2Check the client logfiles in /var/lib/hobbit/log for errrors. Also, check the ghost client list on the server (a link can be found in the server menu) and make sure your client is not listed. Stef
list Heinelt Maik
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Does someone know, if there is already an external module for monitoring the s.m.a.r.t status of hard disks? I think, it would be helpful to avoid disk crashes of a server. I already use the smartmontools to check the smart status of the disks in our linux servers. But it would be fun to see and get alerts in Xymon, if the status of a disk is going to be bad ?! What do you think about it? Maik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklHGh0ACgkQr4r+EhimPOWnCQCg8C/LxYrB867nf/IMYramshKy xEMAnRQm9Of+DwFM+4xeefL3aMauUBhi =NKS7 -----END PGP SIGNATURE-----
list Josh Luthman
Maybe there is something here for what you're after? Two of them look like what you're asking. http://www.deadcat.net/search.php?menuosfamily=0&menulicense=0&menusection=0&filtermdate=&filterdescription=smart&menuNoPerPage=20&action=search&Filter=Filter 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
▸
On Mon, Dec 15, 2008 at 10:01 PM, Heinelt Maik <user-4ab5eb34adb2@xymon.invalid> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Does someone know, if there is already an external module for monitoring the s.m.a.r.t status of hard disks? I think, it would be helpful to avoid disk crashes of a server. I already use the smartmontools to check the smart status of the disks in our linux servers. But it would be fun to see and get alerts in Xymon, if the status of a disk is going to be bad ?! What do you think about it? Maik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklHGh0ACgkQr4r+EhimPOWnCQCg8C/LxYrB867nf/IMYramshKy xEMAnRQm9Of+DwFM+4xeefL3aMauUBhi =NKS7 -----END PGP SIGNATURE-----
list Heinelt Maik
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well, most of this scripts are just monitoring some APC batterys, which use the word "SMART" in their model name. But I also found one module in deadcat, which is monitoring the S.M.A.R.T status of a harddisk. I now will test this module. Thank you for your tipp! Regards Maik Heinelt
▸
Josh Luthman wrote:Maybe there is something here for what you're after? Two of them look like what you're asking. http://www.deadcat.net/search.php?menuosfamily=0&menulicense=0&menusection=0&filtermdate=&filterdescription=smart&menuNoPerPage=20&action=search&Filter=Filter 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 On Mon, Dec 15, 2008 at 10:01 PM, Heinelt Maik <user-4ab5eb34adb2@xymon.invalid <mailto:user-4ab5eb34adb2@xymon.invalid>> wrote: Hi, Does someone know, if there is already an external module for monitoring the s.m.a.r.t status of hard disks? I think, it would be helpful to avoid disk crashes of a server. I already use the smartmontools to check the smart status of the disks in our linux servers. But it would be fun to see and get alerts in Xymon, if the status of a disk is going to be bad ?! What do you think about it? Maik
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklHMTUACgkQr4r+EhimPOUcBQCgww0tXA+ysyvYKB+GyvN3InXC
gYUAoPBIicLzy1AH7zoql6DREOsv2MVM
=yU2r
-----END PGP SIGNATURE-----
list Stef Coene
▸
On Monday 15 December 2008, Tanveer Siddiqui wrote:
Yes it is listed in the ghost client page. What do I do to fix it?
The entry in the bb-hosts file must be the same as the entry on the ghost client page. Or. you can overrule this with the CLIENT option in the bb-hosts file. From the bb-hosts man page: CLIENT:hostname Defines an alias for a host, which will be used when identifying status messages. This is typically used to accomodate a local client that sends in status reports with a different hostname, e.g. if you use hostnames with domains in your Hobbit configuration, but the client is a silly Window box that does not include the hostname. Or vice versa. Whatever the reason, this can be used to match status reports with the hosts you define in your bb-hosts file. It causes incoming status reports with the specified hostname to be filed using the hostname defined in bb-hosts. Ste
list Michael Price
Check the ghost report, the hostname might be wrong ;-)
▸
On 12/15/08 3:44 PM, "Tanveer Siddiqui" <user-f9009ce28b88@xymon.invalid> wrote:
I have setup a hobbit server (on Ubuntu) and for test purpose installed hobbit client on a Ubuntu machine. I updated the bb-hosts file on the server with the client IP address and hostname. But the only status I get for this client is conn, info, and trends. Which files do I need to update or edit to get rest of the status displayed on the Hobbit main page?
Thanks!
-TS
list Renard Samuel
Hi,
I've noticed a difference int the the command column in the procs
display between Unix (AIX) and Linux (debia, red hat). The procs list
under Linux :
PID PPID USER STARTED S PRI %CPU TIME %MEM RSZ VSZ CMD
1 0 root 15:39:06 S 19 0.0 00:00:01 0.1 648 1940 init
[2]
2 0 root 15:39:06 S 24 0.0 00:00:00 0.0 0 0
[kthreadd]
3 2 root 15:39:06 S 139 0.0 00:00:00 0.0 0 0
[migration/0]
4 2 root 15:39:06 S 24 0.0 00:00:00 0.0 0 0
[ksoftirqd/0]
[...]
And AIX is :
PID PPID USER S PRI %CPU TIME ELAPSED %MEM VSZ
COMMAND
0 0 root A 16 0.1 02:45:48 56-03:20:13 0.0 12
swapper
1 0 root A 60 0.0 01:05:15 56-03:19:37 0.0 344
/etc/init
516 0 root A 127 47.2 52-23:25:24 56-03:20:13 0.0 8
kproc
774 0 root A 127 47.0 52-18:40:53 56-03:20:13 0.0 8
kproc
[...]
The command column under AIX is COMMAND and Linux is CMD. The problem is
that I can't check any process under linux servers although with AIX
servers it's ok, no problems.
Is the problem could be that difference ?
Thx,
Regards,
Samuel Renard.
Ce message a ete scanne par l'anti-virus du Conseil General du Finistere.
list Stef Coene
▸
On Tuesday 16 December 2008, RENARD Samuel wrote:
The command column under AIX is COMMAND and Linux is CMD. The problem is that I can't check any process under linux servers although with AIX servers it's ok, no problems. Is the problem could be that difference ?
No, it doesn't matter. It should work for linux and AIX. Stef
list Stef Coene
On Tuesday 16 December 2008, RENARD Samuel wrote:
Hi,
An other remark, you "hijacked" a thread. If you want to start a new discussion, just send a mail to user-ae9b8668bcde@xymon.invalid. Do not replay and change the subject and body because the headers are used for threading. Stef
list Brian Catlin
Had same issue with SuSE SLES10 = thanks to some of the folks here learned about option in the runclient.sh script - the Linux clients only send short name and needed FQN on server side. Solution is to completely kill off client processes completely, then restart with the --hostname="whatevr.host is" (check the script for proper syntax - don't have it handy here at home) My thanks to those who helped me out with suggestions -- been running solid for 2 weeks now. Now we will see if it behaves on RHEL 5!!!! (just got assigned 2 VMs using RHEL5 = RSA products ONLY support Redhat Linux officially - they refuse any other Linux build support - at least they still support Solaris) user-259d6a9a548a@xymon.invalid
▸
-------Original Message-------
From: Michael Price
Date: 12/16/2008 9:56:21 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit client not showing status on the hobbit server
page
Check the ghost report, the hostname might be wrong ;-)
On 12/15/08 3:44 PM, "Tanveer Siddiqui" <user-f9009ce28b88@xymon.invalid> wrote:
I have setup a hobbit server (on Ubuntu) and for test purpose installed
hobbit client on a Ubuntu machine. I updated the bb-hosts file on the server
with the client IP address and hostname. But the only status I get for this
client is conn, info, and trends. Which files do I need to update or edit to
get rest of the status displayed on the Hobbit main page?
Thanks!
-TS
list Stef Coene
▸
On Wednesday 17 December 2008, Brian Catlin wrote:
Had same issue with SuSE SLES10 = thanks to some of the folks here learned about option in the runclient.sh script - the Linux clients only send short name and needed FQN on server side. Solution is to completely kill off client processes completely, then restart with the --hostname="whatevr.host is" (check the script for proper syntax - don't have it handy here at home)
It is better to use the CLIENT option in the bb-hosts file for this. Otherwise you can not upgrade the client by simple copying the new files. Stef
list Renard Samuel
Sorry for the hijacked thread! My problem is that I can't check any logs in linux servers whereas with unix servers it works. I don't understand why it doesn't work. I thought it was the difference between COMMAND and CMD but msgs and ports don't work to. I've no yelling logs , so .... Samuel
▸
-----Message d'origine-----
De : Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid]
Envoyé : mardi 16 décembre 2008 21:10
À : user-ae9b8668bcde@xymon.invalid
Objet : Re: [hobbit] procs check differences Unix/Linux
On Tuesday 16 December 2008, RENARD Samuel wrote:Hi,
An other remark, you "hijacked" a thread. If you want to start a new discussion, just send a mail to user-ae9b8668bcde@xymon.invalid. Do not replay and change the subject and body because the headers are used for threading. Stef Ce message a ete scanne par l'anti-virus du Conseil General du Finistere. Ce message a ete scanne par l'anti-virus du Conseil General du Finistere.