MIBs and Plugins for Hard drive health

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

MIBs and Plugins for Hard drive health

Postby MPIvan » Fri Mar 22, 2013 2:40 am

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

Re: MIBs and Plugins for Hard drive health

Postby pep » Fri Mar 22, 2013 4:36 am

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/
pep
 
Posts: 11
Joined: Wed Mar 13, 2013 11:26 am

Re: MIBs and Plugins for Hard drive health

Postby scottwilkerson » Fri Mar 22, 2013 7:23 am

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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 18435
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: MIBs and Plugins for Hard drive health

Postby MPIvan » Mon Mar 25, 2013 2:26 am

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

Re: MIBs and Plugins for Hard drive health

Postby abrist » Mon Mar 25, 2013 9:58 am

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.
abrist
Red Shirt
 
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: MIBs and Plugins for Hard drive health

Postby MPIvan » Tue Mar 26, 2013 7:29 am

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

Re: MIBs and Plugins for Hard drive health

Postby slansing » Tue Mar 26, 2013 9:48 am

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.
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

Postby MPIvan » Wed Mar 27, 2013 10:53 am

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

Re: MIBs and Plugins for Hard drive health

Postby slansing » Wed Mar 27, 2013 2:16 pm

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
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

Postby MPIvan » Thu Mar 28, 2013 2:53 am

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

Next

Return to Community Support

Who is online

Users browsing this forum: No registered users and 24 guests