Mount Point Monitoring on the Linux Servers

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.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Mount Point Monitoring on the Linux Servers

Post by amitgupta19 »

I am planning to monitor the Mount Points on the Linux Servers.

I tried to download the following Plugin:
https://exchange.nagios.org/directory/P ... is/details

But it is not allowing to download the file. It is opening the Script in a new window.

I copy and pasted the Script in a notepad and saved it as .sh file. When i try to test the script it is giving the following error:

sudo: unable to execute ./check_mount.sh: No such file or directory

Any Ideas??
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mount Point Monitoring on the Linux Servers

Post by Box293 »

Did you give the script execute permissions?

This KB article might help:
https://support.nagios.com/kb/article/h ... t-531.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Mount Point Monitoring on the Linux Servers

Post by amitgupta19 »

Hi Box,

Thanks for the reply.

I am able to download the script now.

As per the script we need to define the separate command for each and every mount point.

Is there a way to monitor all the mountpoints by defining one command. We have some servers which have large number of mountpoints.


Reagrds
Amit
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Mount Point Monitoring on the Linux Servers

Post by benjaminsmith »

Hi Amit,

One option is a plugin on the Nagios Exchange that will allow you to combine multiple checks into one plugin.

https://exchange.nagios.org/directory/P ... ti/details
https://github.com/flackem/check_multi

Alternatively, you could create separate checks and then use the Business Process Integilence component to pool everything together and set health criteria.

Using BPI in Nagios XI
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Mount Point Monitoring on the Linux Servers

Post by amitgupta19 »

I am using the Nagios Core 4.3

I don't think so that Nagios BPI will serve my purpose here.

My challenge is writing the x number of commands/definition for x number of mount points in the nrpe.cfg file.

I was looking for a single command/definition in the nrpe.cfg file for all the mount points on a server.

Regards
Amit
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Mount Point Monitoring on the Linux Servers

Post by benjaminsmith »

Hi Amit,

Did you have a chance to take a look at the check_multi plugin?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Mount Point Monitoring on the Linux Servers

Post by amitgupta19 »

check_multi does not support the Nagios 4.x
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mount Point Monitoring on the Linux Servers

Post by Box293 »

Is that just because it says it is a 3.x plugin ? Normally plugins created in older versions will work in the newer versions but I'm sure there are situations when this is not the case.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Mount Point Monitoring on the Linux Servers

Post by amitgupta19 »

Download URL is not working. Can you check if it is working for you.

www.my-plugin.de/wiki/projects/check_multi/download
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mount Point Monitoring on the Linux Servers

Post by Box293 »

Website seems to white for me.

Perhaps you can download the github repo and compile the plugin yourself:

https://github.com/flackem/check_multi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked