NFS and mounts check
Hello,
this script checks the folowing:
1. if you have nfs mount it will check if its mounted
2. if a mount has fallen because of network the file will look like this ? ???? ?? ??? mountfile and mount simple check
will not see it so i check mount file state
3. will compare between fstab file and df output
how to install:
1. put script under /home/zabbix or you own script file.
2.chmod +x scriptname
3.go to script and change varible MOUNT_FILE to your oun nfs mount file if theres not any then command this step
4.allow EnableRemoteCommands in /etc/zabbix/zabbix_agent.conf
EnableRemoteCommands=0 to EnableRemoteCommands=1 and restart agent.
3.import xML
made by
batchen regev
Listing Details
Type
OS
Min Zabbix version
3.2.x
Features
Created
Modified
Version 3.2
Download (1597 downloads)
1 version, '2017-07-13 12:34' modified
1 version, '2017-07-13 12:34' modified
Author
Batchen Regev
Owner