services.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. {
  2. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services",
  3. "items" : [
  4. {
  5. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/GANGLIA",
  6. "ServiceInfo" : {
  7. "cluster_name" : "cl",
  8. "service_name" : "GANGLIA"
  9. },
  10. "alerts" : {
  11. "summary" : {
  12. "CRITICAL" : 0,
  13. "OK" : 0,
  14. "WARNING" : 0
  15. }
  16. }
  17. },
  18. {
  19. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/HBASE",
  20. "ServiceInfo" : {
  21. "cluster_name" : "cl",
  22. "service_name" : "HBASE"
  23. },
  24. "alerts" : {
  25. "summary" : {
  26. "CRITICAL" : 0,
  27. "OK" : 0,
  28. "WARNING" : 0
  29. }
  30. }
  31. },
  32. {
  33. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/HCATALOG",
  34. "ServiceInfo" : {
  35. "cluster_name" : "cl",
  36. "service_name" : "HCATALOG"
  37. },
  38. "alerts" : {
  39. "summary" : {
  40. "CRITICAL" : 0,
  41. "OK" : 0,
  42. "WARNING" : 0
  43. }
  44. }
  45. },
  46. {
  47. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/HDFS",
  48. "ServiceInfo" : {
  49. "cluster_name" : "cl",
  50. "service_name" : "HDFS"
  51. },
  52. "alerts" : {
  53. "summary" : {
  54. "CRITICAL" : 9,
  55. "OK" : 1,
  56. "WARNING" : 2
  57. }
  58. }
  59. },
  60. {
  61. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/MAPREDUCE2",
  62. "ServiceInfo" : {
  63. "cluster_name" : "cl",
  64. "service_name" : "MAPREDUCE2"
  65. },
  66. "alerts" : {
  67. "summary" : {
  68. "CRITICAL" : 0,
  69. "OK" : 0,
  70. "WARNING" : 0
  71. }
  72. }
  73. },
  74. {
  75. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/NAGIOS",
  76. "ServiceInfo" : {
  77. "cluster_name" : "cl",
  78. "service_name" : "NAGIOS"
  79. },
  80. "alerts" : {
  81. "summary" : {
  82. "CRITICAL" : 0,
  83. "OK" : 0,
  84. "WARNING" : 0
  85. }
  86. }
  87. },
  88. {
  89. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/OOZIE",
  90. "ServiceInfo" : {
  91. "cluster_name" : "cl",
  92. "service_name" : "OOZIE"
  93. },
  94. "alerts" : {
  95. "summary" : {
  96. "CRITICAL" : 0,
  97. "OK" : 0,
  98. "WARNING" : 0
  99. }
  100. }
  101. },
  102. {
  103. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/SQOOP",
  104. "ServiceInfo" : {
  105. "cluster_name" : "cl",
  106. "service_name" : "SQOOP"
  107. },
  108. "alerts" : {
  109. "summary" : {
  110. "CRITICAL" : 0,
  111. "OK" : 0,
  112. "WARNING" : 0
  113. }
  114. }
  115. },
  116. {
  117. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/PIG",
  118. "ServiceInfo" : {
  119. "cluster_name" : "cl",
  120. "service_name" : "PIG"
  121. },
  122. "alerts" : {
  123. "summary" : {
  124. "CRITICAL" : 0,
  125. "OK" : 0,
  126. "WARNING" : 0
  127. }
  128. }
  129. },
  130. {
  131. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/YARN",
  132. "ServiceInfo" : {
  133. "cluster_name" : "cl",
  134. "service_name" : "YARN"
  135. },
  136. "alerts" : {
  137. "summary" : {
  138. "CRITICAL" : 0,
  139. "OK" : 0,
  140. "WARNING" : 0
  141. }
  142. }
  143. },
  144. {
  145. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/ZOOKEEPER",
  146. "ServiceInfo" : {
  147. "cluster_name" : "cl",
  148. "service_name" : "ZOOKEEPER"
  149. },
  150. "alerts" : {
  151. "summary" : {
  152. "CRITICAL" : 0,
  153. "OK" : 0,
  154. "WARNING" : 0
  155. }
  156. }
  157. },
  158. {
  159. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/FALCON",
  160. "ServiceInfo" : {
  161. "cluster_name" : "cl",
  162. "service_name" : "FALCON"
  163. },
  164. "alerts" : {
  165. "summary" : {
  166. "CRITICAL" : 0,
  167. "OK" : 0,
  168. "WARNING" : 0
  169. }
  170. }
  171. },
  172. {
  173. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/STORM",
  174. "ServiceInfo" : {
  175. "cluster_name" : "cl",
  176. "service_name" : "STORM"
  177. },
  178. "alerts" : {
  179. "summary" : {
  180. "CRITICAL" : 0,
  181. "OK" : 0,
  182. "WARNING" : 0
  183. }
  184. }
  185. },
  186. {
  187. "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/TEZ",
  188. "ServiceInfo" : {
  189. "cluster_name" : "cl",
  190. "service_name" : "TEZ"
  191. },
  192. "alerts" : {
  193. "summary" : {
  194. "CRITICAL" : 0,
  195. "OK" : 0,
  196. "WARNING" : 0
  197. }
  198. }
  199. }
  200. ]
  201. }