Page 5 of 5
Re: How to view all the Mount Points on Linux
Posted: Sat Mar 12, 2016 10:10 am
by eloyd
Not for this, you don't. It's a simple perl script that queries the remote host's SNMP server to respond to requests about disk space.
Re: How to view all the Mount Points on Linux
Posted: Sat Mar 12, 2016 10:32 am
by systemali
Fabulous
Thank you so much Eloyd,
I'll have this checked on Monday and will revert back accordingly !
Have a great Week end

Re: How to view all the Mount Points on Linux
Posted: Mon Mar 14, 2016 9:49 am
by tmcdonald
Definitely let us know how this worked out!
Re: How to view all the Mount Points on Linux
Posted: Mon Mar 14, 2016 11:36 am
by systemali
Hello Everybody,
I am so sorry to say, I see no change in my Nagios interface, it is as it was in the beginning.
I guess there is something i need to edit on the Nagios server in the snmpd.conf or nagios configuration or something else,
if somebody would be kind enough to direct me, Please !!!!
Thank you all for your time.
Re: How to view all the Mount Points on Linux
Posted: Mon Mar 14, 2016 4:33 pm
by tgriep
Did you upload and install the plugin on the Nagios server?
If you did, can you post the error you are seeing and how you setup the command?
Re: How to view all the Mount Points on Linux
Posted: Mon Mar 14, 2016 11:20 pm
by systemali
Hello
tgriep,
Yes, I have uploaded and installed the script on the Nagios server in the plugins folder !
I am not seeing any error, I have done NO setup, I have just extracted the script
to the plugins folder, that's all !
This is what i have been asking for all this while, What do i need to do
after i have installed the script, Do i need to Edit it and What do i need to
edit it with and at what location ...
My apologies if i have been loud, You can blame it on my frustration
Thank you all for your time !!!
Your continued assistance is appreciated !!!
Thank you once again !!!
Re: How to view all the Mount Points on Linux
Posted: Tue Mar 15, 2016 10:46 am
by tgriep
Ok, this is what you would have to do to use that plugin on your system.
First you would have to create a command in your commands.cfg file like the example below.
Code: Select all
define command {
command_name check_snmp_storage
command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ $ARG1$
}
Then, you would create a service check like the example below for the host you want to check. The example below would test all mounts starting with /
Code: Select all
define service {
host_name Host-Name
service_description / Disk Usage
check_command check_snmp_storage! -C public --v2c -m "/" -w 80 -c 95 -f!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
notifications_enabled 1
contacts nagiosadmin
register 1
}
Try that and let us know if you have anymore questions.