grep -i raid /var/log/dmesg shows, for bullwinkle, Vendor: MegaRaid Model: LD 0 RAID1 69G Rev: 521X Vendor: MegaRaid Model: LD 1 RAID1 858G Rev: 521X
same as the h/w browser. So the kernel thinks there's something there. That said ./check_sasraid_megaraid.pl -H bullwinkle -C public -T megaraid -s 2c all hell breaks loose: substr outside of string at ./check_sasraid_megaraid.pl line 461. Use of uninitialized value in split at ./check_sasraid_megaraid.pl line 462. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 482. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 482. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 485. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 486. substr outside of string at ./check_sasraid_megaraid.pl line 527. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 535. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 537. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 538. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 540. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 544. Use of uninitialized value in hash element at ./check_sasraid_megaraid.pl line 546. substr outside of string at ./check_sasraid_megaraid.pl line 586. Use of uninitialized value in split at ./check_sasraid_megaraid.pl line 587. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 590. Use of uninitialized value in concatenation (.) or string at ./check_sasraid_megaraid.pl line 595. hostname: bullwinkle community: public port: 161 timeout: 15 alert: CRITICAL phydrv_status: .1.3.6.1.4.1.3582.1.1.3.1.4 = endOfMibView | suffix = , controller = 0, channel = 0, drive = , lun = 0 logdrv_status: .1.3.6.1.4.1.3582.1.1.2.1.3 = endOfMibView | logdrv_id = Megaraid CRITICAL - phy drv() unknown code endOfMibView, log drv() unknown code endOfMibView - 1 logical disks, 0 physical drives, 1 controllers found The upshot of it appears to be the "unknown code endOfMibView", whatever that may be. Bo jmose...@corp.xanadoo.com wrote: > Since you are getting that error, I don't think the firewall is the > problem. If it were the firewall, I'd expect a timeout issue. > > First, make sure you are passing the proper community string and SNMP > version into the script: > > ./check_sasraid_megaraid.pl -H bullwinkle -C <community string> -T megaraid > -s <1 or 2c> > > If you still are getting that error, try 'perc4' as your -T argument. > > Lastly (or firstly, I suppose), check to make sure you actually have a > MegaRAID adapter: > > dmesg | grep -i raid > > If you do, you should see a line like: > > Vendor: MegaRAID Model: LD 0 RAID5 139G Rev: 513O > > > James Moseley > > > > Bo Gusman <ml...@bogusville.us> wrote: > > > The second is that when running > > ./check_sasraid_megaraid.pl -H bullwinkle -T megaraid --debug > > it fails: > > alert: CRITICAL > snmp error: Requested table is empty or does not exist > Megaraid UNKNOWN - could not retrieve snmp table > .1.3.6.1.4.1.3582.1.1.2.1.3 > > > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null