Hello All! I have the following setup for hobbit / xymon.:
Linux Fedora 9 and Hobbitserver 4.2.2-RC1
I was able to successfully install hobbit and it shows up in a browser with the configured hosts. the problem i am having is with viewing CURRENT status. Whenever i click the icon for status, i get a blank white page with "Status not Available". HISTORY functions however work.
I suspected it be a permission problem so I set all files to global 777 and even tried chown all of em to apache. Obviously this is in a test env but even with the completely wide open perm, still same issue.
The bb-hostcvs.sh returns status not available but nothing is written to the hobbit or apache log files that would give an idea as to why this is happening.
Does anybody have any ideas?
THANKS!!!
In <OF44835364.4FEF316D-ON88257519.007A5AF4-88257519.007AE2D0 at hra.com> MFisher at hra.com writes:
Linux Fedora 9 and Hobbitserver 4.2.2-RC1
I was able to successfully install hobbit and it shows up in a browser = with the configured hosts. the problem i am having is with viewing CURRENT status. Whenever i click the icon for status, i get a blank white page = with "Status not Available". HISTORY functions however work.
That means the CGI script could not contact the Hobbit server to query the current status. The CGI sends a "hobbitdlog" query to the $BBDISP server, this environment variable should be set to the IP-address where your Hobbit server daemon (hobbitd) is running.
This is usually picked up from the hobbitserver.cfg configuration file, so check what you've listed there.
Regards, Henrik
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
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
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 <stef.coene at docum.org> To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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 2 Check 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
Yes it is listed in the ghost client page. What do I do to fix it?
Thanks.
From: Stef Coene <stef.coene at docum.org> To: hobbit at hswn.dk 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 2 Check 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-----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-----
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...
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
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 <maik at vegasystems.com> 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-----
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-----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...
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
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 <maik at vegasystems.com <mailto:maik at vegasystems.com>> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>
-----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-----
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.
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.
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
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 hobbit at hswn.dk. Do not replay and change the subject and body because the headers are used for threading.
Stef
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:stef.coene at docum.org] Envoyé : mardi 16 décembre 2008 21:10 À : hobbit at hswn.dk 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 hobbit at hswn.dk. Do not replay and change the subject and body because the headers are used for threading.
Stef
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
On Mon, Dec 15, 2008 at 3:44 PM, Tanveer Siddiqui <tanveers at yahoo.com> 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
Check the ghost report, the hostname might be wrong ;-)
On 12/15/08 3:44 PM, "Tanveer Siddiqui" <tanveers at yahoo.com> 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
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)
lurch at inorbit.com -------Original Message-------
From: Michael Price Date: 12/16/2008 9:56:21 AM To: hobbit at hswn.dk 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" <tanveers at yahoo.com> 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
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
On Tuesday 09 December 2008 00:22:34 MFisher at hra.com wrote:
Hello All! I have the following setup for hobbit / xymon.:
Linux Fedora 9 and Hobbitserver 4.2.2-RC1
I was able to successfully install hobbit and it shows up in a browser with the configured hosts. the problem i am having is with viewing CURRENT status. Whenever i click the icon for status, i get a blank white page with "Status not Available". HISTORY functions however work.
I suspected it be a permission problem so I set all files to global 777 and even tried chown all of em to apache. Obviously this is in a test env but even with the completely wide open perm, still same issue.
The bb-hostcvs.sh returns status not available but nothing is written to the hobbit or apache log files that would give an idea as to why this is happening.
Does anybody have any ideas?
SELinux. Either apply the right contexts to the hobbit cgi files, or turn off SELinux protection for Apache, or (if you really can't be bothered with using SELinux correctly), turn it off.
(if you are interested in using SELinux correctly, install setroubleshoot, and tail it's log while you access the CGIs ...).
I previously sent the 2 or 3 SELinux commands required to make things work without disabling anything related to SELinux to the list ...
Regards, Buchan
participants (11)
-
bcatlin@gmail.com
-
bgmilne@staff.telkomsa.net
-
henrik@hswn.dk
-
josh@imaginenetworksllc.com
-
maik@vegasystems.com
-
MFisher@hra.com
-
mprice@sgt-inc.com
-
Samuel.RENARD@cg29.fr
-
stef.coene@docum.org
-
tanveers@yahoo.com
-
vadud3@gmail.com