Xymon Mailing List Archive search

hobbit and bigsister

6 messages in this thread

list Etienne Roulland · Mon, 07 Feb 2005 18:39:14 +0100 ·
Hi everybody,

i'm trying to set up an hobbit server with both big brother & sister
clients.

I don't have problem to get the rrd graphs from BigB client but big
sister doesn't seems to be "hobbit aware"...

I get this for the disks test :

N/A                      9.2GB     7.7GB     1.5GB  84% /
N/A                        9GB     6.6GB     2.4GB  74% /home

So i get :
2005-02-07 18:36:13 RRD error creating /usr/local/stow/hobbit//data/rrd/mybox/disk,N/A.rrd: creating '/usr/local/stow/hobbit//data/rrd/mybox/disk,N/A.rrd': No such file or directory

I don't understand why i get an "N/A"..

Is somebody ever tried this setting ? And did it work ?

Regards,

-- 
Etienne Roulland <user-318b6b240fb9@xymon.invalid>
list Henrik Størner · Mon, 7 Feb 2005 18:25:35 +0000 (UTC) ·
quoted from Etienne Roulland
In <user-db31193ab165@xymon.invalid> Etienne Roulland <user-318b6b240fb9@xymon.invalid> writes:
i'm trying to set up an hobbit server with both big brother & sister
clients.
I don't have problem to get the rrd graphs from BigB client but big
sister doesn't seems to be "hobbit aware"...
I get this for the disks test :
N/A                      9.2GB     7.7GB     1.5GB  84% /
N/A                        9GB     6.6GB     2.4GB  74% /home
So i get :
2005-02-07 18:36:13 RRD error creating /usr/local/stow/hobbit//data/rrd/mybox/disk,N/A.rrd: creating '/usr/local/stow/hobbit//data/rrd/mybox/disk,N/A.rrd': No such file or directory

Interesting, I don't quite understand why the "N/A" is not converted
by hobbitd_larrd when it generates the RRD filename. The only reason I
can think of is that it somehow gets confused and thinks this is a
report from a Windows client.

Could you send me the raw status message that Big Sister reports ? You
can get it by running 

   ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.disk"


