[Samba] Health checks - automating?

Jonathan Hunter jmhunter1 at gmail.com
Thu Jun 23 14:51:27 UTC 2016


After a recent hardware failure I got to thinking - I should really be
monitoring my servers better.

But, what do I actually monitor? Is there a best-practice or even a common
deployments guide to what I can check in terms of samba, ideally scriptable?

Currently I do run automated checks against freeradius (which authenticates
against samba) - but there must be so much more I could check from samba
itself. Perhaps replication status, responsiveness to LDAP queries, number
of connections, FSMO ownership, etc.

Is this something anyone has documented before? I am not sure how best to
script any of the above - but figured I would ask here as a first port of
call, before trying to write these myself (and then adding to the wiki, I



"If we knew what it was we were doing, it would not be called research,
would it?"
      - Albert Einstein

More information about the samba mailing list