HDD Monitoring on Bare metal server
-
MOHANREDDY
- Posts: 81
- Joined: Tue Apr 10, 2018 4:14 pm
HDD Monitoring on Bare metal server
Hi,
I am looking for a plugin to monitor HDD's on a bare metal server using agent based monitoring, i googled and searched exchange, i didn't find any. Any help would be much appreciated.
Thanks,
I am looking for a plugin to monitor HDD's on a bare metal server using agent based monitoring, i googled and searched exchange, i didn't find any. Any help would be much appreciated.
Thanks,
Re: HDD Monitoring on Bare metal server
You should be able to monitor HDDs via NCPA. Read more about the agent here:
https://www.nagios.org/ncpa/
https://www.nagios.org/ncpa/
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
MOHANREDDY
- Posts: 81
- Joined: Tue Apr 10, 2018 4:14 pm
Re: HDD Monitoring on Bare metal server
Its a Linux server having RHEL OS and have nrpe installed. Can i monitor hard disk drive with check_disk plugin, if not please provide me a plugin to monitor HDD.
Thanks,
Thanks,
Re: HDD Monitoring on Bare metal server
You can monitor used/free space via the check_disk plugin.
See the plugin's usage by running:
Example command definition in the nrpe.cfg file on the remote machine:
Example of a check, run from the command line on the Nagios XI server:
What metrics do you need to monitor? If check_disk is not going to do the job for you, you could look for some 3rd party plugins on the Nagios Exchange:
https://exchange.nagios.org/
Once you find a plugin that you think might work for you, you can test it, and add a new command, and a service to Nagios XI by following the document below:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
See the plugin's usage by running:
Code: Select all
/usr/local/nagios/libexec/check_disk -hCode: Select all
command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$Code: Select all
/usr/local/nagios/libexec/check_nrpe -u -H x.x.x.x -t 60 -c check_disk -a '-w 80% -c 75% -p /'
DISK OK - free space: / 28848 MB (80.66% inode=95%);| /=6913MB;7534;9418;0;37674https://exchange.nagios.org/
Once you find a plugin that you think might work for you, you can test it, and add a new command, and a service to Nagios XI by following the document below:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
MOHANREDDY
- Posts: 81
- Joined: Tue Apr 10, 2018 4:14 pm
Re: HDD Monitoring on Bare metal server
I would like to monitor HDD health, am looking for a 3rd party plugin and i found this , https://exchange.nagios.org/directory/T ... os/details do i need to install nagios-check_smartmon as specified in the post?lmiltchev wrote:
What metrics do you need to monitor? If check_disk is not going to do the job for you, you could look for some 3rd party plugins on the Nagios Exchange:
[/url]
Thanks,
Re: HDD Monitoring on Bare metal server
I believe this is for FreeBSD. There are some other similar plugins on the Nagios Exchange:
https://exchange.nagios.org/index.php?o ... k_smartmon
You can try any of these.
https://exchange.nagios.org/index.php?o ... k_smartmon
You can try any of these.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
MOHANREDDY
- Posts: 81
- Joined: Tue Apr 10, 2018 4:14 pm
Re: HDD Monitoring on Bare metal server
On eof the plugin says "check_smartmon is a Nagios-Plugin that uses smartmontools
(http://smartmontools.sourceforge.net/) to check disk health status and temperature.", do i need to install any smartmontools?
Thanks,
(http://smartmontools.sourceforge.net/) to check disk health status and temperature.", do i need to install any smartmontools?
Thanks,
Re: HDD Monitoring on Bare metal server
Yes. You can install smartmontools on RHEL by running:
Code: Select all
yum install smartmontools -yBe sure to check out our Knowledgebase for helpful articles and solutions!
-
MOHANREDDY
- Posts: 81
- Joined: Tue Apr 10, 2018 4:14 pm
Re: HDD Monitoring on Bare metal server
I didn't get fruitfull reults with nrpe, as you told earlier, i can use ncpa. How can i use NCPA for Hard drive temperatures and failures?
Re: HDD Monitoring on Bare metal server
Did you select a plugin that you would like to use? Have you tested it from the command line? You can call a plugin via NCPA, but the plugin needs to exist (and work correctly) on the remote machine in order to do that...
For example, if you were testing the check_smartmon plugin from the command line, you would be probably running something like this:
For example, if you were testing the check_smartmon plugin from the command line, you would be probably running something like this:
Code: Select all
/usr/local/nagios/libexec/check_smartmon -d <device> -w <warning threshold> -c <critical threshold> -v 3Be sure to check out our Knowledgebase for helpful articles and solutions!