Page 1 of 1

Mount Point Monitoring

Posted: Mon Mar 02, 2020 10:48 am
by s.diwakar1
I am using the Nagios Core 4.4.3

We are monitoring the Mount Points using the Script: "./check_mount.sh"
https://exchange.nagios.org/directory/P ... is/details

One Mount Point is giving the Continuous Alerts: "Not mounted under cifs"

After Some time it gets recovered automatically.

There is no issue with the server.

Kindly suggest.

Re: Mount Point Monitoring

Posted: Mon Mar 02, 2020 5:51 pm
by Box293
You are going to need to run the command that the plugin runs manually when the issues is occurring. The command in the plugin is:

Code: Select all

MOUNTED=`mount | grep "$MOUNT" | grep -c "$FS "`            # execute the command to check the mount...
So as the nagios user run:

Code: Select all

mount
When the problem next occurs. The output generated from this should help determine exactly what the issue is. Please paste the entire output here.