Re: Is there any APIs for status monitering, how did the Webui got the status of mesos?

2015-10-15 Thread tommy xiao
the master ui fetch the status.json in 20 second interval 2015-10-08 16:44 GMT+08:00 Marco Massenzio : > Probably the most appropriate endpoint(s) would be something like > http://mesos-master:5050/system/stats.json > http://mesos-master:5050/metrics/snapshot > > for a much

Re: Is there any APIs for status monitering, how did the Webui got the status of mesos?

2015-10-08 Thread Marco Massenzio
Probably the most appropriate endpoint(s) would be something like http://mesos-master:5050/system/stats.json http://mesos-master:5050/metrics/snapshot for a much more basic 'health' check you can use the /health endpoint (this just gives you back a 200 OK if the Master/Agent are... feeling well

Re: Is there any APIs for status monitering, how did the Webui got the status of mesos?

2015-10-08 Thread Guangya Liu
Hi Marco, I think that you are mentioning http://:5050/master/state There is JIRA ticket https://issues.apache.org/jira/browse/MESOS-3568 planning to add this to mesos document. Thanks, Guangya On Thu, Oct 8, 2015 at 4:44 PM, Marco Massenzio

RE: Is there any APIs for status monitering, how did the Webui got the status of mesos?

2015-10-07 Thread Klaus Ma
Hi Chong,I think you can use Mesos’s REST API to achieve that; please refer to the following URL for more detail:http://mesos.apache.org/documentation/latest/monitoring/ Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer Platform Symphony/DCOS Development & Support, STG, IBM GCG