Monitor VMware esxi using SOAP

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
mrw
Posts: 195
Joined: Mon Oct 08, 2012 6:11 am

Post by mrw »

"Use HTTP 1.1" was enabled but disabling it didn´t change anything in the response. Not anything visible in the browser that is..

I have a feeling that the response from the ESXi contains the certificate and then Hostmon doesn´t quite ignore that, as the settings imply, and then stops querying the ESXi. Could that be a correct assumtion?
One reason for this is the two SOAP options that are greyed out, which they shouldn´t be, if I understand your earlier replies correctly?

Let me know if a packet capture could help debugging this.

Thanks
//Andreas..
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If server still responds with error code 505 not implemented (regardless of HTTP protocol version), I do not see what we can do on our side :(
This problem should be investigated on server side.
We tried to find some information about such problem on vmware forum but do not see anything similar to this problem...

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

One reason for this is the two SOAP options that are greyed out,
Still greyed out?? Why?
We told you several times - enable these options!
If there are some problems with certificate (expired, wrong hostname, etc) then HostMonitor will show "No answer" status.

Regards
Alex
mrw
Posts: 195
Joined: Mon Oct 08, 2012 6:11 am

Post by mrw »

Sorry if I wasn´t clear.
I did as you said some time ago now and enabled the 2 options so they are not grey at all now.
I was just thinking of the reason for them being grey the first time as I thought you meant that they never should be greyed out and that might be a problem?

And yes the certificates are wrong in the ESXi, no doubt about that. They are all default and doesn´t match a thing correctly. But these options above are supposed to ignore certificate problems, right?
Or is that the problem here? That Hostmon requires the certificate to match and don´t be expired and so on?

Thanks for your patience!
//Andreas..
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I did as you said some time ago now and enabled the 2 options so they are not grey at all now.
Enabled and marked, right?
May we see your settings, may be we miss something? Please send screenshot or exported test settings to support@ks-soft.net

Regards
Alex
mrw
Posts: 195
Joined: Mon Oct 08, 2012 6:11 am

Post by mrw »

Yes, marked and enabled and not grey.
I have emailed you screenshots and the exported test.

I also got this reply from VMware regarding this:
;---
We do not have any requirements for such an application to work with ESXi 5.1. You will need to check with the 3rd party company find out any specific requirements for this tool to work with ESXi 5.1
;---
I asked them if there is anything we need to enable or configure to get SOAP monitoring to work with a third party monitoring application.

I will try to test SOAP monitoring using another tool, if I can find one, just to see if the problem is the same there.

Thanks
//Andreas..
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We imported your test settings and test works just fine with our VMWare ESXi 5.1
H'm... :roll:
May be traffic analyzer can help. WireShark may decrypt HTTPS traffic if you provide encryption key (using menu Edit -> Preferences -> Protocols -> SSL ...)

Regards
Alex
mrw
Posts: 195
Joined: Mon Oct 08, 2012 6:11 am

Post by mrw »

This is wierd. According to VMware there are no other options or requirements to make this work.
I have tested this on two ESXi v5.1 and the same result. They are on different subnets, using different active RMAs. One is brand new installed 5.1 from scratch and the other is upgraded several times. But they produce the same error...

Are you using a certificate that is valid in your ESXi? We are using default certificates in ESXi and they generate a non valid certificate so the "Ignore certificate problems" options need to work for us. To setup a valid one we need to use an internal CA and that´s no fun to configure..

I will look into Wiresharsk SSL decrypt feature if that will reveal some answers.

When this is solved I´m taking a vacation.. ;)

Thanks for your help!
//Andreas..
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Are you using a certificate that is valid in your ESXi? We are using default certificates in ESXi and they generate a non valid certificate so the "Ignore certificate problems" options need to work for us. To setup a valid one we need to use an internal CA and that´s no fun to configure..
We also are using default, non valid ESXi certificates for tests.
mrw
Posts: 195
Joined: Mon Oct 08, 2012 6:11 am

Post by mrw »

Hi,
Just thought I´d update the thread since this is solved now.
We upgraded to v9.34 before christmas and also the RMAs to the version included with v9.34 and without anything else the SOAP test works!

Now on to figuring out what I can monitor using SOAP ;)

Thanks alot for your excellent support!
//Andreas..
Gavin
Posts: 58
Joined: Thu Sep 24, 2009 8:44 am

Post by Gavin »

Mrw could you post a screenshot up of one of the tests you have done for this?

I'm struggling to get it working at all.
mrw
Posts: 195
Joined: Mon Oct 08, 2012 6:11 am

Post by mrw »

Well, I have only followed the instructions from KS-soft in this thread.
As of now the only test is the one supplied from KS-soft and that works fine now.
Not sure what I could give you that´s not in this thread already..?
HD-COT
Posts: 16
Joined: Thu Sep 25, 2014 6:23 am
Location: Nuremberg

Feature-Request: VMWare/ESX-Test

Post by HD-COT »

Yes, I know, we are in Troubleshooting-Threads right now.

But at this point, I'd like to form a feature request for easy-to-handle ESX-Monitoring.

This complex scripting method is nothing to work easy with, and troubleshooting is always very complex and time-intense.

Also, a lot of people are complaining about problems monitoring ESX-systems...
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

We implemented 8 test methods for ESXi/Hyper-V monitoring:
-VM Host status
-VM Host free space
-VM Host CPU usage
-VM Host memory
-VM guests status
-VM guests free space
-VM guests CPU usage
-VM guests memory

Please check for details at:
http://www.ks-soft.net/hostmon.eng/news.htm#v980
http://www.ks-soft.net/hostmon.eng/mfra ... hoststatus
HD-COT
Posts: 16
Joined: Thu Sep 25, 2014 6:23 am
Location: Nuremberg

Post by HD-COT »

Found it, seems i got tomatoes on my eyes, sorry for that!

Actually, when you list tests by "test tree" button next to the drop-down menu in HM Test Configuration, there is no option to select VM test (this is where i searched for the tests)

But when you scroll down the drop-down menu list, tests are showing up...

Maybe you could update the test tree window to the actual set of tests by the next version?

Thanks!!
Also Thanks for the very quick reply!!
Post Reply