Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
monitors:samba_servers [2014/02/23 09:11] – [Installation] doctor_madness | monitors:samba_servers [2014/02/23 09:15] – [Samba monitoring] doctor_madness | ||
---|---|---|---|
Line 4: | Line 4: | ||
^ Compatibility | From Xymon 4.2.0 to Xymon 4.2.3 | | ^ Compatibility | From Xymon 4.2.0 to Xymon 4.2.3 | | ||
^ Requirements | sh (or bash), samba tool suite for Uni* (smbclient, smbtree...) | | ^ Requirements | sh (or bash), samba tool suite for Uni* (smbclient, smbtree...) | | ||
- | ^ Download | https:// | + | ^ Download | https:// |
- | ^ Last Update | 2009-11-21 | | + | ^ Last Update | 2014-02-23 | |
===== Description ===== | ===== Description ===== | ||
Line 26: | Line 26: | ||
# | # | ||
# ALL THIS SCRIPT IS UNDER GPL LICENSE | # ALL THIS SCRIPT IS UNDER GPL LICENSE | ||
- | #Version 0.2.1 | + | #Version 0.2.3 |
# Title: | # Title: | ||
# Author: | # Author: | ||
- | # Date: | + | # Date: |
# Purpose: | # Purpose: | ||
# Platforms: Uni* having samba tools suite (smbclient, smbtree) | # Platforms: Uni* having samba tools suite (smbclient, smbtree) | ||
Line 41: | Line 41: | ||
# | # | ||
# History : | # History : | ||
- | # | + | # # - 23 feb 2014 - Damien Martins |
+ | # v0.2.3 | ||
# - 26 jul 2009 - Damien Martins | # - 26 jul 2009 - Damien Martins | ||
# v0.2.1 | # v0.2.1 | ||
Line 124: | Line 125: | ||
exit 1 | exit 1 | ||
fi | fi | ||
+ | if [ ! -f " | ||
+ | echo " | ||
+ | exit 1 | ||
+ | fi | ||
+ | |||
+ | if [ ! -x " | ||
+ | echo " | ||
+ | exit 1 | ||
+ | fi | ||
#Infos for later releases | #Infos for later releases | ||
Line 233: | Line 243: | ||
RESTRICTED=$($GREP " | RESTRICTED=$($GREP " | ||
if [ " | if [ " | ||
+ | if [ ! -f " | ||
+ | echo " | ||
+ | exit 1 | ||
+ | fi | ||
+ | if [ ! -x " | ||
+ | echo " | ||
+ | exit 1 | ||
+ | fi | ||
+ | |||
restrict | restrict | ||
elif [ " | elif [ " |