Mount Point Monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
s.diwakar1
Posts: 44
Joined: Thu Feb 27, 2020 9:45 am

Mount Point Monitoring

Post 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.
Thanks & Regards,
Diwakar Sharma
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mount Point Monitoring

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked