Problem with remotely issuing a bb hobbit "drop host test" command
list Kevin Kelly
I am trying to issue the following command from a client server /bin/bb hobbitserver "drop hostname testname" But on the hobbit server I am getting the following error: 2009-05-01 09:25:00 Refused message from a.b.c.d: drop hostname testname Any help with this would be great! -Kevin This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
list Greg L Hubbard
Usually it is <wherever>/bb 127.0.0.1 "command" GLH From: Kevin Kelly [mailto:user-46671a9fcf56@xymon.invalid] Sent: Friday, May 01, 2009 10:16 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command
▸
I am trying to issue the following command from a client server /bin/bb hobbitserver "drop hostname testname" But on the hobbit server I am getting the following error: 2009-05-01 09:25:00 Refused message from a.b.c.d: drop hostname testname Any help with this would be great! -Kevin This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
list Forum Response
▸
I am trying to issue the following command from a client server /bin/bb hobbitserver "drop hostname testname" But on the hobbit server I am getting the following error: 2009-05-01 09:25:00 Refused message from a.b.c.d: drop hostname testname Any help with this would be great!
It sounds like you're looking for the '--admin-senders' option for hobbit as defined in your hobbitlaunch.cfg file. The default restricts admin commands to localhost only. If you want to send admin commands from a remote host to the hobbit server, you'll need to append the remote ip to --admin-senders
man hobbitd and look for --admin-senders for details.
list Kevin Kelly
Tried that! That comes back with the following error: 2009-05-01 11:19:45 connect to bbd failed - Connection refused 2009-05-01 11:19:45 Whoops ! bb failed to send message - Connection failed
▸
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid] Sent: Friday, May 01, 2009 10:41 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command Usually it is <wherever>/bb 127.0.0.1 "command" GLH From: Kevin Kelly [mailto:user-46671a9fcf56@xymon.invalid] Sent: Friday, May 01, 2009 10:16 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command I am trying to issue the following command from a client server /bin/bb hobbitserver "drop hostname testname" But on the hobbit server I am getting the following error: 2009-05-01 09:25:00 Refused message from a.b.c.d: drop hostname testname Any help with this would be great! -Kevin This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
list Josh Luthman
bbd isn't running - start it! Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX "When you have eliminated the impossible, that which remains, however improbable, must be the truth." --- Sir Arthur Conan Doyle
▸
On Fri, May 1, 2009 at 12:20 PM, Kevin Kelly <user-46671a9fcf56@xymon.invalid> wrote:
Tried that! That comes back with the following error: 2009-05-01 11:19:45 connect to bbd failed - Connection refused 2009-05-01 11:19:45 Whoops ! bb failed to send message - Connection failed *From:* Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid] *Sent:* Friday, May 01, 2009 10:41 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* RE: [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command Usually it is <wherever>/bb 127.0.0.1 "command" GLH *From:* Kevin Kelly [mailto:user-46671a9fcf56@xymon.invalid] *Sent:* Friday, May 01, 2009 10:16 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command I am trying to issue the following command from a client server /bin/bb hobbitserver “drop hostname testname” But on the hobbit server I am getting the following error: 2009-05-01 09:25:00 Refused message from a.b.c.d: drop hostname testname Any help with this would be great! -Kevin This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
list Kevin Kelly
Bbd is running on the server! I am trying to run this command from the client.
▸
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Friday, May 01, 2009 11:28 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command bbd isn't running - start it! Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX "When you have eliminated the impossible, that which remains, however improbable, must be the truth." --- Sir Arthur Conan Doyle On Fri, May 1, 2009 at 12:20 PM, Kevin Kelly <user-46671a9fcf56@xymon.invalid> wrote: Tried that! That comes back with the following error: 2009-05-01 11:19:45 connect to bbd failed - Connection refused 2009-05-01 11:19:45 Whoops ! bb failed to send message - Connection failed From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid] Sent: Friday, May 01, 2009 10:41 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command Usually it is <wherever>/bb 127.0.0.1 "command" GLH From: Kevin Kelly [mailto:user-46671a9fcf56@xymon.invalid] Sent: Friday, May 01, 2009 10:16 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command I am trying to issue the following command from a client server /bin/bb hobbitserver "drop hostname testname" But on the hobbit server I am getting the following error: 2009-05-01 09:25:00 Refused message from a.b.c.d: drop hostname testname Any help with this would be great! -Kevin This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
list Tom Georgoulias
▸
Kevin Kelly wrote:
Bbd is running on the server! I am trying to run this command from the client.
You need to run this command on the xymon server, not on a client. Tom
list Alexander Bech
▸
Kevin Kelly schrieb:
Bbd is running on the server! I am trying to run this command from the client.
man 8 hobbitd:
--admin-senders=IP[/MASK][,IP/MASK]
Controls which hosts may send administrative commands to
hobbitd. These commands
are the "drop" and "rename" commands. Access to these
should be restricted, since
they provide an un-authenticated means of completely
disabling monitoring of a
host, and can be used to remove all traces of e.g. a
system compromise from the
Xymon monitor.
Is this the problem / solution ?▸
*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Friday, May 01, 2009 11:28 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command bbd isn't running - start it! Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX "When you have eliminated the impossible, that which remains, however improbable, must be the truth." --- Sir Arthur Conan Doyle On Fri, May 1, 2009 at 12:20 PM, Kevin Kelly <user-46671a9fcf56@xymon.invalid <mailto:user-46671a9fcf56@xymon.invalid>> wrote: Tried that! That comes back with the following error: 2009-05-01 11:19:45 connect to bbd failed - Connection refused 2009-05-01 11:19:45 Whoops ! bb failed to send message - Connection failed *From:* Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid <mailto:user-d970b5e56ec9@xymon.invalid>] *Sent:* Friday, May 01, 2009 10:41 AM
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
▸
*Subject:* RE: [hobbit] Problem with remotely issuing a bb hobbit
"drop host test" command
Usually it is <wherever>/bb 127.0.0.1 "command"
GLH
*From:* Kevin Kelly [mailto:user-46671a9fcf56@xymon.invalid
<mailto:user-46671a9fcf56@xymon.invalid>]
*Sent:* Friday, May 01, 2009 10:16 AM
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
▸
*Subject:* [hobbit] Problem with remotely issuing a bb hobbit "drop host test" command I am trying to issue the following command from a client server /bin/bb hobbitserver “drop hostname testname” But on the hobbit server I am getting the following error: 2009-05-01 09:25:00 Refused message from a.b.c.d: drop hostname testname Any help with this would be great! -Kevin This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
list Kevin Kelly
The --admin-senders is what I was looking for! Thanks to those that responded! -----Original Message----- From: Denver Osborn [mailto:user-379e8d8cd715@xymon.invalid] On Behalf Of Forum Response Sent: Friday, May 01, 2009 10:55 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] RE: Problem with remotely issuing a bb hobbit "drop
▸
host test" command
I am trying to issue the following command from a client server /bin/bb hobbitserver "drop hostname testname" But on the hobbit server I am getting the following error: 2009-05-01 09:25:00 Refused message from a.b.c.d: drop hostname testname Any help with this would be great!
It sounds like you're looking for the '--admin-senders' option for hobbit as defined in your hobbitlaunch.cfg file. The default restricts admin commands to localhost only. If you want to send admin commands from a remote host to the hobbit server, you'll need to append the remote ip to --admin-senders man hobbitd and look for --admin-senders for details. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email