vmk2014
Expert
Expert

Can We set alarm from power cli to send report for Data store running out space below threshold ?

Hi All,

Can set alarm from power cli to send report for Data store running out space below threshold ? We have vc 5.5. and vSphere VMFS 5.0 and its seems bug, data store alarm doesn't work.

Kindly let me know whether we can set alarm. Something like dashboard report looking on a daily basis.

thanks

vmk

Tags (1)
0 Kudos
9 Replies
LucD
Leadership
Leadership

Which alarm and which bug are you referring to?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
vmk2014
Expert
Expert

LucD,

Its vmfs 5.0 bug as per VMware vendor that it will fail to trigger the alarm even if the data store space run out of space.  We have seen cases like Data store is 0 MB and no alarm triggered.

Hence, wanted to run script with threshold like 85 % and it will send the report that data store is having 15 % free space.

thanks

vmk

0 Kudos
LucD
Leadership
Leadership

What I mean is, which alarm are you referring to?

The definition of that alarm?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
vmk2014
Expert
Expert

Hi LucD,

Alarm or report, i'm looking for

1)Alarm - Host connection failure or Not responding

2)Alarm 'Host connection and power state' on

3)Data store usage on disk

4) CPU

5) Memory

6) Network

7) License

Thanks

vmk

0 Kudos
LucD
Leadership
Leadership

I'm confused now, what exactly do you want?
This thread started with an alarm for low free space on datastore, which yoiu said didn't work due to a bug.

Which alarm are you referring to?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
vmk2014
Expert
Expert

LucD,

My apologies. I'm looking for data store alarm. It will be good if you can include host status etc. otherwise i'm looking specific to data store alarm.

thanks

vmk

0 Kudos
LucD
Leadership
Leadership

I don't have vSphere 5.x anymore because it is not supported anymore.
And I would like to know which alarm and which bug you are referring to when you stated

Can set alarm from power cli to send report for Data store running out space below threshold ? We have vc 5.5. and vSphere VMFS 5.0 and its seems bug, data store alarm doesn't work.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
vmk2014
Expert
Expert

Hi LucD,

Please find the KB article below.

Example - 

esxcli storage vmfs unmap -l Linux_VMAX_3235

VMware Knowledge Base

thanks

vmk

0 Kudos
LucD
Leadership
Leadership

That KB doesn't mention an alarm, or a bug in an alarm.

Which alarm is not working?

Can you show me the definition of that alarm?
Is that an alarm that comes with vSphere? Or something you defined locally?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos