#3438 SMART Drive Check monitor selects wrong 'Drive to check'

1.480
closed-fixed
Jamie Cameron
5
2009-07-06
2009-07-06
Anonymous
No

Bug report with ID: 2799920 is closed, but does not seem to be fixed in v1.480.

The 'Drive to check' combobox in the SMART Drive Check Edit Monitor page
always shows the same SCSI device A (/dev/sda), even if the monitor is
created for another device (eg. /dev/sdb).

It looks like it works ok (but I'm not sure if it is correct) if I change the line
$inlist ? $inlist->{'drive'}.':'.$inlist->{'subdisk'} :
to
$inlist ? $inlist->{'device'}.':'.$inlist->{'subdisk'} :

(status_monitor.pl (line 81)).

Kind Regards,
M.P. Kant

Discussion

  • Jamie Cameron
    Jamie Cameron
    2009-07-06

    Thanks for this fix - it will go into the next Webmin release.

     
  • Jamie Cameron
    Jamie Cameron
    2009-07-06

    • status: open --> closed-fixed