VMware Cloud Community
samana_hyperic
Contributor
Contributor

How can monitor the web app by URL (RESTFul calls)?

Hi All ,
I want to monitor the web app in some web server(jboss, tomcat, glasshfish), I checked some plugin of web server, there is no method to check the specified service or action.
Could someone help me if there is any solution to monitor the web app by URL .
For example , the login url is http://localhost/login.action, the username & password is test.How can monitor if the login action is good by URL?


Many Thanks,
Smith
0 Kudos
3 Replies
admin
Immortal
Immortal

Hi,

Unless the app allows logins via HTTP AUTH this isn't possible out of the box. You'd need to develop a custom plugin which would post the username and password to the app in the way it would expect.
0 Kudos
samana_hyperic
Contributor
Contributor

Many Thanks , wschlichter
I have a solution to do it .
By using the script plugin , I write the web app check script. In detail , the script is using the wget command to simulate HTTP request.


BR,
Smith
0 Kudos
shuangli_hyperi
Contributor
Contributor

could you share it with us
0 Kudos