I'm interested in testing from a location other than the client hosting the smb share since I want to be sure that the share is accessible as it would need to be in the real world (whether that be authentication, permissions, name resolution, connectivity, firewall/routing permissions, or back end services that host the service). Especially when dealing with DFS and clustering, I want to know that the user experience (10,000 foot view) is working vs a particular host's own checks against 127.0.0.1.
Your solution makes sense and it is a valid and well thought out test, but in my case, it only accounts for 70% of the possible failure points. (It would be like having the client ping 127.0.0.1 for the conn test in a routed environment - I know that the client is up and the ping service is responding, but I am missing a large piece of the puzzle.)
I'm looking for the solution because we had such a test when we were using Big Brother, but it no longer works since we migrated to hobbit/xymon. We have been able to migrate most other tests/capabilities directly from BB easily and I was hoping that it was just something simple that I had overlooked.
It has to be said that we have been much happier with Hobbit/Xymon than BB in all areas. I just don't like to let something "beat me" when it comes to technology. :-)
-----Original Message-----
From: dOCtoR MADneSs [mailto:doctor (at) makelofine.org]
Sent: Thursday, July 16, 2009 5:56 PM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Monitoring SMB shares
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
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