Monitoring and reporting for Veeam Data Platform
GabesVirtualWorld
Expert
Posts: 244
Liked: 37 times
Joined: Jun 15, 2009 10:49 am
Full Name: Gabrie van Zanten
Contact:

Exclude Guest disk free space for one particular disk

Post by GabesVirtualWorld »

Hi

We're using Veeam ONE v7 and getting a lot of alarms on low guest free disk space. This is because all our VMs have a separate disk that only holds the page file so this disk is usually way more filled than the average disk. I need to create an exception in the alarm that doesn't report on P-drive. Or set a different alarm value for P-drive.

Is there a way to do this?

Gabrie
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

Hi Gabrie,

Yes, there is. To do that you need to navigate to the summary page of the VM in question, and click "View all disks..." and then choose disks you want to suppress alarms for.

Thanks!
GabesVirtualWorld
Expert
Posts: 244
Liked: 37 times
Joined: Jun 15, 2009 10:49 am
Full Name: Gabrie van Zanten
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by GabesVirtualWorld »

Ah thanks great !!!
And now for 800 VMs ??? :-) Is there a powershell command I can use for this?
And how will this work for news VMs I add?
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

Not a PowerShell command, but it would still help you:

Code: Select all

UPDATE [VeeamOne].[monitor].[VwVirtualMachine]
   SET guest_disks.modify('replace value of (/Values/item[Name="P:\"]/Excluded/text())[1] with "1"')
  WHERE guest_disks IS NOT NULL
Enjoy!

P.S. for newly added VMs you will have to rerun the script. In the next updates I'm thinking to do it more user-friendly.
GabesVirtualWorld
Expert
Posts: 244
Liked: 37 times
Joined: Jun 15, 2009 10:49 am
Full Name: Gabrie van Zanten
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by GabesVirtualWorld »

Thank you !!!
MichaelNilsen
Novice
Posts: 5
Liked: never
Joined: Oct 05, 2013 3:38 am
Full Name: Michael Nilsen
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by MichaelNilsen »

hey guys,

just a quick question; following on from the answer about supressing alarms for a particular drive, is there a way of instead of suppressing the drive from all alerts, have it excluded from a particular alert but picked up by another, for example.

Create the following alarms:

Guest disk space < 5%
Guest disk space <3%
Guest disk space <1%

So then instead of suppressing for the pagefile drive, for example, you could configure say the <1% alert to it... so it will still alert but not all the time?
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

Michael,

Yes, that's possible. To do that you need to go to Alarm Management tab, copy Guest Disk OS alarm and then assign it on the required groups of VMs with a threshold you need.

Hope this helps!
MichaelNilsen
Novice
Posts: 5
Liked: never
Joined: Oct 05, 2013 3:38 am
Full Name: Michael Nilsen
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by MichaelNilsen »

Hi Vitality,

Sorry, probably didn't explain myself 100% correctly, but what I want to be able to do is apply this to a specific drive, for example

Server has 4 drives

C:\
D:\
E:\
F:\

I want the standard Guest Disk alarm applied to C:\, F:\, F:\
and my custom <1% alarm applied to D:\.

Is that possible?
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

Oh, thanks for clarification. Setting different thresholds for different drives is not possible, but thanks for the feedback. I will talk to our dev team about adding this capability in the next updates.
MichaelNilsen
Novice
Posts: 5
Liked: never
Joined: Oct 05, 2013 3:38 am
Full Name: Michael Nilsen
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by MichaelNilsen »

cool, thanks that would be great! :lol:
toningzkiz
Novice
Posts: 9
Liked: 1 time
Joined: Oct 25, 2013 8:45 am
Full Name: Antonio Rodriguez
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by toningzkiz »

Hi Vitaly,

Is "Guest disk free space" available in Hyper-V?
I need to monitor the space usage in our HYper-V VMs.

Thanks,

Tony
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

Hi Antonio,

Unfortunately, this information is not exposed via Hyper-V Integration services, so we cannot collect it in the way we do it for VMware. In order to access Guest OS information you need to provide connection credentials for each VM, and the scanning process might take considerable time (depends on the infrastructure size). Thanks for the feedback anyway, we will keep exploring potential ways of collecting this information for Hyper-V VMs.

Thanks!
carlnz
Novice
Posts: 5
Liked: never
Joined: Jun 15, 2012 3:04 am
Full Name: Carl Snelgrove
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by carlnz »

hi Vitaly - did the dev team ever come up with a way to assign a specific alarm to a specific drive without excluding alarms for other drives?

thanks,
Carl
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

Hi Carl,

Yes, we have discussed this capability internally. The changes required to make this happen also affect other core engine logic, so we have started the preparation/code refactoring.

