Xymon Mailing List Archive search

Unix client logfetch issue over stunnel

8 messages in this thread

list Gregory Wege · Wed, 20 Aug 2008 14:57:05 -0400 ·
Hey guys,

 
I followed the Wikipedia guide to setup hobbit to accept secure
connections via stunnel.  Now I'm having a problem with my Unix clients.
It appears they are no longer able to fetch the log-file information
from the hobbit server. I've attempted to tweak the socket timeout
settings within stunnel without any luck. Has anyone experienced this
problem? 

 
Thanks

Greg
list Gregory Wege · Thu, 21 Aug 2008 10:11:37 -0400 ·
Anyone? 

 
From: Gregory Wege [mailto:user-8392a71e1a00@xymon.invalid] 
Sent: Wednesday, August 20, 2008 2:57 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Unix client logfetch issue over stunnel

 
Hey guys,

 
I followed the Wikipedia guide to setup hobbit to accept secure
connections via stunnel.  Now I'm having a problem with my Unix clients.
It appears they are no longer able to fetch the log-file information
from the hobbit server. I've attempted to tweak the socket timeout
settings within stunnel without any luck. Has anyone experienced this
problem? 

 
Thanks

Greg
list Vernon Everett · Thu, 21 Aug 2008 23:01:01 +0800 ·
Hi all
 Here's one that's got me stumped.
All the Hobbit docs and list information states that if we monitor a
host with a dynamic (DHCP assigned) IP address, we put it into bb-hosts
as
0.0.0.0     server01    # Other stuff here.
 Ok, not a problem. Been there, done that got the T-shirt.
 Now, if a host need to appear twice (or more), in 2 different pages or
groups, for instance, then the first entry in bb-hosts is supposed to be

1.2.3.4    server02     # Other stuff here
and the second (and subsequent) appearance should be 0.0.0.0    server02    # Other stuff
 Also all good. Got a few T-shirts for that too.
 Now for what I am trying to do.
A host with a dynamic (DHCP assigned) IP address needs to appear twice. So I thought we follow the pattern.
First entry
0.0.0.0    server03    # Subsewunt entries
0.0.0.0    server03    #  Looks too easy.
Well, it is too easy.
Now on the hobbit server, bbtest is yellow, and the gives the message
Error output:
Host server03 appears twice in bb-hosts! This may cause strange results
Any ideas how to get round that?
The only other factors that might be relevant are
1. All the servers appear a second time in bb-hosts include file.
2. All of these hosts are Windows machines, running bbwin.
 All assistance greatly appreciated.
 Regards
     Vernon
 
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list S Aiello · Thu, 21 Aug 2008 12:04:04 -0400 ·
quoted from Vernon Everett
On Thursday 21 August 2008 11:01:01 Everett, Vernon wrote:
Hi all

Here's one that's got me stumped.
All the Hobbit docs and list information states that if we monitor a
host with a dynamic (DHCP assigned) IP address, we put it into bb-hosts
as
0.0.0.0     server01    # Other stuff here.

Ok, not a problem. Been there, done that got the T-shirt.

Now, if a host need to appear twice (or more), in 2 different pages or
groups, for instance, then the first entry in bb-hosts is supposed to be

1.2.3.4    server02     # Other stuff here
and the second (and subsequent) appearance should be
0.0.0.0    server02    # Other stuff

Also all good. Got a few T-shirts for that too.

Now for what I am trying to do.
A host with a dynamic (DHCP assigned) IP address needs to appear twice.
So I thought we follow the pattern.
First entry
0.0.0.0    server03    #
Subsewunt entries
0.0.0.0    server03    #

Looks too easy.
Well, it is too easy.
Now on the hobbit server, bbtest is yellow, and the gives the message
Error output:
Host server03 appears twice in bb-hosts! This may cause strange results
Any ideas how to get round that?
The only other factors that might be relevant are
1. All the servers appear a second time in bb-hosts include file.
2. All of these hosts are Windows machines, running bbwin.

All assistance greatly appreciated.

Regards
     Vernon
When having a host appear multiple times, one of the entries should be 
considered the primary entry with all bbtags for that device. You define that 
device entry as the 'primary' one with the prefer bbtag.

 ~Steve
list Vernon Everett · Fri, 22 Aug 2008 11:21:24 +0800 ·
Thanks.
I am amazed I missed the "prefer" bbtag in the docs, but I guess that's
the danger of working that late at night. :-/

That being said, it doesn't work, or at least, isn't working for me.
What I have is this.
First entry
0.0.0.0    server03    # prefer
Other entries
0.0.0.0    server03    #
But I still get the errors in bbtest.

Have I done something silly, or forgotten something?
Is the syntax correct?

Thanks
    Vernon
quoted from S Aiello

 
-----Original Message-----
From: user-ce96540ed38f@xymon.invalid [mailto:user-ce96540ed38f@xymon.invalid] Sent: Friday, 22 August 2008 12:04 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Duplicate entries in bb-hosts

On Thursday 21 August 2008 11:01:01 Everett, Vernon wrote:
Hi all

