cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

Datastore low free space alert

Will VMAN trigger a datastore low free space alert if the VMs attached to the datastore are allocated over 90% of datastore capacity using thick disk or is the alert triggered when actual stored data (OS, apps, files, etc) reach over 90%

Tags (1)
0 Kudos
13 Replies
Product Manager
Product Manager

krisj25  wrote:

Will VMAN trigger a datastore low free space alert if the VMs attached to the datastore are allocated over 90% of datastore capacity using thick disk or is the alert triggered when actual stored data (OS, apps, files, etc) reach over 90%

This will be triggered based on the actual stored data. The alert definition simply looks at the space being utilized on the datastore and when it reaches 90% it will trigger.

pastedImage_2.png

0 Kudos

@serena-- Can u confirm if the metric here is % or GB?

While selecting the variable in trigger action, there is no mention of % so...

0 Kudos

  wrote:

@serena-- Can u confirm if the metric here is % or GB?

While selecting the variable in trigger action, there is no mention of % so...

% utilization

@serena How do i get the Hostname part of the alert for datastore alerts? I dont see any variable listing...

0 Kudos

@pratikmehta003 I think the problem you are running into there is that a datastore is not always linked to a single host. It is potentially a one to many relationship so you would probably need a SWQL or SQL statement to pull that list back. I am doing some research to see if I can find a query that would work. In the meantime or as an alternative to that you could use the "URL" variable that would include a direct link to the details page for the datastore in the alert email. Then you could click on that and use the AppStack resource in the details page to see which hosts are related.

jvb_0-1593702941925.png

 

0 Kudos

@jvb Thanks for this, i did check this but it doesnt help me... my scenario is that we are doing a pull integration from ServiceNow towards Solarwinds... and shocking is that datastore alerts are not being pulled at all, not sure why...

so if i need to use any other action like Trap, syslog etc then i need atleast the hostname on which datastore is located so that the alert has that and team can view that when ticket get raised to them....

0 Kudos

@pratikmehta003 It looks like you should be able to use the following SWQL variable to pull back at least one hostname associated with the datastore:

${N=SWQL;M=select top 1 ds.Hosts.Hostname from orion.vim.datastores ds where ds.datastoreid=${N=SwisEntity;M=DataStoreID}}

jvb_0-1594128344956.png

 

0 Kudos

@jvb so u mean the one u pasted i need to use in alert message?

0 Kudos

Yes, the one I pasted into my reply should work in the message.

@jvb Thanks a ton... this saved a lot of work for me...

I believe this kind of information should be made available somewhere... and also the parent variable like nodename, IP should be available for use for overall Virtualization....

0 Kudos

@jvb Need another help if possible. i want to pass the sweventID variable but not sure how it can be brought in.. this is what comes in ServiceNow.. so want to understand if there is any way to fetch this pass like how you gave for datastore...

pratikmehta003_0-1595849380184.png

 

 

 

0 Kudos

@pratikmehta003 I tried several things to try and help find a way to link those. It looks like Kevin has managed to show us a way forward! Take a look at his idea in the Alert Lab:

https://thwack.solarwinds.com/t5/Alert-Lab-Discussions/Linking-an-Alert-with-a-NetPerfMon-Event-Log/...

0 Kudos

Thanks Serena...

0 Kudos