0 Replies Latest reply on Mar 21, 2018 4:00 AM by OHopp

    Two small errors / typos in vmwarevSphereHealthCheck.pl

    OHopp Lurker

      @@ -822,7 +822,8 @@ sub printVMSummary {

        ## BOOT TIME ##

        $vmstateString .= "<td>".($vm->runtime->bootTime ? $vm->runtime->bootTime : "N/A")."</td>";

       

      - if($aversion eq '4.1.0' || ($aversion eq '5.0.0' || $aversion eq '5.1.0')) {

      + if($aversion eq '4.1.0' || $aversion eq '5.0.0' || $aversion eq '5.1.0' || $aversion eq '5.5.0' || $aversion eq '6.0.0' || $aversion eq '6.5.0') {

      + #if($aversion eq '4.1.0' || ($aversion eq '5.0.0' || $aversion eq '5.1.0')) {

        ## UPTIME ##

        $vmstateString .= "<td>".($vm->summary->quickStats->uptimeSeconds ? &getUptime($vm->summary->quickStats->uptimeSeconds) : "N/A")."</td>";

        }

       

       

      @@ -2813,7 +2814,7 @@ sub printHostSummary {

        $lun_row .= "<td>".$volumename."</td>";

        $lun_row .= "<td>"."$diskName:$partition"."</td>";

        $lun_row .= "<td>"."$deviceName:$partition"."</td>";

      - if($queuedepth) { $lun_row .= "<td>".$queuedepth."</td"; } else { $lun_row .= "<td>N/A</td>"; }

      + if($queuedepth) { $lun_row .= "<td>".$queuedepth."</td>"; } else { $lun_row .= "<td>N/A</td>"; }

        my $state_string = "";

        foreach (@$states) {

        $state_string .= $_." ";