Xymon Mailing List Archive search

Monitoring SMB shares

list Greg Shea
Thu, 16 Jul 2009 16:35:15 -0400
Message-Id: <user-3ea15de141b7@xymon.invalid>

What I've found is that the BBEXT variable in bbdef.sh was not the
preferred way to run external scripts,

but to use bb-bbexttab instead.  The format of the bb-bbexttab
"localhost : : bb-wcheck.pl;900" meant

upon startup run this extension script every 900 seconds.

 
So Ralph is right on with the hobbitlaunch.cfg or cron suggestions

 
Hope this helps

Greg Shea

EMC Corporation

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 16, 2009 4:15 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Monitoring SMB shares

 
I *think* that the BBEXT variable in BB is for a list of the external
test scripts to be executed.  Those would be migrated to the
hobbitlaunch.cfg file.

 
You can also use cron to execute the external script - I've done that
successfully for years.  You'll need to make sure your script executes
with the hobbit/xymon environment.  You can do that using bbcmd.

 
Ralph Mitchell

 
On Thu, Jul 16, 2009 at 2:51 PM, Harold J. Ballinger
<user-fc4f93976dc8@xymon.invalid> wrote:

Essentially, I just need to be able to define a different type of
network test / external test to be performed by the Xymon server itself.
I can't figure out where the bbdef.sh logic went in the switch over to
Hobbit/Xymon. Or maybe that type of testing isn't supported anymore with
Hobbit/Xymon?


-----Original Message-----
From: Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid]

Sent: Thursday, July 16, 2009 3:37 PM
To: 'user-ae9b8668bcde@xymon.invalid'

Subject: RE: [hobbit] Monitoring SMB shares


Grrmph, you're right :-(


On Thu, 16 Jul 2009, Harold J. Ballinger wrote:
I looked at that too, but it looks like that is a client side test
because it has a portion that you load on the client and a portion that
you load on the server.

-----Original Message-----
From: Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid]
Sent: Thursday, July 16, 2009 3:09 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Monitoring SMB shares


maybe this

http://xymonton.trantor.org/doku.php/monitors:samba_servers

cheers,
      martin

On Thu, 16 Jul 2009, Harold J. Ballinger wrote:
I want a "shares" column to show up for each file server that has smb
shares indicating whether or not the shares are accessible.

In a perfect world, I would like to monitor these SMB shares from the
xymon server itself vs from a client. In my mind, the xymon server would
have a server side script that would allow me to add "shares:Public",
"shares:Users", etc. to the listings in BB-HOSTS. In fact, I had found
this solution on DeadCat called "shares" that is meant to be setup on a
BB server. However, it mentioned editing bbdef.sh to include shares.sh
in the BBEXT variable and I just didn't know where to do this in Xymon
Any help would be appreciated.

Thanks!
Gruss

       Martin Flemming


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