Xymon Mailing List Archive search

problems configuring client?

10 messages in this thread

list Andreas Kuntzagk · Mon, 13 Aug 2007 12:49:03 +0200 ·
Hi,

I'm quite new to Hobbit and to this list. I managed to install hobbit on
a server and also on a few clients. So far, so good. But now I have
problems with just one client: 
It's data doesn't appear on the webpage. All other clients work well.
To study the problem I did a tcpdump on the client and there was data
send to the server. All machines run RHEL 4. The hobbitclient.cfg is
identical on all machines. 
Only differences in configuration is that the failing client is also
monitored for imaps and some rpc. The status of these is displayed.

Any idea what could cause this problem? Where could I search for more
information?

Second question:
I want to monitor if a usb drive is mounted. How best to do that? Is
there a test/ an extension for this?

Ciao, Andreas
list Charles Jones -X Charljon - Cisco Learning Institute at Cisco · Mon, 13 Aug 2007 04:03:56 -0700 ·
This is usually caused by a difference between the name you have in the hobbit servers bb-hosts file, and the name of the client host that is reported from the "hostname" command.

I'm willing to bet that if you check the "Ghost Clients" report, (http://yourhobbit.com/hobbit-cgi/hobbit-ghosts.sh , or see the hobbitd status) you will find that your client is reporting as a "ghost". To fix that, you should either fix the clients hostname, or alternatively you can stop the hobbit client on that machine, and restart it, using the --hostname option to force it to report as the same name as its entry in the servers bb-hosts file.

As for monitoring the USB drive, probably the easiest way is to add an entry to the hobbit-clients.cfg (on the hobbit server) to force that partition to be checked and trended. Something like:

HOST=yourhost.com
     DISK  /media/usb 90 95

Be sure to put this ABOVE the "DEFAULT" entry, and of course use the proper mount point in place of /media/usb. I use this same method to force the monitoring of a few NFS mounted volumes, which Hobbit by default ignores.

-Charles
quoted from Andreas Kuntzagk
 
-----Original Message-----
From: Andreas Kuntzagk [mailto:user-8c9e9e6a2a2d@xymon.invalid]
Sent: Mon 8/13/2007 3:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] problems configuring client?
 
Hi,

I'm quite new to Hobbit and to this list. I managed to install hobbit on
a server and also on a few clients. So far, so good. But now I have
problems with just one client: 
It's data doesn't appear on the webpage. All other clients work well.
To study the problem I did a tcpdump on the client and there was data
send to the server. All machines run RHEL 4. The hobbitclient.cfg is
identical on all machines. 
Only differences in configuration is that the failing client is also
monitored for imaps and some rpc. The status of these is displayed.

Any idea what could cause this problem? Where could I search for more
information?

Second question:
I want to monitor if a usb drive is mounted. How best to do that? Is
there a test/ an extension for this?

Ciao, Andreas
list Sello Tlabela SD · Mon, 13 Aug 2007 13:39:01 +0200 ·
Is this server behind the firewall?
Can you telnet to hobbit server on port 1984 from this client?

Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid | Office: +XX XX XXX XXXX | Fax: +XX XX
680 3299 | Cell: +XX XX XXX XXXX
quoted from Andreas Kuntzagk

-----Original Message-----
From: Andreas Kuntzagk [mailto:user-8c9e9e6a2a2d@xymon.invalid] 
Sent: 13 August 2007 12:49
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] problems configuring client?

Hi,

I'm quite new to Hobbit and to this list. I managed to install hobbit
on
a server and also on a few clients. So far, so good. But now I have
problems with just one client: 
It's data doesn't appear on the webpage. All other clients work well.
To study the problem I did a tcpdump on the client and there was data
send to the server. All machines run RHEL 4. The hobbitclient.cfg is
identical on all machines. 
Only differences in configuration is that the failing client is also
monitored for imaps and some rpc. The status of these is displayed.

Any idea what could cause this problem? Where could I search for more
information?

Second question:
I want to monitor if a usb drive is mounted. How best to do that? Is
there a test/ an extension for this?

Ciao, Andreas


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Tom Georgoulias · Mon, 13 Aug 2007 08:09:30 -0400 ·
quoted from Andreas Kuntzagk
Andreas Kuntzagk wrote:
I'm quite new to Hobbit and to this list. I managed to install hobbit on
a server and also on a few clients. So far, so good. But now I have
problems with just one client: It's data doesn't appear on the webpage. 
Only differences in configuration is that the failing client is also
monitored for imaps and some rpc. The status of these is displayed.
Any idea what could cause this problem? Where could I search for more
information?
Is data for that client showing up under the Reports->Ghost Clients menu?  That's the first place I'd check since some clients do not use the exact same hostname you chose in bb-hosts for their status messages.   If that is the case, you can use the CLIENT: tag in bb-hosts to work around that.
-- 
Tom Georgoulias
Sr. Systems Engineer
McClatchy Interactive
user-6a0b8b0f0ae1@xymon.invalid
list Andreas Kuntzagk · Mon, 13 Aug 2007 14:44:37 +0200 ·
Am Montag, den 13.08.2007, 13:39 +0200 schrieb Sello Tlabela (SD):
quoted from Sello Tlabela SD
Is this server behind the firewall?
Can you telnet to hobbit server on port 1984 from this client?
I can telnet to this port. So a firewall seems not to be the problem.

Andreas
list Galen Johnson · Mon, 13 Aug 2007 08:50:59 -0400 ·
Does it show up in the ghost reports?  It's possible that it's not
sending updates with the same name defined in bb-hosts.

=G=
quoted from Andreas Kuntzagk

-----Original Message-----
From: Andreas Kuntzagk [mailto:user-8c9e9e6a2a2d@xymon.invalid] 
Sent: Monday, August 13, 2007 8:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] problems configuring client?

Am Montag, den 13.08.2007, 13:39 +0200 schrieb Sello Tlabela (SD):
Is this server behind the firewall?
Can you telnet to hobbit server on port 1984 from this client?
I can telnet to this port. So a firewall seems not to be the problem.

Andreas
list Andreas Kuntzagk · Mon, 13 Aug 2007 15:22:15 +0200 ·
Thanks everybody. Yeah, it was the problem about different names used by
client. Solved now. I even remember to have read that portion of the man
page before but forgot that. Stupid me!

Charles: Sounds like a good solution, I'll try it.

Andreas
list Andreas Kuntzagk · Mon, 13 Aug 2007 16:40:53 +0200 ·
Hi,
quoted from Charles Jones -X Charljon - Cisco Learning Institute at Cisco
As for monitoring the USB drive, probably the easiest way is to add an entry to the hobbit-clients.cfg (on the hobbit server) to force that partition to be checked and trended. Something like:

HOST=yourhost.com
     DISK  /media/usb 90 95
Sorry, but this does not work for me. If I unmount the drive, status
stays green. In the disk details page it just shows the other mounted
filesystems.

Andreas
list Trent Melcher · Mon, 13 Aug 2007 10:20:11 -0500 ·
quoted from Andreas Kuntzagk
On Mon, 2007-08-13 at 16:40 +0200, Andreas Kuntzagk wrote:
Hi,
As for monitoring the USB drive, probably the easiest way is to add an entry to the hobbit-clients.cfg (on the hobbit server) to force that partition to be checked and trended. Something like:
HOST=yourhost.com
     DISK  /media/usb 90 95
Sorry, but this does not work for me. If I unmount the drive, status
stays green. In the disk details page it just shows the other mounted
filesystems.

Andreas
Your going to need to actually test for a file on that filesystem and
alert if the file disappears.  You just need to make sure that file
always exists when the filesystem is mounted, this way when the alarm
goes off you know the filesystem isnt mounted anymore.

Trent

list Sello Tlabela SD · Tue, 14 Aug 2007 07:29:58 +0200 ·
Try changing the threshold and fill it with data and see if you get
warning
signature

Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid | Office: +XX XX XXX XXXX | Fax: +XX XX
680 3299 | Cell: +XX XX XXX XXXX
-----Original Message-----

quoted from Andreas Kuntzagk
From: Andreas Kuntzagk [mailto:user-8c9e9e6a2a2d@xymon.invalid] 
Sent: 13 August 2007 16:41
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] problems configuring client?

Hi,
As for monitoring the USB drive, probably the easiest way is to add
an entry to the hobbit-clients.cfg (on the hobbit server) to force
that partition to be checked and trended. Something like:

HOST=yourhost.com
     DISK  /media/usb 90 95
Sorry, but this does not work for me. If I unmount the drive, status
stays green. In the disk details page it just shows the other mounted
filesystems.

Andreas


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~