Henrik
list Charles Jones · Mon, 07 Feb 2005 11:27:08 -0700 ·
Hobbit creates its disk rrd files with the name of the mount/partition in the filename...ie.  "disk,$mountpoint.rrd".
Since your BigSister client is reporting the mount point as "N/A", Hobbit is trying to create a file called "disk,N/A.rrd", and UNIX is interpreting the "/A" as being a subdirectory (which doesn't exist), thus getting the error.

The solution is to either fix the bigsister client so that it properly reports the mountpoints in its disk test, or use a bb client instead which doesnt seem to have this problem.

-Charles
quoted from Etienne Roulland

Etienne Roulland wrote:
Hi everybody,

i'm trying to set up an hobbit server with both big brother & sister
clients.

I don't have problem to get the rrd graphs from BigB client but big
sister doesn't seems to be "hobbit aware"...

I get this for the disks test :

N/A                      9.2GB     7.7GB     1.5GB  84% /
N/A                        9GB     6.6GB     2.4GB  74% /home

So i get :
2005-02-07 18:36:13 RRD error creating /usr/local/stow/hobbit//data/rrd/mybox/disk,N/A.rrd: creating '/usr/local/stow/hobbit//data/rrd/mybox/disk,N/A.rrd': No such file or directory

I don't understand why i get an "N/A"..

Is somebody ever tried this setting ? And did it work ?

Regards,

 
list Etienne Roulland · Tue, 08 Feb 2005 10:19:52 +0100 ·
On Mon, 2005-02-07 at 18:25 +0000, Henrik Storner wrote:

Hi Henrik,

thanks for your quick response.

It looks like i have to switch to big sister mailing list.

Result of hobbitdlog command :

 ./bb 127.0.0.1 "hobbitdlog sphax.exp33.cvf.disk"
sphax.exp33.cvf|disk|green||1107779028|1107854044|1107855844|0|0|
10.133.1.29|-1||
green (1107854043) Tue Feb  8 10:14:03 2005 no errors logged
&green /home 2.4GB (26%) free, &green / 1.5GB (16%) free
&html<HR></HR><PRE><strong>Filesystem                Size      Used
Available Use% Resource name

</strong>N/A                      9.2GB     7.7GB     1.5GB  84% /
N/A                        9GB     6.6GB     2.4GB  74% /home
</PRE>


Regards,
quoted from Etienne Roulland

In <user-db31193ab165@xymon.invalid> Etienne Roulland <user-318b6b240fb9@xymon.invalid> writes:
i'm trying to set up an hobbit server with both big brother & sister
clients.
I don't have problem to get the rrd graphs from BigB client but big
sister doesn't seems to be "hobbit aware"...
I get this for the disks test :
N/A                      9.2GB     7.7GB     1.5GB  84% /
N/A                        9GB     6.6GB     2.4GB  74% /home
So i get :
2005-02-07 18:36:13 RRD error creating /usr/local/stow/hobbit//data/rrd/mybox/disk,N/A.rrd: creating '/usr/local/stow/hobbit//data/rrd/mybox/disk,N/A.rrd': No such file or directory

Interesting, I don't quite understand why the "N/A" is not converted
by hobbitd_larrd when it generates the RRD filename. The only reason I
can think of is that it somehow gets confused and thinks this is a
report from a Windows client.

Could you send me the raw status message that Big Sister reports ? You
can get it by running 
   ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.disk"


Henrik

-- 

Etienne Roulland <user-318b6b240fb9@xymon.invalid>
list Henrik Størner · Tue, 8 Feb 2005 10:46:42 +0100 ·
Hi Etienne,

as I suspected, the content of the Big Sister disk-report is such that
Hobbit mistakes it for being a report from a Windows host, and
therefore it doesn't do the necessary conversion of the
filesystemnames. So the "N/A" ends up as part of a filename, and
Hobbit tries to store the RRD file in a "N" directory which does not
exist. Hence the error you see.

I'll try and make Hobbit figure out how to handle the Big Sister disk
reports. Since a Hobbit client is not yet widely available, it would
be nice if Big Sister could be used to feed Hobbit.

Do the other client-side messages (cpu, memory) work as they should ?
I don't even know if BS provides those, but I suppose it does.


Regards,
Henrik
quoted from Etienne Roulland


On Tue, Feb 08, 2005 at 10:19:52AM +0100, Etienne Roulland wrote:
On Mon, 2005-02-07 at 18:25 +0000, Henrik Storner wrote:

It looks like i have to switch to big sister mailing list.

Result of hobbitdlog command :

 ./bb 127.0.0.1 "hobbitdlog sphax.exp33.cvf.disk"
sphax.exp33.cvf|disk|green||1107779028|1107854044|1107855844|0|0|
10.133.1.29|-1||
green (1107854043) Tue Feb  8 10:14:03 2005 no errors logged
&green /home 2.4GB (26%) free, &green / 1.5GB (16%) free
&html<HR></HR><PRE><strong>Filesystem                Size      Used
Available Use% Resource name

</strong>N/A                      9.2GB     7.7GB     1.5GB  84% /
N/A                        9GB     6.6GB     2.4GB  74% /home
</PRE>

list Etienne Roulland · Tue, 08 Feb 2005 10:58:20 +0100 ·
On Tue, 2005-02-08 at 10:46 +0100, Henrik Stoerner wrote:

Hi,

another weird thing : big sister seems to group some tests in one (meme
cpu .. )  which is not really understood by hobbit.

 ./bb 127.0.0.1 "hobbitdlog sphax.exp33.cvf.cpu"
sphax.exp33.cvf|cpu|green||1107856145|1107856145|1107857945|0|0|
10.133.1.29|-1||
green (1107856143) Tue Feb  8 10:49:03 2005 CPU load = 0.87, &green 92%
idle
&green Swap Space 243.2MB (100%) free, &green logged on users = 9
top - 10:49:03 up 4 days, 15:21,  9 users,  load average: 0.87, 0.97,
0.83
Tasks:  92 total,   1 running,  91 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.7% us,  1.3% sy,  0.0% ni, 94.3% id,  0.0% wa,  0.3% hi,
0.3% si
Mem:    514364k total,   467172k used,    47192k free,    69212k buffers
Swap:   248996k total,        0k used,   248996k free,   165940k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND            21789 eroullan  15   0  6848 5288 2788 S  1.3  1.0   0:03.46
aterm              30494 eroullan  15   0  3296 1732 2920 S  1.0  0.3   0:00.92
ssh                 2178 root       5 -10 46560  26m  31m S  0.3  5.3 540:30.23
XFree86             2293 eroullan  15   0 17572 8392  14m S  0.3  1.6   8:25.31
clock-applet        3644 eroullan  15   0  152m  83m  36m S  0.3 16.5 121:01.84
galeon              2367 root      27  10  2064 1060 1848 R  0.3  0.2   0:00.02
top                    1 root      16   0  1500  516 1344 S  0.0  0.1   0:00.73
init                   2 root      34  19     0    0    0 S  0.0  0.0   0:00.01
ksoftirqd/0            3 root       5 -10     0    0    0 S  0.0  0.0   0:01.37
events/0               4 root       5 -10     0    0    0 S  0.0  0.0   0:00.03
khelper                5 root      14 -10     0    0    0 S  0.0  0.0   0:00.00
kacpid                21 root       5 -10     0    0    0 S  0.0  0.0   0:00.22
kblockd/0             22 root      15   0     0    0    0 S  0.0  0.0   0:00.00
khubd                 32 root      20   0     0    0    0 S  0.0  0.0   0:00.00
pdflush               33 root      15   0     0    0    0 S  0.0  0.0   0:11.66
pdflush               35 root       9 -10     0    0    0 S  0.0  0.0   0:00.00
aio/0                 34 root      16   0     0    0    0 S  0.0  0.0   0:00.58
kswapd0              646 root      25   0     0    0    0 S  0.0  0.0   0:00.00
kseriod              677 root      15   0     0    0    0 S  0.0  0.0   0:06.74
kjournald           1007 root       5 -10     0    0    0 S  0.0  0.0   0:00.05
reiserfs/0          1008 root      15   0     0    0    0 S  0.0  0.0   0:00.00
kjournald           1418 root      17   0  1512  428 1352 S  0.0  0.1   0:00.00
dhcpcd-bin          1424 daemon    16   0  1608  552 1432 S  0.0  0.1   0:00.01
portmap             1660 root      16   0  1556  632 1384 S  0.0  0.1   0:02.26
syslogd             1664 root      16   0  2416 1484 1336 S  0.0  0.3   0:00.16
klogd              
&html<HR></HR><PRE><strong>Filesystem                Size      Used
Available Use% Resource name

</strong>N/A                    243.2MB        0B   243.2MB   0% Swap
Space
</PRE>
quoted from Henrik Størner

Hi Etienne,

as I suspected, the content of the Big Sister disk-report is such that
Hobbit mistakes it for being a report from a Windows host, and
therefore it doesn't do the necessary conversion of the
filesystemnames. So the "N/A" ends up as part of a filename, and
Hobbit tries to store the RRD file in a "N" directory which does not
exist. Hence the error you see.

I'll try and make Hobbit figure out how to handle the Big Sister disk
reports. Since a Hobbit client is not yet widely available, it would
be nice if Big Sister could be used to feed Hobbit.

Do the other client-side messages (cpu, memory) work as they should ?
I don't even know if BS provides those, but I suppose it does.


Regards,
Henrik


On Tue, Feb 08, 2005 at 10:19:52AM +0100, Etienne Roulland wrote:
On Mon, 2005-02-07 at 18:25 +0000, Henrik Storner wrote:
It looks like i have to switch to big sister mailing list.
Result of hobbitdlog command :
 ./bb 127.0.0.1 "hobbitdlog sphax.exp33.cvf.disk"
sphax.exp33.cvf|disk|green||1107779028|1107854044|1107855844|0|0|
10.133.1.29|-1||
green (1107854043) Tue Feb  8 10:14:03 2005 no errors logged
&green /home 2.4GB (26%) free, &green / 1.5GB (16%) free
&html<HR></HR><PRE><strong>Filesystem                Size      Used
Available Use% Resource name
</strong>N/A                      9.2GB     7.7GB     1.5GB  84% /
N/A                        9GB     6.6GB     2.4GB  74% /home
</PRE>
-- 

Etienne Roulland <user-318b6b240fb9@xymon.invalid>