Thanks!
Shoo
Lurker
Posts: 2
Liked: never
Joined: Jan 12, 2012 2:52 pm
Full Name: Shoo
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Shoo »

Any news about this feature?
And 1 more question - can I use Mb instead of Gb (or use 0.4Gb for example) in guest disk monitoring? I.e. I want to set alarms 200Mb and less free --> warning, 100Mb and less free --> error.
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

It's pending, but code preparations have already been started. Yes, you can use MBs (0.4 GB) for the thresholds as well.
Shoo
Lurker
Posts: 2
Liked: never
Joined: Jan 12, 2012 2:52 pm
Full Name: Shoo
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Shoo »

Vitaliy S. wrote:It's pending, but code preparations have already been started. Yes, you can use MBs (0.4 GB) for the thresholds as well.
Thx for info. Ok, trying now... 8.0.0.1669, editing alarm, point to Rules-->Guest free disk space-->Absolute-->Below-->Warning, GB--> Can't type/enter "." or "," after "0" or after any other digit. What I'm doing wrong? :)
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

You're using the wrong version :) Jokes aside, this is possible in v9 (scheduled to be released this quarter).
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

To update the thread - one of our dev guys responsible for all alarms and alarms engine has just told me that he was able to squeeze in this feature (an ability to exclude particular disk right from the alarm creation UI) into v9 release.
PeterCTrue
Veeam Software
Posts: 248
Liked: 42 times
Joined: Jan 22, 2014 9:21 pm
Full Name: Peter True
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by PeterCTrue »

IN v9 where would one go to exclude individual disks in the alarm creation UI? I do see "Disk Name" and currently am alerting on *. Would i be able to list the disks i would like to alert on such as C:\\; D:\\ and disks not required such as P:\\ simply do not list?
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Vitaliy S. »

Yes, your understanding is correct.
RaymondV
Influencer
Posts: 16
Liked: 1 time
Joined: Oct 02, 2014 4:01 pm
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by RaymondV »

Is there a way to permanently exclude the User Profile Disks on a Windows 2012 R2 RDS-server from monitoring? These disks get created when the user logs on and deleted when the user logs off, so manually excluding them makes no sense. So every time a user logs on, we will receive a warning.

Regards,
Raymond
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Shestakov »

Hello Raymond,
What kind of alarm do you receive?
Thanks!
RaymondV
Influencer
Posts: 16
Liked: 1 time
Joined: Oct 02, 2014 4:01 pm
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by RaymondV »

We receive the same alarm message as if the user data disk was a normal disk:
[Veeam ONE Monitor] Alarm - Guest disk space for <server> has been changed to Error (previous state: Reset/resolved)
Details: Amount of free disk space "C:\Users\<username>\UserData\" (0.5 GB) is below a defined threshold (2.0 GB).

Regards,
Raymond
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Shestakov »

Does it happen on a particular VM? You can exclude the VM from the existing alarm rule and create another rule for particular disks of that VM.
Thanks!
RaymondV
Influencer
Posts: 16
Liked: 1 time
Joined: Oct 02, 2014 4:01 pm
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by RaymondV » 1 person likes this post

Thanks Shestakov, following your advice did the trick :)
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Shestakov »

I`m glad it worked for you!
Thanks for the feedback!
Iain_Green
Service Provider
Posts: 158
Liked: 9 times
Joined: Dec 05, 2014 2:13 pm
Full Name: Iain Green
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Iain_Green »

MichaelNilsen wrote:Hi Vitality,

Sorry, probably didn't explain myself 100% correctly, but what I want to be able to do is apply this to a specific drive, for example

Server has 4 drives

C:\
D:\
E:\
F:\

I want the standard Guest Disk alarm applied to C:\, F:\, F:\
and my custom <1% alarm applied to D:\.

Is that possible?

If I have read the thread correctly, the above is now possible?
How would one go about doing this?
Many thanks

Iain Green
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Shestakov » 1 person likes this post

Yes, it is possible now as explained above.
You can create a custom alarm with only one VM in assignment and set disk name in the alarm rule.
Thanks!
Iain_Green
Service Provider
Posts: 158
Liked: 9 times
Joined: Dec 05, 2014 2:13 pm
Full Name: Iain Green
Contact:

Re: Exclude Guest disk free space for one particular disk

Post by Iain_Green »

One other, are we able to exclude file paths/

Example:

Some performs a FLR on the B&R server, we get alerted as per below when the restore point is mounted.

"Amount of free disk space "C:\VeeamFLR\<server_name>_ffbb547b\Volume4\" (8.8%) is below a defined threshold (10.0%). Current free disk space is 273.80 GB."

Now in our current system we can exclude with wild cards so \VeeamFLR\ is spotted and the alert is suppressed. Unfortunately Veeam One alerts to low disk for the mount point and sends out an alert.
Many thanks

Iain Green
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests