MIBs and Plugins for Hard drive health

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.
MPIvan
Posts: 213
Joined: Thu Nov 22, 2012 6:09 am

MIBs and Plugins for Hard drive health

Post by MPIvan »

Hi
im trying to find a good plugin (simple) that will show me the health of a hard disk. As im trying some of the plugins im getting errors like:
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (sysUpTime): At line 0 in (none)
.1.3.6.1.4.1.6574.2.1.1.2.: Unknown Object Identifier ()
and
Result: MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (sysUpTime): At line 0 in (none)
Timeout: No Response from 10.25.1.5
so i guess i have to download MIBs for Dell PC (we use Dell pc everywhere) and if i do ... can someone tell me from where do download and where or how to implement them ...
pep
Posts: 11
Joined: Wed Mar 13, 2013 11:26 am

Re: MIBs and Plugins for Hard drive health

Post by pep »

Try running from a shell a snmpwalk command.

I don't know why you get those errors... you have net-snmp updated on the nagios machine??? Is snmp correctly configured in the windows you want to monitor?

BTW, I strongly recommend using this for windows hosts:

http://www.edcint.co.nz/checkwmiplus/

If that not suits your needs, check here:

http://nagios.manubulon.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MIBs and Plugins for Hard drive health

Post by scottwilkerson »

MPIvan wrote:Hi
im trying to find a good plugin (simple) that will show me the health of a hard disk. As im trying some of the plugins im getting errors like:
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (sysUpTime): At line 0 in (none)
.1.3.6.1.4.1.6574.2.1.1.2.: Unknown Object Identifier ()
and
Result: MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (sysUpTime): At line 0 in (none)
Timeout: No Response from 10.25.1.5
so i guess i have to download MIBs for Dell PC (we use Dell pc everywhere) and if i do ... can someone tell me from where do download and where or how to implement them ...

Cna you show the full command you are running, additionally have you changed/added MIBs on the system recently?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
MPIvan
Posts: 213
Joined: Thu Nov 22, 2012 6:09 am

Re: MIBs and Plugins for Hard drive health

Post by MPIvan »

Hi,
im using snmpwalk and i have the errors on this command "snmpwalk -v 1 -c mrtg 10.2.0.56 IP-MIB::ipAdEntIfIndex" i have this error
root@nagios:/usr/local/nagios/libexec# !1815
snmpwalk -v 1 -c mrtg 10.2.0.56 IP-MIB::ipAdEntIfIndex
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (sysUpTime): At line 0 in (none)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/mibs/ietf/IP-MIB)
Timeout: No Response from 10.2.0.56
and no i have not change or add something (mib) or other things.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: MIBs and Plugins for Hard drive health

Post by abrist »

Is snmp installed, configured, and running on the remote host?
Have you looked at the different smart/drive health plugins on the exchange?

http://exchange.nagios.org/index.php?op ... word=smart
http://exchange.nagios.org/index.php?op ... e%20health
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
MPIvan
Posts: 213
Joined: Thu Nov 22, 2012 6:09 am

Re: MIBs and Plugins for Hard drive health

Post by MPIvan »

Yes it is installed... i use NSClient++ and for now it works ok, on nagios i can see other things like usage of disk CPU,UPTime, Process etc...
Yes i am looking different smart/drive health plugins on the exchange page and 4,5 plugins gave me that error.

here are the some of the plugins that gave me the error:
check_win_snmp_disk.pl and check_synology_disk

Result: MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (sysUpTime): At line 0 in (none)
Timeout: No Response from 10.2.0.56

check_cpqdisks
Can't locate SNMP.pm in @INC (@INC contains: /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./check_cpqdisks line 17.
BEGIN failed--compilation aborted at ./check_cpqdisks line 17.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: MIBs and Plugins for Hard drive health

Post by slansing »

It seems you may not have the perl package installed, please run the following, assuming you have CPAN installed:

Code: Select all

cpan

Code: Select all

install Net::SNMP
If you do not have CPAN installed, you can install it via YUM's Repo's.
MPIvan
Posts: 213
Joined: Thu Nov 22, 2012 6:09 am

Re: MIBs and Plugins for Hard drive health

Post by MPIvan »

it is installed ... i use cpan and have the next one
cpan> install Net::SNMP

cpan[2]> install Net::SNMP
Net::SNMP is up to date (v6.0.1).

so i guess i have all installed and ok ...
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: MIBs and Plugins for Hard drive health

Post by slansing »

For good measure lets check the other required packages, and we will use yum this time. Run the following:

Code: Select all

yum install net-snmp* perl-Net-SNMP* perl-SNMP* -y
MPIvan
Posts: 213
Joined: Thu Nov 22, 2012 6:09 am

Re: MIBs and Plugins for Hard drive health

Post by MPIvan »

here is what i have ...
root@nagios:~# yum install net-snmp* perl-Net-SNMP* perl-SNMP* -y
Setting up Install Process
No package net-snmp* available.
No package perl-Net-SNMP* available.
No package perl-SNMP* available.
Nothing to do
root@nagios:~#
Locked