Jump to content

vcenter server 5.5 (not appliance, but server 2008 r2) not showing hardware alerts


Recommended Posts

  • 2 months later...
  • Staff

Hi Rasmus,

 

Thank you for your post. Can you install PowerCLI and run the following script to see if the alarms are being correctly reported by VMware as triggered?

$esx_all = Get-VMHost | Get-View
$Report=@()
foreach ($esx in $esx_all){
    foreach($triggered in $esx.TriggeredAlarmState){
        If ($triggered.OverallStatus -like "red" ){
            $lineitem={} | Select Name, AlarmInfo
            $alarmDef = Get-View -Id $triggered.Alarm
            $lineitem.Name = $esx.Name
            $lineitem.AlarmInfo = $alarmDef.Info.Name
            $Report+=$lineitem
        } 
    }
}
$Report |Sort Name

Regards,

Chris

Pulseway Support

Link to post
Share on other sites
  • Staff

Hi Rasmus,

 

We though as much. It's because the VMware API that Pulseway and PowerCLI uses happens to report triggered alarm statuses as gray (a.k.a. not triggered) instead of red (as the script is checking for). We are still working on getting a fix with VMware for this problem.

 

Regards,

Chris

Pulseway Support

Link to post
Share on other sites
  • 1 month later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...