VMware snapshots
-
- Posts: 60
- Joined: Wed Mar 09, 2016 1:23 am
VMware snapshots
I there a way to monitor my VMguests for snapshots? I dont want my VM's to have active snapshots without me knowing about it. Is there a way to test this?
Greets,
Jeffrey
Greets,
Jeffrey
Hi,
I'm updating the topic as I'm trying to monitor my VM's snapshots too.
The solution seems good, but I can't get this test to work because (I think) the authentification required by the MOB web page is keeping the test from working.
Completing the authentification fields in the test options doesn't seem to do the trick.
Any help regarding vmware needed configuration or test tweaking would be appreciated.
Regards
Ben
I'm updating the topic as I'm trying to monitor my VM's snapshots too.
The solution seems good, but I can't get this test to work because (I think) the authentification required by the MOB web page is keeping the test from working.
Completing the authentification fields in the test options doesn't seem to do the trick.
Any help regarding vmware needed configuration or test tweaking would be appreciated.
Regards
Ben
By default TLS 1.0 should be enabled on such ESXi server.
This means HostMonitor 11.74 + Windows Server 2008 R2 with IE 11 should work..
Could you check what TLS protocols enabled on this ESXi server?
Also you may try to move HostMonitor to Windows Server 2012-2019
(or install RMA agent on Windows 2016 and use agent to perform test)
Regards
Alex
This means HostMonitor 11.74 + Windows Server 2008 R2 with IE 11 should work..
Could you check what TLS protocols enabled on this ESXi server?
Also you may try to move HostMonitor to Windows Server 2012-2019
(or install RMA agent on Windows 2016 and use agent to perform test)
Regards
Alex
The agent performing the test is on a 2012R2 and honestly I can't get a newer for this customer.
I came to understand that the test is giving me a "no answer" anytime I try to check a https page with a certificate error.
No issues when I'm checking google.com for exemple, or even a local webpage.
I tried other webpages with a certificate warning and I always have a "no answer" frome the test. Even when enabling "ignore unkown certificate authority problem"
Now I can't find a way to get the appropriate certificate to avoid that warning when navigating from that server.
I came to understand that the test is giving me a "no answer" anytime I try to check a https page with a certificate error.
No issues when I'm checking google.com for exemple, or even a local webpage.
I tried other webpages with a certificate warning and I always have a "no answer" frome the test. Even when enabling "ignore unkown certificate authority problem"
Now I can't find a way to get the appropriate certificate to avoid that warning when navigating from that server.
Result? What test status you see performing test using RMA?The agent performing the test is on a 2012R2 and honestly I can't get a newer for this customer.
Test performed by HostMonitor? or RMA?I came to understand that the test is giving me a "no answer" anytime I try to check a https page with a certificate error.
HostMonitor and RMA shows the same "No answer" status?
There are 3 options related to "bad" certificates.Even when enabling "ignore unkown certificate authority problem"
Are you sure all 3 enabled? These options have 3 states:
- not checked
- checked-grey (means test will use global options located in Options dialog so you should see "Settings for URL test" option on Misc page in Options dialog)
- check (test option will override global options)
You did not provide your registration name yet.
Regards
Alex
-Still a "no answer" status
-Test is always performed by an agent in this case because the ESXi page is only accessible on the local network.
-Other options are greyed

I'm not testing the full mob URL because it requires an authentification and I first would like to be sure I can test an URL before completing all my parameters.
-Test is always performed by an agent in this case because the ESXi page is only accessible on the local network.
-Other options are greyed

I'm not testing the full mob URL because it requires an authentification and I first would like to be sure I can test an URL before completing all my parameters.
As I said this means test will use global options located in Options dialog so you should check/mark "Settings for URL test" options located on Misc page in Options dialog.Other options are greyed
Or you may just mark these options, change from "gray" to "marked" state.
Regards
Alex
Last edited by KS-Soft on Mon Dec 10, 2018 9:18 am, edited 1 time in total.
I found the Option you were talking about, only available to an admin account.
I does the trick, effectively passig through certificate error.
Content check is working with the character string you provided.
I can't achieve to find info about the "Unset" value though, what does is really means?
Thanks a lot for your help in troubleshooting this test setup.
I does the trick, effectively passig through certificate error.
Content check is working with the character string you provided.
I can't achieve to find info about the "Unset" value though, what does is really means?
Thanks a lot for your help in troubleshooting this test setup.
This is how I did it, using vCenter, Powershell and VMWare PowerCLI:
- Install VMWare PowerCLI on your HostMonitor machine
- Create 'external test', using the following command:
Replace <Your_vCenter_Server> with you vCenter server name.
The Powershell command exits with the number of running snapshots as errorlevel.
It also has a little error handling, returning '0' when the actual result is 'null'.
Good luck!
- Install VMWare PowerCLI on your HostMonitor machine
- Create 'external test', using the following command:
Code: Select all
C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -c "Get-Module -Name VMware* -ListAvailable | Import-Module;connect-viserver <Your_vCenter_Server>;$res=(get-vm|get-snapshot).count;If($res -eq $null) {$res=0};Exit $res"
The Powershell command exits with the number of running snapshots as errorlevel.
It also has a little error handling, returning '0' when the actual result is 'null'.
Good luck!