Network File System (NFS) is used for file sharing between Linux servers. It provides a centralized storage solution and easy access to remote files. This plugin shows the status of the configured NFS mount points in the server.
Prerequisites
- Our Linux server monitoring agent should be installed in the network or on the specific host where the NFS mount is running.
- While adding a plugin, the plugin name and its folder name inside the Site24x7 agent should be identical.
Plugin Installation
- Download and install the latest version of the Site24x7 Linux agent in the server where you plan to run the plugin. If it is installed successfully, you will see a Linux server monitor in the Site24x7 Control Panel. This confirms that the agent is able to communicate with our data center.
- Download the nfs.py and the nfs_check.sh files from our GitHub repository.
wget https://raw.githubusercontent.com/site24x7/plugins/master/nfs/nfs.pywget https://raw.githubusercontent.com/site24x7/plugins/master/nfs/nfs_check.sh
- Edit the file 'nfs.py' to enter the mount points for monitoring.
NFS_MOUNT=["/mnt/nfs/home"]ORNFS_MOUNT=["/mnt/nfs/home","/mnt/nfs/var/nfs"]
- Create a folder with the name 'nfs', under the Site24x7 Linux agent plugin directory '/opt/site24x7/monagent/plugins/' and place the 'nfs.py' and 'nfs_check.sh' files under '/opt/site24x7/monagent/plugins/nfs/'.
The agent will automatically execute the plugin within five minutes and send performance data to the Site24x7 data center.
View Data in the Site24x7 Web Client
- Log in to Site24x7 and go to Server > Plugins > click on the name of the plugin monitor.
- You will be able to view the performance charts on the various metrics for your NFS system.
Plugin Contribution
Feel free to contribute to our existing plugin and come up with suggestions or feedback on our Community.