File System

Check if FS is Mounted (check_mount.sh) AIX, NFS, UNIX, Linux, Solaris

4.5 (2)
28,758
1
0

Thank you for your review!

Your review has been submitted and is pending approval.

Description

Shell Script for Nagios, checks if the FS given is mounted. Assumes that you are checking NFS by default, but it can check for any type of FS:

NFS, NFSv4, CIFS, JFS, JFS2, EXT2, EXT3, EXT4, etc (If a FS is mounted more than once it gives a Warning & reports the number of mounts).

This script do not check fstab or /etc/filesystem or other tab entries, as it is designed to consume as little CPU time as possible and to be used in different OS types.

It is a simple script, but it detects mounts of practically any type of FS, and multiple instances mounted of the same FS.

Verified compatible with the following OS:
IBM AIX v5.2-v7.2
RHEL v4.8-v6.6, RHL v9
Ubuntu v10.04-v18.04 LTS
SuSe v11
CentOS v6.5-10
CygWin v2.0.4-v2.5.1 & BusyBox v1.22.1
Oracle Solaris x86 v10-v11.3
SCO OpenServer v6.0.0
SCO UnixWare v7.1.4+, v7.1.4

Released under GPLv3. Author: Carlos Ijalba – 2016-2018.


Project Details

Current Version

1.02

Last Release Date

2018-08-21

License

GPL

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Recommend

To:


From: