Page 1 of 1

How to monitor VirtualDevice status of LSI RAID Controller?

Posted: Wed Jul 09, 2014 5:09 am
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.

Re: How to monitor VirtualDevice status of LSI RAID Controll

Posted: Wed Jul 09, 2014 11:45 am
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>

Re: How to monitor VirtualDevice status of LSI RAID Controll

Posted: Wed Jul 09, 2014 8:36 pm
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.

Re: How to monitor VirtualDevice status of LSI RAID Controll

Posted: Thu Jul 10, 2014 11:18 am
by lmiltchev
I am glad I could help! :)