bland328

Members
  • Posts

    105
  • Joined

  • Last visited

Report Comments posted by bland328

  1. Hmm...very strange--the code you posted doesn't match the version of the monitor script I'm running. On my 6.9.2 install, /usr/local/emhttp/plugins/dynamix/scripts/monitor calls check_temp thusly:

     

    // check array devices
    foreach ($disks as $disk) {
    ..
    // process disk temperature notifications
      check_temp($name,$disk['temp'],$text,$info);
    ..
    }
    
    // check unassigned devices
    foreach ($devs as $dev) {
    ..
    // process disk temperature notifications
      check_temp($name,$temp,$text,$info);
    ..
    }

     

    This explains why the tweak I posted makes check_temp work properly on my system, but doesn't explain why my 6.9.2 monitor code differs from what you expect.

     

    Might the code you posted be from a post-6.9.2 revision?