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
- Download and install the Site24x7 Linux server monitoring agent in the server where you plan to run the plugin.
Plugin Installation
- Create a folder named nfs.
- Download the nfs.py and the nfs.cfg files from our GitHub repository and place them in the nfs folder.
wget https://raw.githubusercontent.com/site24x7/plugins/master/nfs/nfs.pywget https://raw.githubusercontent.com/site24x7/plugins/master/nfs/nfs.cfg
- The plugin will automatically identify and monitor all NFS mounts present on the server.
- To check if the plugin is working, execute the command below with appropriate arguments and check for a valid JSON output with applicable metrics and their corresponding value.
python3 nfs.py
- Move the nfs folder to the Site24x7 Linux server monitoring plugin directory: /opt/site24x7/monagent/plugins/
The agent will automatically execute the plugin within five minutes and display performance data in Site24x7
Note: To add mount points after the registration of the plugin, increase the version of the plugin in nfs.cfg file as mentioned below.
[mounts]
plugin_version = "2"
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.