How to monitor VirtualDevice status of LSI RAID Controller?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

How to monitor VirtualDevice status of LSI RAID Controller?

Post by phyo »

Hi all,

Currently I have to monitor the virtualDevice Status of LSI RAID controller? The supplier give us the following information.

Code: Select all

virtualDevice state 1.3.6.1.4.1.3582.4.1.4.3.1.2.1.5  The Device state: Values: offline(0),partially-degraded(1),degraded(2),optimal(3) 
[root@]#  snmpwalk 10.110.36.14 -c public -v2c 1.3.6.1.4.1.3582.4.1.4.3.1.2.1.5
SNMPv2-SMI::enterprises.3582.4.1.4.3.1.2.1.5.0 = INTEGER: 3
SNMPv2-SMI::enterprises.3582.4.1.4.3.1.2.1.5.1 = INTEGER: 3
SNMPv2-SMI::enterprises.3582.4.1.4.3.1.2.1.5.2 = INTEGER: 3
And I found one plugin in the following link.
http://exchange.nagios.org/directory/Pl ... II/details

But don't know how to use this plugin. If anyone know how to use this plugin, please let me know the way.

Here is the output what I tried.

Code: Select all

[root@nagios01 libexec]# ./check_intel_raid.pl
UNKNOWN: Community not defined[root@nagios01 libexec]#
[root@nagios01 libexec]# ./check_intel_raid.pl -h
Use of uninitialized value $host in substitution (s///) at /usr/share/perl5/Net/SNMP/Transport/UDP.pm line 137.
Use of uninitialized value in subroutine entry at /usr/share/perl5/Net/SNMP/Transport/UDP.pm line 145.
Use of uninitialized value $_[1] in sprintf at /usr/share/perl5/Net/SNMP/Transport.pm line 748.
UNKNOWN: Unable to resolve UDP/IPv4 address ''[root@nagios01 libexec]#
Thanks.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to monitor VirtualDevice status of LSI RAID Controll

Post by lmiltchev »

I am not familiar with this plugin - it's a 3rd party software, but it seems like the correct usage would be:

Code: Select all

./check_intel_raid.pl <community> <host>
Be sure to check out our Knowledgebase for helpful articles and solutions!
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: How to monitor VirtualDevice status of LSI RAID Controll

Post by phyo »

lmiltchev wrote:I am not familiar with this plugin - it's a 3rd party software, but it seems like the correct usage would be:

Code: Select all

./check_intel_raid.pl <community> <host>
It work well as you said.

Code: Select all

[root@nagios01 ~]# /usr/local/nagios/libexec/check_intel_raid.pl public 10.110.36.14
Virtual Disks OK. Virtual Disk 0 in state optimal. Virtual Disk 1 in state optimal. Virtual Disk 2 in state optimal.
[root@nagios01 ~]#
Thanks lmiltchev.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to monitor VirtualDevice status of LSI RAID Controll

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked