#!/bin/bash################################################################## Mount Point Monitoring ## ## Ultima revisao: 14/03/2019 por César Carvalho ## ###################################################################### Clear File used by Zabbix ####> /tmp/check_montagem.log#### Verification that the mount point is OK ####exportMOUNT=//192.168.0.100/backup_oracleif grep -qs $MOUNT /proc/mounts; thenecho"ok" > /tmp/check_montagem.log# File used for monitoring by zabbixelse# If the directory is not assembling it will assemble /sbin/mount.cifs //192.168.0.100/backup_oracle/backup_remoto-ouser,username=bkp_oracle,uid=oracle,rw,password=12345678,domain=teste.comif grep -qs $MOUNT /proc/mounts; thenecho"ok" > /tmp/check_montagem.log# File used for monitoring by zabbix elseelseecho"erro" > /tmp/check_montagem.log# File used for monitoring by zabbix elsefifi