Difficulty configuring CIFS monitoring
Posted: Wed Feb 27, 2019 7:06 pm
Hello Nagios support
We are trying to monitor filesize for the file, located on the CIFS volume
- with this kind of path:
\\XYZ-cifs01-biz\XYZ-FS-PROD\XYZ\In Production\Apps\Service Management Reporting\Asset Analytics\
------------------------------------------------------------------------------------------------------------------------
CIFS Wizard does not work:
check_mountpoint!\XYZ-FS-PROD\XYZ\In Production\Apps\Service Management Reporting\Asset Analytics -i
Usage: check_mountpoints.sh [-m FILE] $mountpoint [$mountpoint2 ...]
Usage: check_mountpoints.sh -h,--help
Options:
-m FILE Use this mtab instead (default: /proc/mounts)
-f FILE Use this fstab instead (default: /etc/fstab)
-N NUMBER FS Field number in fstab (default: 3)
-M NUMBER Mount Field number in fstab (default: 2)
-T SECONDS Responsetime at which an NFS is declared as staled (default: 3)
-L Allow softlinks to be accepted instead of mount points
-i Ignore fstab. Do not fail just because mount is not in fstab. (default: unset)
-a Autoselect mounts from fstab (default: unset)
-A Autoselect from fstab. Return OK if no mounts found. (default: unset)
-w Writetest. Touch file $mountpoint/.mount_test_from_$(hostname) (default: unset)
MOUNTPOINTS list of mountpoints to check. Ignored when -a is given
-------------------------------------------------------------------------------------------------------
What is best way to make this happen?
Thanks,
Dimitri
We are trying to monitor filesize for the file, located on the CIFS volume
- with this kind of path:
\\XYZ-cifs01-biz\XYZ-FS-PROD\XYZ\In Production\Apps\Service Management Reporting\Asset Analytics\
------------------------------------------------------------------------------------------------------------------------
CIFS Wizard does not work:
check_mountpoint!\XYZ-FS-PROD\XYZ\In Production\Apps\Service Management Reporting\Asset Analytics -i
Usage: check_mountpoints.sh [-m FILE] $mountpoint [$mountpoint2 ...]
Usage: check_mountpoints.sh -h,--help
Options:
-m FILE Use this mtab instead (default: /proc/mounts)
-f FILE Use this fstab instead (default: /etc/fstab)
-N NUMBER FS Field number in fstab (default: 3)
-M NUMBER Mount Field number in fstab (default: 2)
-T SECONDS Responsetime at which an NFS is declared as staled (default: 3)
-L Allow softlinks to be accepted instead of mount points
-i Ignore fstab. Do not fail just because mount is not in fstab. (default: unset)
-a Autoselect mounts from fstab (default: unset)
-A Autoselect from fstab. Return OK if no mounts found. (default: unset)
-w Writetest. Touch file $mountpoint/.mount_test_from_$(hostname) (default: unset)
MOUNTPOINTS list of mountpoints to check. Ignored when -a is given
-------------------------------------------------------------------------------------------------------
What is best way to make this happen?
Thanks,
Dimitri