Jump to content

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


meshipc

Recommended Posts

  • Staff

Hi,

 

Welcome to Pulseway community!

 

Thank you for your report. I've notified the development team and they will surely take a look at vCenter alarms as soon as possible.

 

Regards,

Chris

Pulseway Support

Link to comment
Share on other sites

  • 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 comment
Share on other sites

i created the above script in a ps1 fil, and tryed to run it after install of power cli.. i get no output what so ever, not even an error of the script.

 

the script is runned with one alarm in triggered alarms in vSphere Client.

Link to comment
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 comment
Share on other sites

  • 1 month later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...