rpseekell

updated

11 years ago

R

rpseekell

1 Rookie

•

34 Posts

0

38963

March 30th, 2016 06:00

How to alert when computer group has no available computers

We would like to receive an email if a computer group (specifically a cloud) in vWorkspace has few or no available (logged off) machines.  We have vWorkspace Monitoring/Diagnostics (Foglight) installed and sending emails, but have no idea what rule to set or build to do this.

We have vWorkspace 8.6 (not .1) and vMD 5.7.1

  • 1006

    0

    Posted April 18th, 2016 04:00

    M+ D is very customisable so it probably would be possible but it doesn't seem to have the option "out of the box" 

    Immediate choices are:

    1. An Enhancement Request logged for M+D (as I'm sure others would benefit from this) 

    or 

    2. Request the Foglight professional services team to spend time generating that alert (Contact your account manager to set this up)

  • 1006

    0

    Posted April 4th, 2016 08:00

    Hi,

    You can use PowerShell for vWorkspace and apply sending email every 15 minutes or so..

    Loop through the Desktop Groups, and fetch only Logged Off machines | where {$_.LoggedOffStatus = xxx}

    Send the result to email send-mailmessage -From -To -Attachment C:\Results.csv

    Hope it helps.

    Regards,

  • rpseekell

    1 Rookie

    •

    34 Posts

    1006

    0

    Posted April 4th, 2016 11:00

    Yes, I am sure I can do that with PowerShell.  I thought it was something that vMD could accomplish.  Ideally, all of the monitoring processes would take place in Foglight, so that we don't have part of it in a nice monitoring application and part of it home-grown and scattered about.