Xymon Mailing List Archive search

protocol that use hobbit for communication

19 messages in this thread

list Youness Hajjioui · Tue, 27 Jan 2009 21:48:39 +0000 ·
hi,

SNMP is the protocol used by monitoring systems to get data from clients...

does hobbit use SNMP or there is an other protocol?!

thanks :-)
list Galen Johnson · Tue, 27 Jan 2009 17:24:15 -0500 ·
Look at devmon.  It ties into Hobbit/Xymon.  I believe Henrik even rolled the patches needed into 4.2.2.

=G=
quoted from Youness Hajjioui

From: youness hajjioui [mailto:user-035125402428@xymon.invalid]
Sent: Tuesday, January 27, 2009 4:49 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] protocol that use hobbit for communication

hi,

SNMP is the protocol used by monitoring systems to get data from clients...

does hobbit use SNMP or there is an other protocol?!

thanks :-)
list Youness Hajjioui · Wed, 28 Jan 2009 02:24:30 +0000 ·
hi,

thanks for your response Galen, it's clearly that Devmon designed to
supplement and enhance hobbit monitor, so what is the protocol that hobbit
use to get and set data (only ICMP and TCP port tests), because i heard
someone talking about the BB protocol!!


thanks a lot :-)
list Josh Luthman · Tue, 27 Jan 2009 21:55:47 -0500 ·
They may be referring to bbproxy or the clients communicating to the
server...

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 Tue, Jan 27, 2009 at 9:24 PM, youness hajjioui <
quoted from Youness Hajjioui
user-035125402428@xymon.invalid> wrote:
hi,

thanks for your response Galen, it's clearly that Devmon designed to
supplement and enhance hobbit monitor, so what is the protocol that hobbit
use to get and set data (only ICMP and TCP port tests), because i heard
someone talking about the BB protocol!!


thanks a lot :-)
list Youness Hajjioui · Wed, 28 Jan 2009 03:20:02 +0000 ·
well, the server refers to data that the client but the question was the
protocol used by hobbit to commuicate?!

thanks :-)
list Galen Johnson · Tue, 27 Jan 2009 22:29:14 -0500 ·
Hobbit has it's own protocol that utilizes tcp port 1984, the same as BB.  Hobbit/Xymon server recognizes and can accept the BB protocol for BB clients for compatibility.  However, the reverse is not true (BB servers cannot use Hobbit/Xymon clients).

If you are operating behind a firewall you  either have to open port 1984 between clients and server, use hobbitfetch or use an ssh tunnel.  Check the list archives as similar questions have been asked.
quoted from Youness Hajjioui

=G=

From: youness hajjioui [mailto:user-035125402428@xymon.invalid]
Sent: Tuesday, January 27, 2009 10:20 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] protocol that use hobbit for communication

well, the server refers to data that the client but the question was the protocol used by hobbit to commuicate?!

thanks :-)
list Youness Hajjioui · Wed, 28 Jan 2009 03:51:45 +0000 ·
thanks again Galen, you were very clear... ;-)
list Ulric Eriksson · Wed, 28 Jan 2009 09:31:20 +0100 (CET) ·
quoted from Youness Hajjioui

On Wed, 28 Jan 2009, youness hajjioui wrote:
well, the server refers to data that the client but the question was the
protocol used by hobbit to commuicate?!
A cleartext protocol over tcp, usually port 1984. The message 
syntax is described in the bb manpage.

Ulric
list Henrik Størner · Wed, 28 Jan 2009 12:24:42 +0000 (UTC) ·
quoted from Youness Hajjioui
In <user-b8f0fddec540@xymon.invalid> youness hajjioui <user-035125402428@xymon.invalid> writes:
SNMP is the protocol used by monitoring systems to get data from clients...
does hobbit use SNMP or there is an other protocol?!

Hobbit clients use a TCP connection to the Hobbit server
(on port 1984 by default) to send data about the client.

Hobbit does not use SNMP for client data collection.


