[hobbit] Monitoring SMB shares

dOCtoR MADneSs doctor at makelofine.org
Thu Jul 16 23:56:19 CEST 2009


Harold J. Ballinger a écrit :
> The description made it sound like the column would be listed on the server that is doing the testing and not on the servers that are actually hosting the smb shares. If a share is down, I want the "red" to show up on the specific server that is hosting that service.
> 
> -----Original Message-----
> From: Martin Flemming [mailto:martin.flemming at desy.de] 
> Sent: Thursday, July 16, 2009 3:09 PM
> To: hobbit at hswn.dk
> 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!
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
Hi,

I'm the modest maker of the samba servers monitoring hosted on 
xymonton.trantor.org.
When I wrote this script, I tought it was a better to monitor samba 
shares with samba clients than monitoring from the server himself. Hence 
  it tests all the components needed to access the share : network, port 
accessibility (including firewall), and user authentication.
You can also run the script from your xymon server, because it include a 
client too.
So, the server can test itselfs without any problem. I'm open to any 
suggestion to add any feature, it should be very interesting. But i'm 
afraid i couldn't do anything in including it in xymon code. I don't 
know C or any low level langage.
I hope my little contribution could help you. If so, please give me 
informations about your software versions to add them in the know 
working section.

Regards,
Damien



More information about the Xymon mailing list