Xymon Mailing List Archive search

vmstat problem

5 messages in this thread

list dOCtoR MADneSs · Thu, 18 Dec 2008 17:23:45 +0100 ·
Hi all,

I'm using Xymon 4.2.2 on both clients and server side.
All my OS are linux (almost all are kernel 2.6)

My case :
One of my client does not send [vmstat] section to the server. After
researching a lot, i found that executing manually hobbitclient-linux.sh is
working great. I've the hobbit_vmstat.HOSTNAME.$$ file created, but it's
not moved to hobbit_vmstat.HOSTNAME. So I modified hobbitclient-linux.sh in
order to get directly the hobbit_vmstat.HOSTNAME file, and it works when i
start hobbitclient-linux.sh manually. But when i start xymon client, the
hobbit_vmstat.HOSTNAME is not generated, and the message sent to my server
still doesn't include [vmstat] section

I'm sorry if my explanations/vocabulary sucks.

Any help would be very appreciated

Regards,
Damien
list Adam Goryachev · Fri, 19 Dec 2008 15:42:58 +1100 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
quoted from dOCtoR MADneSs

user-d54077869176@xymon.invalid wrote:
Hi all,

I'm using Xymon 4.2.2 on both clients and server side.
All my OS are linux (almost all are kernel 2.6)

My case :
One of my client does not send [vmstat] section to the server. After
researching a lot, i found that executing manually hobbitclient-linux.sh is
working great. I've the hobbit_vmstat.HOSTNAME.$$ file created, but it's
not moved to hobbit_vmstat.HOSTNAME. So I modified hobbitclient-linux.sh in
order to get directly the hobbit_vmstat.HOSTNAME file, and it works when i
start hobbitclient-linux.sh manually. But when i start xymon client, the
hobbit_vmstat.HOSTNAME is not generated, and the message sent to my server
still doesn't include [vmstat] section

I'm sorry if my explanations/vocabulary sucks.

Any help would be very appreciated
You should check what OS xymon thinks you are running on the host where
it works and one where it doesn't... You can override the OS in the
config files if needed. On debian that is in /etc/default/hobbit but
check the man pages for the details for other OS's.

Hope that helps!

Regards,
Adam

- --
Adam Goryachev
Website Managers
www.websitemanagers.com.au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklLJlIACgkQGyoxogrTyiWbHACgvkdbKjZXRvNUt7ShP3JM71hv
nTMAnjfgCrR4s4I6sf3eW9FCwWfD6d/R
=2OB1
-----END PGP SIGNATURE-----
list dOCtoR MADneSs · Fri, 19 Dec 2008 11:44:52 +0100 ·
quoted from Adam GoryachevAdam Goryachev a écrit :
-----BEGIN PGP SIGNED MESSAGE-----

Hash: SHA1



user-d54077869176@xymon.invalid wrote:

  
Hi all,



I'm using Xymon 4.2.2 on both clients and server side.

All my OS are linux (almost all are kernel 2.6)



My case :

One of my client does not send [vmstat] section to the server. After

researching a lot, i found that executing manually hobbitclient-linux.sh is

working great. I've the hobbit_vmstat.HOSTNAME.$$ file created, but it's

not moved to hobbit_vmstat.HOSTNAME. So I modified hobbitclient-linux.sh in

order to get directly the hobbit_vmstat.HOSTNAME file, and it works when i

start hobbitclient-linux.sh manually. But when i start xymon client, the

hobbit_vmstat.HOSTNAME is not generated, and the message sent to my server

still doesn't include [vmstat] section



I'm sorry if my explanations/vocabulary sucks.



Any help would be very appreciated

    

You should check what OS xymon thinks you are running on the host where

it works and one where it doesn't... You can override the OS in the

config files if needed. On debian that is in /etc/default/hobbit but

check the man pages for the details for other OS's.



Hope that helps!



Regards,

Adam



- --

Adam Goryachev

Website Managers

www.websitemanagers.com.au

-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.9 (GNU/Linux)

Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org



iEYEARECAAYFAklLJlIACgkQGyoxogrTyiWbHACgvkdbKjZXRvNUt7ShP3JM71hv

nTMAnjfgCrR4s4I6sf3eW9FCwWfD6d/R

=2OB1

-----END PGP SIGNATURE-----









  
Hi,

Thank you for your answer. In order to check what OS is detected by xymon, I looked where the variable BBOSSCRIPT is defined, I found this in hobbitclient.sh :
if test "$BBOSSCRIPT" = ""; then
        BBOSSCRIPT="hobbitclient-`uname -s | tr '[A-Z]' '[a-z]'`.sh"
fi

I do manually : echo "hobbitclient-`uname -s | tr '[A-Z]' '[a-z]'`.sh"
The output is : hobbitclient-linux.sh (that is the right file)
The column "info"confirms that the OS is well detected as Linux.

Regards,
Damien
list dOCtoR MADneSs · Thu, 25 Dec 2008 23:24:32 +0100 ·
Hi all,

I'm using Xymon 4.2.2 on both clients and server side.
All my OS are linux (almost all are kernel 2.6)

My case :
One of my client does not send [vmstat] section to the server. After
researching a lot, i found that executing manually hobbitclient-linux.sh is
working great. I've the hobbit_vmstat.HOSTNAME.$$ file created, but it's
not moved to hobbit_vmstat.HOSTNAME. So i modified hobbitclient-linux.sh in
order to get directly the hobbit_vmstat.HOSTNAME,
list dOCtoR MADneSs · Tue, 13 Jan 2009 08:51:37 +0100 ·
quoted from dOCtoR MADneSs
Hi all,

I'm using Xymon 4.2.2 on both clients and server side.
All my OS are linux (almost all are kernel 2.6)

My case :
One of my client does not send [vmstat] section to the server. After
researching a lot, i found that executing manually hobbitclient-linux.sh is
working great. I've the hobbit_vmstat.HOSTNAME.$$ file created, but it's
not moved to hobbit_vmstat.HOSTNAME. So I modified hobbitclient-linux.sh in
order to get directly the hobbit_vmstat.HOSTNAME file, and it works when i
start hobbitclient-linux.sh manually. But when i start xymon client, the
hobbit_vmstat.HOSTNAME is not generated, and the message sent to my server
still doesn't include [vmstat] section

I'm sorry if my explanations/vocabulary sucks.

Any help would be very appreciated.


I've got a second issue with vmstat. On my others clients, I get many
(about 10) hobbit_vmstat.$MACHINE.$$ files in $BBTMP dir. Is it a normal
behaviour ?

Regards,
Damien