Here's one that's got me stumped.
All the Hobbit docs and list information states that if we monitor a host with a dynamic (DHCP assigned) IP address, we put it into bb-hosts as
0.0.0.0     server01    # Other stuff here.

Ok, not a problem. Been there, done that got the T-shirt.

Now, if a host need to appear twice (or more), in 2 different pages or
groups, for instance, then the first entry in bb-hosts is supposed to be

1.2.3.4    server02     # Other stuff here
and the second (and subsequent) appearance should be
0.0.0.0    server02    # Other stuff

Also all good. Got a few T-shirts for that too.

Now for what I am trying to do.
A host with a dynamic (DHCP assigned) IP address needs to appear
twice.
So I thought we follow the pattern.
First entry
0.0.0.0    server03    #
Subsewunt entries
0.0.0.0    server03    #

Looks too easy.
Well, it is too easy.
Now on the hobbit server, bbtest is yellow, and the gives the message Error output:
Host server03 appears twice in bb-hosts! This may cause strange results Any ideas how to get round that?
The only other factors that might be relevant are 1. All the servers appear a second time in bb-hosts include file.
2. All of these hosts are Windows machines, running bbwin.

All assistance greatly appreciated.

Regards
     Vernon
When having a host appear multiple times, one of the entries should be
considered the primary entry with all bbtags for that device. You define
that device entry as the 'primary' one with the prefer bbtag.

 ~Steve


NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list H. Klomp · Fri, 22 Aug 2008 09:26:09 +0200 ·
For the second (and third) entry of the hosts you should use the noconn test.

Regards,

Bert Klomp
quoted from Vernon Everett


-----Original Message-----
From: Everett, Vernon [mailto:user-9da1a1882f49@xymon.invalid]
Sent: vrijdag 22 augustus 2008 5:21
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Duplicate entries in bb-hosts

Thanks.
I am amazed I missed the "prefer" bbtag in the docs, but I guess that's
the danger of working that late at night. :-/

That being said, it doesn't work, or at least, isn't working for me.
What I have is this.
First entry
0.0.0.0    server03    # prefer
Other entries
0.0.0.0    server03    #
But I still get the errors in bbtest.

Have I done something silly, or forgotten something?
Is the syntax correct?

Thanks
    Vernon


-----Original Message-----
From: user-ce96540ed38f@xymon.invalid [mailto:user-ce96540ed38f@xymon.invalid]
Sent: Friday, 22 August 2008 12:04 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Duplicate entries in bb-hosts

On Thursday 21 August 2008 11:01:01 Everett, Vernon wrote:
Hi all

Here's one that's got me stumped.
All the Hobbit docs and list information states that if we monitor a
host with a dynamic (DHCP assigned) IP address, we put it into
bb-hosts as
0.0.0.0     server01    # Other stuff here.

Ok, not a problem. Been there, done that got the T-shirt.

Now, if a host need to appear twice (or more), in 2 different pages or
groups, for instance, then the first entry in bb-hosts is supposed to
be

1.2.3.4    server02     # Other stuff here
and the second (and subsequent) appearance should be
0.0.0.0    server02    # Other stuff

Also all good. Got a few T-shirts for that too.

Now for what I am trying to do.
A host with a dynamic (DHCP assigned) IP address needs to appear
twice.
So I thought we follow the pattern.
First entry
0.0.0.0    server03    #
Subsewunt entries
0.0.0.0    server03    #

Looks too easy.
Well, it is too easy.
Now on the hobbit server, bbtest is yellow, and the gives the message
Error output:
Host server03 appears twice in bb-hosts! This may cause strange
results Any ideas how to get round that?
The only other factors that might be relevant are 1. All the servers
appear a second time in bb-hosts include file.
2. All of these hosts are Windows machines, running bbwin.

All assistance greatly appreciated.

Regards
     Vernon
When having a host appear multiple times, one of the entries should be
considered the primary entry with all bbtags for that device. You define
that device entry as the 'primary' one with the prefer bbtag.

 ~Steve


NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.


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

The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************
list David Peters · Fri, 22 Aug 2008 18:39:53 +1000 ·
So why does the #prefer tag make no difference?
quoted from H. Klomp

Klomp, H. wrote:
For the second (and third) entry of the hosts you should use the noconn test.

Regards,

Bert Klomp


-----Original Message-----
From: Everett, Vernon [mailto:user-9da1a1882f49@xymon.invalid]
Sent: vrijdag 22 augustus 2008 5:21
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Duplicate entries in bb-hosts

Thanks.
I am amazed I missed the "prefer" bbtag in the docs, but I guess that's
the danger of working that late at night. :-/

That being said, it doesn't work, or at least, isn't working for me.
What I have is this.
First entry
0.0.0.0    server03    # prefer
Other entries
0.0.0.0    server03    #
But I still get the errors in bbtest.

Have I done something silly, or forgotten something?
Is the syntax correct?

Thanks
    Vernon


-----Original Message-----
From: user-ce96540ed38f@xymon.invalid [mailto:user-ce96540ed38f@xymon.invalid]
Sent: Friday, 22 August 2008 12:04 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Duplicate entries in bb-hosts

On Thursday 21 August 2008 11:01:01 Everett, Vernon wrote:
  
Hi all

Here's one that's got me stumped.
All the Hobbit docs and list information states that if we monitor a
host with a dynamic (DHCP assigned) IP address, we put it into
bb-hosts as
0.0.0.0     server01    # Other stuff here.

Ok, not a problem. Been there, done that got the T-shirt.

Now, if a host need to appear twice (or more), in 2 different pages or
    
groups, for instance, then the first entry in bb-hosts is supposed to
be

1.2.3.4    server02     # Other stuff here
and the second (and subsequent) appearance should be
0.0.0.0    server02    # Other stuff

Also all good. Got a few T-shirts for that too.

Now for what I am trying to do.
A host with a dynamic (DHCP assigned) IP address needs to appear
    
twice.
  
So I thought we follow the pattern.
First entry
0.0.0.0    server03    #
Subsewunt entries
0.0.0.0    server03    #

Looks too easy.
Well, it is too easy.
Now on the hobbit server, bbtest is yellow, and the gives the message
Error output:
Host server03 appears twice in bb-hosts! This may cause strange
results Any ideas how to get round that?
The only other factors that might be relevant are 1. All the servers
appear a second time in bb-hosts include file.
2. All of these hosts are Windows machines, running bbwin.

All assistance greatly appreciated.

Regards
     Vernon

    
When having a host appear multiple times, one of the entries should be
considered the primary entry with all bbtags for that device. You define
that device entry as the 'primary' one with the prefer bbtag.

 ~Steve


NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or
copyright material. You must not read, copy, use or
disclose them without authorisation. If you are not an
intended recipient, please contact us at once by return
email and then delete both messages and all attachments.


*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************

list Vernon Everett · Fri, 22 Aug 2008 20:47:55 +0800 ·
I would ask the same question, but with the noconn, it's working.
If it ain't broke, don't fix it.

Thanks for the tips guys.

Cheers
     Vernon
quoted from David Peters

-----Original Message-----
From: David Peters [mailto:user-66917457e380@xymon.invalid] Sent: Friday, 22 August 2008 4:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Duplicate entries in bb-hosts

So why does the #prefer tag make no difference?

Klomp, H. wrote:
For the second (and third) entry of the hosts you should use the
noconn test.

Regards,

Bert Klomp


-----Original Message-----
From: Everett, Vernon [mailto:user-9da1a1882f49@xymon.invalid]
Sent: vrijdag 22 augustus 2008 5:21
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Duplicate entries in bb-hosts

Thanks.
I am amazed I missed the "prefer" bbtag in the docs, but I guess that's the danger of working that late at night. :-/

That being said, it doesn't work, or at least, isn't working for me.
What I have is this.
First entry
0.0.0.0    server03    # prefer
Other entries
0.0.0.0    server03    #
But I still get the errors in bbtest.

Have I done something silly, or forgotten something?
Is the syntax correct?

Thanks
    Vernon


-----Original Message-----
From: user-ce96540ed38f@xymon.invalid [mailto:user-ce96540ed38f@xymon.invalid]
Sent: Friday, 22 August 2008 12:04 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Duplicate entries in bb-hosts

On Thursday 21 August 2008 11:01:01 Everett, Vernon wrote:
  
Hi all

Here's one that's got me stumped.
All the Hobbit docs and list information states that if we monitor a host with a dynamic (DHCP assigned) IP address, we put it into bb-hosts as
0.0.0.0     server01    # Other stuff here.

Ok, not a problem. Been there, done that got the T-shirt.

Now, if a host need to appear twice (or more), in 2 different pages or
    
groups, for instance, then the first entry in bb-hosts is supposed to
be

1.2.3.4    server02     # Other stuff here
and the second (and subsequent) appearance should be
0.0.0.0    server02    # Other stuff

Also all good. Got a few T-shirts for that too.

Now for what I am trying to do.
A host with a dynamic (DHCP assigned) IP address needs to appear
    
twice.
  
So I thought we follow the pattern.
First entry
0.0.0.0    server03    #
Subsewunt entries
0.0.0.0    server03    #

Looks too easy.
Well, it is too easy.
Now on the hobbit server, bbtest is yellow, and the gives the message
Error output:
Host server03 appears twice in bb-hosts! This may cause strange results Any ideas how to get round that?
The only other factors that might be relevant are 1. All the servers appear a second time in bb-hosts include file.
2. All of these hosts are Windows machines, running bbwin.

All assistance greatly appreciated.

Regards
     Vernon

    
When having a host appear multiple times, one of the entries should be
considered the primary entry with all bbtags for that device. You define that device entry as the 'primary' one with the prefer bbtag.

 ~Steve


NOTICE: This email and any attachments are confidential.
They may contain legally privileged information or copyright material.
You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.


**********************************************************************
********************************* The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
**********************************************************************
*********************************

NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.