Regards,
Henrik
list Russell Cook · Wed, 28 Jan 2009 16:31:26 +0000 ·
I am trying to graph the ntp offset of a few ntp servers. I can see a definition in hobbitgraph referring to [ntpstat] and have defined the ntp test in the bb-hosts file, but I don't see any rrds being generated and obviously no graphs for the hosts.

What do I need to do to make the graphs appear?

Regards
Russell
Synetrix Holdings Limited
Tel: +XX (X)XXXX XXX XXX
www.synetrix.co.uk

Synetrix (Holdings) Limited is a limited company registered in England and Wales. Registered number: 0349 1956. VAT number: GB776 1259 07. Registered office: Synetrix House, 49-XX Victoria Road, Farnborough, Hampshire, GU14 7PA.

IMPORTANT NOTICE:
This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Synetrix Holdings Limited. Synetrix Holdings Limited accepts no responsibility for loss or damage arising from its use, including damage from virus.
list Youness Hajjioui · Wed, 28 Jan 2009 18:54:27 +0000 ·
thank you Ulrik and Henrik for your response, you were very clear...:-)
list Henrik Størner · Wed, 28 Jan 2009 21:24:00 +0000 (UTC) ·
In <user-a1ec61ea53a1@xymon.invalid> <user-72e95584e49c@xymon.invalid> writes:
I am trying to graph the ntp offset of a few ntp servers. I can see a defin=
ition in hobbitgraph referring to [ntpstat] and have defined the ntp test i=
n the bb-hosts file, but I don't see any rrds being generated and obviously=
quoted from Russell Cook
no graphs for the hosts.
What do I need to do to make the graphs appear?
Heh, I didn't realize that had snuck into the distribution :-)

It's using data from "ntpq", running as a client-side add-on on the box
that you want to monitor ntp for. It's dead simple:


#!/bin/sh

# This script is an extension for the BB client running on
# your server. It will feed data about the local NTP daemon
# into Hobbit, where the offset between the NTP reference
# clock and the local clock will be graphed.

$BB $BBDISP "data $MACHINE.ntpstat

`ntpq -c \"rv 0 offset\"`
"

exit 0


Regards,
Henrik
list Martin Ward · Fri, 30 Jan 2009 10:19:10 -0000 ·
Hey Henrik,

Thanks for this, I didn't even know I wanted one of these until it was mentioned!

Only issue for me is a Solaris-specific one, in that "rv 0 offset" doesn't work because the default Solaris ntpq program doesn't understand 0 as a valid association. I'm still trying to figure out a different way of getting the system time offset on a Solaris box (without installing a different NTP client!), have you heard of anything?

|\/|artin
-----Original Message-----
From: Henrik "Størner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: 28 January 2009 21:24
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] NTP Graphing


In <user-1aad613d1250@xymon.invalid
quoted from Henrik Størner
hl.local> <user-72e95584e49c@xymon.invalid> writes:
I am trying to graph the ntp offset of a few ntp servers. I can see a >defin= ition in hobbitgraph referring to [ntpstat] and have defined the >ntp test i= n the bb-hosts file, but I don't see any rrds being >generated and obviously=  no graphs for the hosts.
What do I need to do to make the graphs appear?
Heh, I didn't realize that had snuck into the distribution :-)

It's using data from "ntpq", running as a client-side add-on on the box that you want to monitor ntp for. It's dead simple:


#!/bin/sh

# This script is an extension for the BB client running on
# your server. It will feed data about the local NTP daemon
# into Hobbit, where the offset between the NTP reference
# clock and the local clock will be graphed.

$BB $BBDISP "data $MACHINE.ntpstat

`ntpq -c \"rv 0 offset\"`
"

exit 0


Regards,
Henrik

*************************************************************************************

The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. 
The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing user-61c7f445d564@xymon.invalid and delete the message and any attachments without retaining any copies. 
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. 
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
list Martin Flemming · Tue, 19 May 2009 01:04:56 +0200 (CEST) ·
Hi, Martin !

Got you a solution for solaris ... or someone else ?

.. and second, who knows a good pluggin for monitoring timeservers for themselves  ?

thanks & cheers,

 	martin
quoted from Martin Ward


On Fri, 30 Jan 2009, Ward, Martin wrote:
Hey Henrik,

Thanks for this, I didn't even know I wanted one of these until it was mentioned!

Only issue for me is a Solaris-specific one, in that "rv 0 offset" doesn't work because the default Solaris ntpq program doesn't understand 0 as a valid association. I'm still trying to figure out a different way of getting the system time offset on a Solaris box (without installing a different NTP client!), have you heard of anything?

|\/|artin
-----Original Message-----
From: Henrik "Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: 28 January 2009 21:24
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] NTP Graphing


In
<user-1aad613d1250@xymon.invalid
hl.local> <user-72e95584e49c@xymon.invalid> writes:
I am trying to graph the ntp offset of a few ntp servers. I
can see a
defin= ition in hobbitgraph referring to [ntpstat] and have
defined the
ntp test i= n the bb-hosts file, but I don't see any rrds being
generated and obviously=  no graphs for the hosts.
What do I need to do to make the graphs appear?
Heh, I didn't realize that had snuck into the distribution :-)

It's using data from "ntpq", running as a client-side add-on
on the box that you want to monitor ntp for. It's dead simple:


#!/bin/sh

# This script is an extension for the BB client running on
# your server. It will feed data about the local NTP daemon
# into Hobbit, where the offset between the NTP reference
# clock and the local clock will be graphed.

$BB $BBDISP "data $MACHINE.ntpstat

`ntpq -c \"rv 0 offset\"`
"

exit 0


Regards,
Henrik

*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.

The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing user-61c7f445d564@xymon.invalid and delete the message and any attachments without retaining any copies.

Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.

No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.

Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.

list Dominique Frise · Tue, 19 May 2009 09:02:58 +0200 ·
quoted from Martin Flemming
Martin Flemming wrote:
Hi, Martin !

Got you a solution for solaris ... or someone else ?

.. and second, who knows a good pluggin for monitoring timeservers for 
themselves  ?

thanks & cheers,

    martin


On Fri, 30 Jan 2009, Ward, Martin wrote:
Hey Henrik,

Thanks for this, I didn't even know I wanted one of these until it was 
mentioned!

Only issue for me is a Solaris-specific one, in that "rv 0 offset" 
doesn't work because the default Solaris ntpq program doesn't 
understand 0 as a valid association. I'm still trying to figure out a 
different way of getting the system time offset on a Solaris box 
(without installing a different NTP client!), have you heard of anything?

|\/|artin
-----Original Message-----
From: Henrik "Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: 28 January 2009 21:24
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] NTP Graphing


In
<user-1aad613d1250@xymon.invalid
hl.local> <user-72e95584e49c@xymon.invalid> writes:
I am trying to graph the ntp offset of a few ntp servers. I
can see a
defin= ition in hobbitgraph referring to [ntpstat] and have
defined the
ntp test i= n the bb-hosts file, but I don't see any rrds being
generated and obviously=  no graphs for the hosts.
What do I need to do to make the graphs appear?
Heh, I didn't realize that had snuck into the distribution :-)

It's using data from "ntpq", running as a client-side add-on
on the box that you want to monitor ntp for. It's dead simple:


#!/bin/sh

# This script is an extension for the BB client running on
# your server. It will feed data about the local NTP daemon
# into Hobbit, where the offset between the NTP reference
# clock and the local clock will be graphed.

$BB $BBDISP "data $MACHINE.ntpstat

`ntpq -c \"rv 0 offset\"`
"

exit 0


Regards,
Henrik

"ntpq -c peers" also reports offset.
On solaris 9/10 clients, you could use:


$BB $BBDISP "data $MACHINE.ntpstat

`echo offset=\`ntpq -c peers | tail +3 | head -1 | awk '{ print $9 }'\``
"
exit 0


Dominique
list Martin Ward · Tue, 19 May 2009 09:51:40 +0100 ·
Hi all,
From: Dominique Frise [mailto:user-78ab6673b600@xymon.invalid]
quoted from Dominique Frise

$BB $BBDISP "data $MACHINE.ntpstat

`echo offset=\`ntpq -c peers | tail +3 | head -1 | awk '{ print $9
}'\``
"
exit 0
Thanks Dominique, this is pretty much what I have except I have other
code in there to select the NTP server that this machine is actually
syncing to, although if there is ever a time when no NTP server is
synced to then my script will break :-(

I'll try and get some more sanity checking in to it one day though!

|\/|artin
quoted from Martin Flemming


*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. 
The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing user-61c7f445d564@xymon.invalid and delete the message and any attachments without retaining any copies. 
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. 
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
list Brian Daly · Tue, 19 May 2009 10:30:15 +0100 ·
Hi All,

I'm having a problem with one of my windows clients. I have specified both local disks (C:\ , D:\) to be monitored however, The hobbit page only shows stats/graph for C: drive. I'm not seeing this problem on any of my other windows clients. Any ideas?

Brian
list Malcolm Hunter · Tue, 19 May 2009 13:20:17 +0200 ·
I'm having a problem with one of my windows clients. I have specified both local disks (C:\ , D:\) to be monitored however, The hobbit page only shows stats/graph for C: drive. I'm not seeing this problem on any of my other windows clients. Any ideas?
Can you post the relevant section of the config file here?

Regards,

Malcolm


-- 
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

http://l10n.kde.org/team-infos.php?teamcode=en_GB

Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
list Martin Flemming · Tue, 19 May 2009 19:07:15 +0200 (CEST) ·

thank's a lot !

cheers,
 	martin
quoted from Dominique Frise

On Tue, 19 May 2009, Dominique Frise wrote:
Martin Flemming wrote:
 Hi, Martin !

 Got you a solution for solaris ... or someone else ?

 .. and second, who knows a good pluggin for monitoring timeservers for
 themselves  ?

 thanks & cheers,

     martin


 On Fri, 30 Jan 2009, Ward, Martin wrote:
 Hey Henrik,

 Thanks for this, I didn't even know I wanted one of these until it was 
 mentioned!

 Only issue for me is a Solaris-specific one, in that "rv 0 offset" 
 doesn't work because the default Solaris ntpq program doesn't understand 
 0 as a valid association. I'm still trying to figure out a different way 
 of getting the system time offset on a Solaris box (without installing a 
 different NTP client!), have you heard of anything?

| \/|artin
 -----Original Message-----
 From: Henrik "Størner [mailto:user-ce4a2c883f75@xymon.invalid]
 Sent: 28 January 2009 21:24
 To: user-ae9b8668bcde@xymon.invalid
 Subject: Re: [hobbit] NTP Graphing


 In
 <user-1aad613d1250@xymon.invalid
 hl.local> <user-72e95584e49c@xymon.invalid> writes:
 I am trying to graph the ntp offset of a few ntp servers. I
 can see a
 defin= ition in hobbitgraph referring to [ntpstat] and have
 defined the
 ntp test i= n the bb-hosts file, but I don't see any rrds being
 generated and obviously=  no graphs for the hosts.
 What do I need to do to make the graphs appear?
 Heh, I didn't realize that had snuck into the distribution :-)

 It's using data from "ntpq", running as a client-side add-on
 on the box that you want to monitor ntp for. It's dead simple:


 #!/bin/sh

#  This script is an extension for the BB client running on
#  your server. It will feed data about the local NTP daemon
#  into Hobbit, where the offset between the NTP reference
#  clock and the local clock will be graphed.

 $BB $BBDISP "data $MACHINE.ntpstat

 `ntpq -c \"rv 0 offset\"`
 "

 exit 0


 Regards,
 Henrik

"ntpq -c peers" also reports offset.
On solaris 9/10 clients, you could use:


$BB $BBDISP "data $MACHINE.ntpstat

`echo offset=\`ntpq -c peers | tail +3 | head -1 | awk '{ print $9 }'\``
"
exit 0


Dominique

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid