How to view all the Mount Points on Linux
Re: How to view all the Mount Points on Linux
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.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: How to view all the Mount Points on Linux
Fabulous 
Thank you so much Eloyd,
I'll have this checked on Monday and will revert back accordingly !
Have a great Week end
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
Definitely let us know how this worked out!
Former Nagios employee
Re: How to view all the Mount Points on Linux
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.
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
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?
If you did, can you post the error you are seeing and how you setup the command?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to view all the Mount Points on Linux
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 !!!
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
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.
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 /
Try that and let us know if you have anymore questions.
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$
}
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
}
Be sure to check out our Knowledgebase for helpful articles and solutions!