incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1442010 [17/29] - in /incubator/ambari/branches/branch-1.2: ./ ambari-agent/ ambari-agent/conf/unix/ ambari-agent/src/examples/ ambari-agent/src/main/puppet/modules/hdp-ganglia/files/ ambari-agent/src/main/puppet/modules/hdp-ganglia/manife...
Date Mon, 04 Feb 2013 02:24:02 GMT
Modified: incubator/ambari/branches/branch-1.2/ambari-server/src/test/resources/mapreduce_tasktracker_jmx.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-1.2/ambari-server/src/test/resources/mapreduce_tasktracker_jmx.json?rev=1442010&r1=1442009&r2=1442010&view=diff
==============================================================================
--- incubator/ambari/branches/branch-1.2/ambari-server/src/test/resources/mapreduce_tasktracker_jmx.json (original)
+++ incubator/ambari/branches/branch-1.2/ambari-server/src/test/resources/mapreduce_tasktracker_jmx.json Mon Feb  4 02:23:55 2013
@@ -1,122 +1,842 @@
 {
   "beans" : [ {
-    "name" : "Hadoop:service=TaskTracker,name=TaskTrackerMetrics",
-    "modelerType" : "TaskTrackerMetrics",
-    "tag.context" : "mapred",
-    "tag.sessionId" : "",
-    "tag.hostName" : "ip-10-190-186-15.ec2.internal",
-    "maps_running" : 0,
-    "reduces_running" : 0,
-    "mapTaskSlots" : 3,
-    "reduceTaskSlots" : 1,
-    "tasks_completed" : 0,
-    "tasks_failed_timeout" : 0,
-    "tasks_failed_ping" : 0
+    "name" : "java.lang:type=MemoryPool,name=PS Eden Space",
+    "modelerType" : "sun.management.MemoryPoolImpl",
+    "Name" : "PS Eden Space",
+    "Type" : "HEAP",
+    "Valid" : true,
+    "CollectionUsage" : {
+      "committed" : 3735552,
+      "init" : 30081024,
+      "max" : 357629952,
+      "used" : 0
+    },
+    "CollectionUsageThreshold" : 0,
+    "CollectionUsageThresholdCount" : 0,
+    "MemoryManagerNames" : [ "PS MarkSweep", "PS Scavenge" ],
+    "PeakUsage" : {
+      "committed" : 30081024,
+      "init" : 30081024,
+      "max" : 357695488,
+      "used" : 30081024
+    },
+    "Usage" : {
+      "committed" : 3735552,
+      "init" : 30081024,
+      "max" : 357629952,
+      "used" : 3459696
+    },
+    "CollectionUsageThresholdExceeded" : true,
+    "CollectionUsageThresholdSupported" : true,
+    "UsageThresholdSupported" : false
+  }, {
+    "name" : "java.lang:type=Memory",
+    "modelerType" : "sun.management.MemoryImpl",
+    "Verbose" : false,
+    "HeapMemoryUsage" : {
+      "committed" : 40173568,
+      "init" : 120225856,
+      "max" : 954466304,
+      "used" : 18330984
+    },
+    "NonHeapMemoryUsage" : {
+      "committed" : 46202880,
+      "init" : 24313856,
+      "max" : 136314880,
+      "used" : 24235104
+    },
+    "ObjectPendingFinalizationCount" : 0
+  }, {
+    "name" : "Hadoop:service=TaskTracker,name=MetricsSystem,sub=Control",
+    "modelerType" : "org.apache.hadoop.metrics2.impl.MetricsSystemImpl"
+  }, {
+    "name" : "java.lang:type=MemoryPool,name=PS Survivor Space",
+    "modelerType" : "sun.management.MemoryPoolImpl",
+    "Name" : "PS Survivor Space",
+    "Type" : "HEAP",
+    "Valid" : true,
+    "CollectionUsage" : {
+      "committed" : 131072,
+      "init" : 4980736,
+      "max" : 131072,
+      "used" : 98304
+    },
+    "CollectionUsageThreshold" : 0,
+    "CollectionUsageThresholdCount" : 0,
+    "MemoryManagerNames" : [ "PS MarkSweep", "PS Scavenge" ],
+    "PeakUsage" : {
+      "committed" : 4980736,
+      "init" : 4980736,
+      "max" : 4980736,
+      "used" : 2867816
+    },
+    "Usage" : {
+      "committed" : 131072,
+      "init" : 4980736,
+      "max" : 131072,
+      "used" : 98304
+    },
+    "CollectionUsageThresholdExceeded" : true,
+    "CollectionUsageThresholdSupported" : true,
+    "UsageThresholdSupported" : false
+  }, {
+    "name" : "java.lang:type=GarbageCollector,name=PS MarkSweep",
+    "modelerType" : "sun.management.GarbageCollectorImpl",
+    "LastGcInfo" : {
+      "GcThreadCount" : 2,
+      "duration" : 166,
+      "endTime" : 86208313,
+      "id" : 1,
+      "memoryUsageAfterGc" : [ {
+        "key" : "PS Survivor Space",
+        "value" : {
+          "committed" : 131072,
+          "init" : 4980736,
+          "max" : 131072,
+          "used" : 0
+        }
+      }, {
+        "key" : "PS Old Gen",
+        "value" : {
+          "committed" : 36306944,
+          "init" : 80216064,
+          "max" : 715849728,
+          "used" : 7479576
+        }
+      }, {
+        "key" : "PS Perm Gen",
+        "value" : {
+          "committed" : 43450368,
+          "init" : 21757952,
+          "max" : 85983232,
+          "used" : 21567872
+        }
+      }, {
+        "key" : "Code Cache",
+        "value" : {
+          "committed" : 2752512,
+          "init" : 2555904,
+          "max" : 50331648,
+          "used" : 2635904
+        }
+      }, {
+        "key" : "PS Eden Space",
+        "value" : {
+          "committed" : 3735552,
+          "init" : 30081024,
+          "max" : 357629952,
+          "used" : 0
+        }
+      } ],
+      "memoryUsageBeforeGc" : [ {
+        "key" : "PS Survivor Space",
+        "value" : {
+          "committed" : 131072,
+          "init" : 4980736,
+          "max" : 131072,
+          "used" : 98304
+        }
+      }, {
+        "key" : "PS Old Gen",
+        "value" : {
+          "committed" : 80216064,
+          "init" : 80216064,
+          "max" : 715849728,
+          "used" : 80204800
+        }
+      }, {
+        "key" : "PS Perm Gen",
+        "value" : {
+          "committed" : 21757952,
+          "init" : 21757952,
+          "max" : 85983232,
+          "used" : 21567872
+        }
+      }, {
+        "key" : "Code Cache",
+        "value" : {
+          "committed" : 2752512,
+          "init" : 2555904,
+          "max" : 50331648,
+          "used" : 2635904
+        }
+      }, {
+        "key" : "PS Eden Space",
+        "value" : {
+          "committed" : 3735552,
+          "init" : 30081024,
+          "max" : 357629952,
+          "used" : 0
+        }
+      } ],
+      "startTime" : 86208147
+    },
+    "CollectionCount" : 1,
+    "CollectionTime" : 165,
+    "Name" : "PS MarkSweep",
+    "Valid" : true,
+    "MemoryPoolNames" : [ "PS Eden Space", "PS Survivor Space", "PS Old Gen", "PS Perm Gen" ]
+  }, {
+    "name" : "java.lang:type=Compilation",
+    "modelerType" : "sun.management.CompilationImpl",
+    "Name" : "HotSpot 64-Bit Tiered Compilers",
+    "CompilationTimeMonitoringSupported" : true,
+    "TotalCompilationTime" : 12183
   }, {
     "name" : "Hadoop:service=TaskTracker,name=TaskTrackerInfo",
     "modelerType" : "org.apache.hadoop.mapred.TaskTracker",
-    "Hostname" : "ip-10-190-186-15.ec2.internal",
-    "Version" : "1.0.3.14, r",
+    "Hostname" : "ip-10-85-111-149.ec2.internal",
+    "Version" : "1.1.2.21, r",
     "ConfigVersion" : "default",
-    "JobTrackerUrl" : "domu-12-31-39-14-ee-b3.compute-1.internal:50300",
-    "RpcPort" : 57448,
+    "JobTrackerUrl" : "ip-10-116-103-5.ec2.internal:50300",
+    "RpcPort" : 39494,
     "HttpPort" : 50060,
     "Healthy" : true,
     "TasksInfoJson" : "{\"running\":0,\"failed\":0,\"commit_pending\":0}"
   }, {
-    "name" : "Hadoop:service=TaskTracker,name=MetricsSystem,sub=Control",
-    "modelerType" : "org.apache.hadoop.metrics2.impl.MetricsSystemImpl"
-  }, {
-    "name" : "Hadoop:service=TaskTracker,name=RpcDetailedActivityForPort57448",
-    "modelerType" : "RpcDetailedActivityForPort57448",
+    "name" : "Hadoop:service=TaskTracker,name=RpcDetailedActivityForPort39494",
+    "modelerType" : "RpcDetailedActivityForPort39494",
     "tag.context" : "rpcdetailed",
-    "tag.port" : "57448",
-    "tag.hostName" : "ip-10-190-186-15.ec2.internal"
+    "tag.port" : "39494",
+    "tag.hostName" : "ip-10-85-111-149.ec2.internal",
+    "getProtocolVersion_num_ops" : 4,
+    "getProtocolVersion_avg_time" : 0.0,
+    "getTask_num_ops" : 4,
+    "getTask_avg_time" : 1.0,
+    "statusUpdate_num_ops" : 8,
+    "statusUpdate_avg_time" : 1.0,
+    "done_num_ops" : 4,
+    "done_avg_time" : 0.0,
+    "getMapCompletionEvents_num_ops" : 6,
+    "getMapCompletionEvents_avg_time" : 1.0,
+    "ping_num_ops" : 1,
+    "ping_avg_time" : 0.0,
+    "commitPending_num_ops" : 1,
+    "commitPending_avg_time" : 1.0,
+    "canCommit_num_ops" : 2,
+    "canCommit_avg_time" : 0.0
+  }, {
+    "name" : "java.lang:type=OperatingSystem",
+    "modelerType" : "com.sun.management.UnixOperatingSystem",
+    "MaxFileDescriptorCount" : 32768,
+    "OpenFileDescriptorCount" : 87,
+    "CommittedVirtualMemorySize" : 1542619136,
+    "FreePhysicalMemorySize" : 5949931520,
+    "FreeSwapSpaceSize" : 0,
+    "ProcessCpuTime" : 443210000000,
+    "TotalPhysicalMemorySize" : 7694454784,
+    "TotalSwapSpaceSize" : 0,
+    "Name" : "Linux",
+    "Version" : "2.6.32-220.17.1.el6.centos.plus.x86_64",
+    "AvailableProcessors" : 2,
+    "Arch" : "amd64",
+    "SystemLoadAverage" : 0.0
+  }, {
+    "name" : "Hadoop:service=TaskTracker,name=ShuffleServerMetrics",
+    "modelerType" : "ShuffleServerMetrics",
+    "tag.context" : "mapred",
+    "tag.sessionId" : "",
+    "tag.hostName" : "ip-10-85-111-149.ec2.internal",
+    "shuffle_handler_busy_percent" : 0.0,
+    "shuffle_output_bytes" : 1841,
+    "shuffle_failed_outputs" : 0,
+    "shuffle_success_outputs" : 1,
+    "shuffle_exceptions_caught" : 0
+  }, {
+    "name" : "java.lang:type=MemoryManager,name=CodeCacheManager",
+    "modelerType" : "sun.management.MemoryManagerImpl",
+    "Name" : "CodeCacheManager",
+    "Valid" : true,
+    "MemoryPoolNames" : [ "Code Cache" ]
+  }, {
+    "name" : "java.lang:type=MemoryPool,name=Code Cache",
+    "modelerType" : "sun.management.MemoryPoolImpl",
+    "Name" : "Code Cache",
+    "Type" : "NON_HEAP",
+    "Valid" : true,
+    "CollectionUsage" : null,
+    "MemoryManagerNames" : [ "CodeCacheManager" ],
+    "PeakUsage" : {
+      "committed" : 2752512,
+      "init" : 2555904,
+      "max" : 50331648,
+      "used" : 2673472
+    },
+    "Usage" : {
+      "committed" : 2752512,
+      "init" : 2555904,
+      "max" : 50331648,
+      "used" : 2666880
+    },
+    "UsageThreshold" : 0,
+    "UsageThresholdCount" : 0,
+    "CollectionUsageThresholdSupported" : false,
+    "UsageThresholdExceeded" : true,
+    "UsageThresholdSupported" : true
+  }, {
+    "name" : "java.lang:type=Runtime",
+    "modelerType" : "sun.management.RuntimeImpl",
+    "Name" : "14318@ip-10-85-111-149.ec2.internal",
+    "ClassPath" : "/etc/hadoop/conf:/usr/jdk/jdk1.6.0_31/lib/tools.jar:/usr/lib/hadoop/libexec/..:/usr/lib/hadoop/libexec/../hadoop-core-1.1.2.21.jar:/usr/lib/hadoop/libexec/../lib/ambari-log4j-1.0.jar:/usr/lib/hadoop/libexec/../lib/asm-3.2.jar:/usr/lib/hadoop/libexec/../lib/aspectjrt-1.6.11.jar:/usr/lib/hadoop/libexec/../lib/aspectjtools-1.6.11.jar:/usr/lib/hadoop/libexec/../lib/commons-beanutils-1.7.0.jar:/usr/lib/hadoop/libexec/../lib/commons-beanutils-core-1.8.0.jar:/usr/lib/hadoop/libexec/../lib/commons-cli-1.2.jar:/usr/lib/hadoop/libexec/../lib/commons-codec-1.4.jar:/usr/lib/hadoop/libexec/../lib/commons-collections-3.2.1.jar:/usr/lib/hadoop/libexec/../lib/commons-configuration-1.6.jar:/usr/lib/hadoop/libexec/../lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop/libexec/../lib/commons-digester-1.8.jar:/usr/lib/hadoop/libexec/../lib/commons-el-1.0.jar:/usr/lib/hadoop/libexec/../lib/commons-httpclient-3.0.1.jar:/usr/lib/hadoop/libexec/../lib/commons-io-2.1.jar:/usr/lib/hadoop/
 libexec/../lib/commons-lang-2.4.jar:/usr/lib/hadoop/libexec/../lib/commons-logging-1.1.1.jar:/usr/lib/hadoop/libexec/../lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop/libexec/../lib/commons-math-2.1.jar:/usr/lib/hadoop/libexec/../lib/commons-net-3.1.jar:/usr/lib/hadoop/libexec/../lib/core-3.1.1.jar:/usr/lib/hadoop/libexec/../lib/hadoop-capacity-scheduler-1.1.2.21.jar:/usr/lib/hadoop/libexec/../lib/hadoop-fairscheduler-1.1.2.21.jar:/usr/lib/hadoop/libexec/../lib/hadoop-lzo-0.5.0.jar:/usr/lib/hadoop/libexec/../lib/hadoop-thriftfs-1.1.2.21.jar:/usr/lib/hadoop/libexec/../lib/hadoop-tools.jar:/usr/lib/hadoop/libexec/../lib/hsqldb-1.8.0.10.jar:/usr/lib/hadoop/libexec/../lib/jackson-core-asl-1.8.8.jar:/usr/lib/hadoop/libexec/../lib/jackson-mapper-asl-1.8.8.jar:/usr/lib/hadoop/libexec/../lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop/libexec/../lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop/libexec/../lib/jdeb-0.8.jar:/usr/lib/hadoop/libexec/../lib/jersey-core-1.8.jar:/usr/lib/had
 oop/libexec/../lib/jersey-json-1.8.jar:/usr/lib/hadoop/libexec/../lib/jersey-server-1.8.jar:/usr/lib/hadoop/libexec/../lib/jets3t-0.6.1.jar:/usr/lib/hadoop/libexec/../lib/jetty-6.1.26.jar:/usr/lib/hadoop/libexec/../lib/jetty-util-6.1.26.jar:/usr/lib/hadoop/libexec/../lib/jsch-0.1.42.jar:/usr/lib/hadoop/libexec/../lib/junit-4.5.jar:/usr/lib/hadoop/libexec/../lib/kfs-0.2.2.jar:/usr/lib/hadoop/libexec/../lib/log4j-1.2.15.jar:/usr/lib/hadoop/libexec/../lib/mockito-all-1.8.5.jar:/usr/lib/hadoop/libexec/../lib/oro-2.0.8.jar:/usr/lib/hadoop/libexec/../lib/postgresql-9.1-901-1.jdbc4.jar:/usr/lib/hadoop/libexec/../lib/servlet-api-2.5-20081211.jar:/usr/lib/hadoop/libexec/../lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop/libexec/../lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop/libexec/../lib/xmlenc-0.52.jar:/usr/lib/hadoop/libexec/../lib/jsp-2.1/jsp-2.1.jar:/usr/lib/hadoop/libexec/../lib/jsp-2.1/jsp-api-2.1.jar",
+    "StartTime" : 1358364468454,
+    "BootClassPath" : "/usr/jdk/jdk1.6.0_31/jre/lib/resources.jar:/usr/jdk/jdk1.6.0_31/jre/lib/rt.jar:/usr/jdk/jdk1.6.0_31/jre/lib/sunrsasign.jar:/usr/jdk/jdk1.6.0_31/jre/lib/jsse.jar:/usr/jdk/jdk1.6.0_31/jre/lib/jce.jar:/usr/jdk/jdk1.6.0_31/jre/lib/charsets.jar:/usr/jdk/jdk1.6.0_31/jre/lib/modules/jdk.boot.jar:/usr/jdk/jdk1.6.0_31/jre/classes",
+    "LibraryPath" : "/usr/lib/hadoop/libexec/../lib/native/Linux-amd64-64",
+    "VmName" : "Java HotSpot(TM) 64-Bit Server VM",
+    "VmVendor" : "Sun Microsystems Inc.",
+    "VmVersion" : "20.6-b01",
+    "BootClassPathSupported" : true,
+    "InputArguments" : [ "-Dproc_tasktracker", "-Xmx1024m", "-Djava.net.preferIPv4Stack=true", "-Djava.net.preferIPv4Stack=true", "-Djava.net.preferIPv4Stack=true", "-Xmx1024m", "-Dhadoop.security.logger=ERROR,console", "-Dmapred.audit.logger=ERROR,console", "-Dhadoop.log.dir=/var/log/hadoop/mapred", "-Dhadoop.log.file=hadoop-mapred-tasktracker-ip-10-85-111-149.log", "-Dhadoop.home.dir=/usr/lib/hadoop/libexec/..", "-Dhadoop.id.str=mapred", "-Dhadoop.root.logger=INFO,DRFA", "-Dhadoop.security.logger=INFO,NullAppender", "-Djava.library.path=/usr/lib/hadoop/libexec/../lib/native/Linux-amd64-64", "-Dhadoop.policy.file=hadoop-policy.xml" ],
+    "ManagementSpecVersion" : "1.2",
+    "SpecName" : "Java Virtual Machine Specification",
+    "SpecVendor" : "Sun Microsystems Inc.",
+    "SpecVersion" : "1.0",
+    "SystemProperties" : [ {
+      "key" : "java.ext.dirs",
+      "value" : "/usr/jdk/jdk1.6.0_31/jre/lib/ext:/usr/java/packages/lib/ext"
+    }, {
+      "key" : "hadoop.home.dir",
+      "value" : "/usr/lib/hadoop/libexec/.."
+    }, {
+      "key" : "java.vm.specification.vendor",
+      "value" : "Sun Microsystems Inc."
+    }, {
+      "key" : "user.timezone",
+      "value" : "America/New_York"
+    }, {
+      "key" : "java.vm.vendor",
+      "value" : "Sun Microsystems Inc."
+    }, {
+      "key" : "hadoop.id.str",
+      "value" : "mapred"
+    }, {
+      "key" : "user.name",
+      "value" : "mapred"
+    }, {
+      "key" : "java.vm.specification.name",
+      "value" : "Java Virtual Machine Specification"
+    }, {
+      "key" : "user.dir",
+      "value" : "/usr/lib/hadoop"
+    }, {
+      "key" : "user.country",
+      "value" : "US"
+    }, {
+      "key" : "user.language",
+      "value" : "en"
+    }, {
+      "key" : "java.specification.version",
+      "value" : "1.6"
+    }, {
+      "key" : "hadoop.log.file",
+      "value" : "hadoop-mapred-tasktracker-ip-10-85-111-149.log"
+    }, {
+      "key" : "hadoop.policy.file",
+      "value" : "hadoop-policy.xml"
+    }, {
+      "key" : "sun.cpu.endian",
+      "value" : "little"
+    }, {
+      "key" : "java.home",
+      "value" : "/usr/jdk/jdk1.6.0_31/jre"
+    }, {
+      "key" : "java.net.preferIPv4Stack",
+      "value" : "true"
+    }, {
+      "key" : "sun.jnu.encoding",
+      "value" : "ANSI_X3.4-1968"
+    }, {
+      "key" : "file.separator",
+      "value" : "/"
+    }, {
+      "key" : "java.vendor.url",
+      "value" : "http://java.sun.com/"
+    }, {
+      "key" : "java.awt.graphicsenv",
+      "value" : "sun.awt.X11GraphicsEnvironment"
+    }, {
+      "key" : "hadoop.log.dir",
+      "value" : "/var/log/hadoop/mapred"
+    }, {
+      "key" : "os.arch",
+      "value" : "amd64"
+    }, {
+      "key" : "proc_tasktracker",
+      "value" : ""
+    }, {
+      "key" : "java.io.tmpdir",
+      "value" : "/tmp"
+    }, {
+      "key" : "java.runtime.name",
+      "value" : "Java(TM) SE Runtime Environment"
+    }, {
+      "key" : "java.awt.printerjob",
+      "value" : "sun.print.PSPrinterJob"
+    }, {
+      "key" : "mapred.audit.logger",
+      "value" : "ERROR,console"
+    }, {
+      "key" : "file.encoding",
+      "value" : "ANSI_X3.4-1968"
+    }, {
+      "key" : "java.version",
+      "value" : "1.6.0_31"
+    }, {
+      "key" : "java.vendor.url.bug",
+      "value" : "http://java.sun.com/cgi-bin/bugreport.cgi"
+    }, {
+      "key" : "java.vm.specification.version",
+      "value" : "1.0"
+    }, {
+      "key" : "file.encoding.pkg",
+      "value" : "sun.io"
+    }, {
+      "key" : "sun.java.command",
+      "value" : "org.apache.hadoop.mapred.TaskTracker"
+    }, {
+      "key" : "sun.java.launcher",
+      "value" : "SUN_STANDARD"
+    }, {
+      "key" : "path.separator",
+      "value" : ":"
+    }, {
+      "key" : "java.runtime.version",
+      "value" : "1.6.0_31-b04"
+    }, {
+      "key" : "java.class.path",
+      "value" : "/etc/hadoop/conf:/usr/jdk/jdk1.6.0_31/lib/tools.jar:/usr/lib/hadoop/libexec/..:/usr/lib/hadoop/libexec/../hadoop-core-1.1.2.21.jar:/usr/lib/hadoop/libexec/../lib/ambari-log4j-1.0.jar:/usr/lib/hadoop/libexec/../lib/asm-3.2.jar:/usr/lib/hadoop/libexec/../lib/aspectjrt-1.6.11.jar:/usr/lib/hadoop/libexec/../lib/aspectjtools-1.6.11.jar:/usr/lib/hadoop/libexec/../lib/commons-beanutils-1.7.0.jar:/usr/lib/hadoop/libexec/../lib/commons-beanutils-core-1.8.0.jar:/usr/lib/hadoop/libexec/../lib/commons-cli-1.2.jar:/usr/lib/hadoop/libexec/../lib/commons-codec-1.4.jar:/usr/lib/hadoop/libexec/../lib/commons-collections-3.2.1.jar:/usr/lib/hadoop/libexec/../lib/commons-configuration-1.6.jar:/usr/lib/hadoop/libexec/../lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop/libexec/../lib/commons-digester-1.8.jar:/usr/lib/hadoop/libexec/../lib/commons-el-1.0.jar:/usr/lib/hadoop/libexec/../lib/commons-httpclient-3.0.1.jar:/usr/lib/hadoop/libexec/../lib/commons-io-2.1.jar:/usr/lib/hadoop/li
 bexec/../lib/commons-lang-2.4.jar:/usr/lib/hadoop/libexec/../lib/commons-logging-1.1.1.jar:/usr/lib/hadoop/libexec/../lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop/libexec/../lib/commons-math-2.1.jar:/usr/lib/hadoop/libexec/../lib/commons-net-3.1.jar:/usr/lib/hadoop/libexec/../lib/core-3.1.1.jar:/usr/lib/hadoop/libexec/../lib/hadoop-capacity-scheduler-1.1.2.21.jar:/usr/lib/hadoop/libexec/../lib/hadoop-fairscheduler-1.1.2.21.jar:/usr/lib/hadoop/libexec/../lib/hadoop-lzo-0.5.0.jar:/usr/lib/hadoop/libexec/../lib/hadoop-thriftfs-1.1.2.21.jar:/usr/lib/hadoop/libexec/../lib/hadoop-tools.jar:/usr/lib/hadoop/libexec/../lib/hsqldb-1.8.0.10.jar:/usr/lib/hadoop/libexec/../lib/jackson-core-asl-1.8.8.jar:/usr/lib/hadoop/libexec/../lib/jackson-mapper-asl-1.8.8.jar:/usr/lib/hadoop/libexec/../lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoop/libexec/../lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop/libexec/../lib/jdeb-0.8.jar:/usr/lib/hadoop/libexec/../lib/jersey-core-1.8.jar:/usr/lib/hadoo
 p/libexec/../lib/jersey-json-1.8.jar:/usr/lib/hadoop/libexec/../lib/jersey-server-1.8.jar:/usr/lib/hadoop/libexec/../lib/jets3t-0.6.1.jar:/usr/lib/hadoop/libexec/../lib/jetty-6.1.26.jar:/usr/lib/hadoop/libexec/../lib/jetty-util-6.1.26.jar:/usr/lib/hadoop/libexec/../lib/jsch-0.1.42.jar:/usr/lib/hadoop/libexec/../lib/junit-4.5.jar:/usr/lib/hadoop/libexec/../lib/kfs-0.2.2.jar:/usr/lib/hadoop/libexec/../lib/log4j-1.2.15.jar:/usr/lib/hadoop/libexec/../lib/mockito-all-1.8.5.jar:/usr/lib/hadoop/libexec/../lib/oro-2.0.8.jar:/usr/lib/hadoop/libexec/../lib/postgresql-9.1-901-1.jdbc4.jar:/usr/lib/hadoop/libexec/../lib/servlet-api-2.5-20081211.jar:/usr/lib/hadoop/libexec/../lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop/libexec/../lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop/libexec/../lib/xmlenc-0.52.jar:/usr/lib/hadoop/libexec/../lib/jsp-2.1/jsp-2.1.jar:/usr/lib/hadoop/libexec/../lib/jsp-2.1/jsp-api-2.1.jar"
+    }, {
+      "key" : "os.name",
+      "value" : "Linux"
+    }, {
+      "key" : "hadoop.security.logger",
+      "value" : "INFO,NullAppender"
+    }, {
+      "key" : "line.separator",
+      "value" : "\n"
+    }, {
+      "key" : "os.version",
+      "value" : "2.6.32-220.17.1.el6.centos.plus.x86_64"
+    }, {
+      "key" : "sun.arch.data.model",
+      "value" : "64"
+    }, {
+      "key" : "java.class.version",
+      "value" : "50.0"
+    }, {
+      "key" : "sun.io.unicode.encoding",
+      "value" : "UnicodeLittle"
+    }, {
+      "key" : "java.vendor",
+      "value" : "Sun Microsystems Inc."
+    }, {
+      "key" : "sun.boot.class.path",
+      "value" : "/usr/jdk/jdk1.6.0_31/jre/lib/resources.jar:/usr/jdk/jdk1.6.0_31/jre/lib/rt.jar:/usr/jdk/jdk1.6.0_31/jre/lib/sunrsasign.jar:/usr/jdk/jdk1.6.0_31/jre/lib/jsse.jar:/usr/jdk/jdk1.6.0_31/jre/lib/jce.jar:/usr/jdk/jdk1.6.0_31/jre/lib/charsets.jar:/usr/jdk/jdk1.6.0_31/jre/lib/modules/jdk.boot.jar:/usr/jdk/jdk1.6.0_31/jre/classes"
+    }, {
+      "key" : "java.vm.info",
+      "value" : "mixed mode"
+    }, {
+      "key" : "java.specification.name",
+      "value" : "Java Platform API Specification"
+    }, {
+      "key" : "java.vm.name",
+      "value" : "Java HotSpot(TM) 64-Bit Server VM"
+    }, {
+      "key" : "java.vm.version",
+      "value" : "20.6-b01"
+    }, {
+      "key" : "sun.boot.library.path",
+      "value" : "/usr/jdk/jdk1.6.0_31/jre/lib/amd64"
+    }, {
+      "key" : "hadoop.root.logger",
+      "value" : "INFO,DRFA"
+    }, {
+      "key" : "java.endorsed.dirs",
+      "value" : "/usr/jdk/jdk1.6.0_31/jre/lib/endorsed"
+    }, {
+      "key" : "sun.os.patch.level",
+      "value" : "unknown"
+    }, {
+      "key" : "sun.cpu.isalist",
+      "value" : ""
+    }, {
+      "key" : "user.home",
+      "value" : "/usr/lib/hadoop"
+    }, {
+      "key" : "java.library.path",
+      "value" : "/usr/lib/hadoop/libexec/../lib/native/Linux-amd64-64"
+    }, {
+      "key" : "java.specification.vendor",
+      "value" : "Sun Microsystems Inc."
+    }, {
+      "key" : "sun.management.compiler",
+      "value" : "HotSpot 64-Bit Tiered Compilers"
+    } ],
+    "Uptime" : 93078193
+  }, {
+    "name" : "java.lang:type=ClassLoading",
+    "modelerType" : "sun.management.ClassLoadingImpl",
+    "LoadedClassCount" : 2760,
+    "UnloadedClassCount" : 1,
+    "TotalLoadedClassCount" : 2761,
+    "Verbose" : false
+  }, {
+    "name" : "java.lang:type=Threading",
+    "modelerType" : "sun.management.ThreadImpl",
+    "ThreadAllocatedMemoryEnabled" : true,
+    "ThreadAllocatedMemorySupported" : true,
+    "ThreadContentionMonitoringEnabled" : false,
+    "AllThreadIds" : [ 839, 82, 12, 15, 16, 42, 41, 40, 39, 38, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 18, 20, 19, 17, 11, 10, 4, 3, 2, 1 ],
+    "DaemonThreadCount" : 26,
+    "PeakThreadCount" : 39,
+    "CurrentThreadCpuTimeSupported" : true,
+    "ObjectMonitorUsageSupported" : true,
+    "SynchronizerUsageSupported" : true,
+    "ThreadContentionMonitoringSupported" : true,
+    "ThreadCpuTimeEnabled" : true,
+    "CurrentThreadCpuTime" : 0,
+    "CurrentThreadUserTime" : 0,
+    "ThreadCount" : 31,
+    "TotalStartedThreadCount" : 832,
+    "ThreadCpuTimeSupported" : true
+  }, {
+    "name" : "java.util.logging:type=Logging",
+    "modelerType" : "java.util.logging.Logging",
+    "LoggerNames" : [ "sun.awt.AppContext", "javax.management", "global", "javax.management.mbeanserver", "" ]
+  }, {
+    "name" : "Hadoop:service=TaskTracker,name=TaskTrackerMetrics",
+    "modelerType" : "TaskTrackerMetrics",
+    "tag.context" : "mapred",
+    "tag.sessionId" : "",
+    "tag.hostName" : "ip-10-85-111-149.ec2.internal",
+    "maps_running" : 0,
+    "reduces_running" : 0,
+    "mapTaskSlots" : 4,
+    "reduceTaskSlots" : 2,
+    "failedDirs" : 0,
+    "tasks_completed" : 4,
+    "tasks_failed_timeout" : 0,
+    "tasks_failed_ping" : 0
   }, {
     "name" : "Hadoop:service=TaskTracker,name=MetricsSystem,sub=Stats",
     "modelerType" : "MetricsSystem,sub=Stats",
     "tag.context" : "metricssystem",
     "num_sources" : 6,
     "num_sinks" : 1,
-    "sink.ganglia.latency_num_ops" : 359,
+    "sink.ganglia.latency_num_ops" : 9306,
     "sink.ganglia.latency_avg_time" : 2.0,
     "sink.ganglia.dropped" : 0,
     "sink.ganglia.qsize" : 0,
-    "snapshot_num_ops" : 2519,
+    "snapshot_num_ops" : 65148,
     "snapshot_avg_time" : 0.0,
     "snapshot_stdev_time" : 0.0,
     "snapshot_imin_time" : 0.0,
     "snapshot_imax_time" : 1.401298464324817E-45,
     "snapshot_min_time" : 0.0,
-    "snapshot_max_time" : 8.0,
-    "publish_num_ops" : 359,
+    "snapshot_max_time" : 3.0,
+    "publish_num_ops" : 9306,
     "publish_avg_time" : 0.0,
     "publish_stdev_time" : 0.0,
     "publish_imin_time" : 0.0,
     "publish_imax_time" : 1.401298464324817E-45,
     "publish_min_time" : 0.0,
-    "publish_max_time" : 1.0,
+    "publish_max_time" : 11.0,
     "dropped_pub_all" : 0
   }, {
+    "name" : "Hadoop:service=TaskTracker,name=RpcActivityForPort39494",
+    "modelerType" : "RpcActivityForPort39494",
+    "tag.context" : "rpc",
+    "tag.port" : "39494",
+    "tag.hostName" : "ip-10-85-111-149.ec2.internal",
+    "rpcAuthenticationSuccesses" : 0,
+    "rpcAuthenticationFailures" : 0,
+    "rpcAuthorizationSuccesses" : 4,
+    "rpcAuthorizationFailures" : 0,
+    "ReceivedBytes" : 14123,
+    "SentBytes" : 3612,
+    "RpcQueueTime_num_ops" : 30,
+    "RpcQueueTime_avg_time" : 0.14285714285714285,
+    "RpcProcessingTime_num_ops" : 30,
+    "RpcProcessingTime_avg_time" : 0.6428571428571428,
+    "NumOpenConnections" : 0,
+    "callQueueLen" : 0
+  }, {
     "name" : "Hadoop:service=TaskTracker,name=jvm",
     "modelerType" : "jvm",
     "tag.context" : "jvm",
     "tag.processName" : "TaskTracker",
     "tag.sessionId" : "",
-    "tag.hostName" : "ip-10-190-186-15.ec2.internal",
-    "memNonHeapUsedM" : 20.945961,
-    "memNonHeapCommittedM" : 23.1875,
-    "memHeapUsedM" : 16.158371,
-    "memHeapCommittedM" : 105.0625,
-    "gcCount" : 12,
-    "gcTimeMillis" : 103,
+    "tag.hostName" : "ip-10-85-111-149.ec2.internal",
+    "memNonHeapUsedM" : 23.112396,
+    "memNonHeapCommittedM" : 44.0625,
+    "memHeapUsedM" : 17.613655,
+    "memHeapCommittedM" : 38.3125,
+    "gcCount" : 10439,
+    "gcTimeMillis" : 13882,
     "threadsNew" : 0,
     "threadsRunnable" : 6,
     "threadsBlocked" : 0,
-    "threadsWaiting" : 15,
-    "threadsTimedWaiting" : 7,
+    "threadsWaiting" : 17,
+    "threadsTimedWaiting" : 8,
     "threadsTerminated" : 0,
     "logFatal" : 0,
     "logError" : 0,
     "logWarn" : 0,
     "logInfo" : 3
   }, {
-    "name" : "Hadoop:service=TaskTracker,name=RpcActivityForPort57448",
-    "modelerType" : "RpcActivityForPort57448",
-    "tag.context" : "rpc",
-    "tag.port" : "57448",
-    "tag.hostName" : "ip-10-190-186-15.ec2.internal",
-    "rpcAuthenticationSuccesses" : 0,
-    "rpcAuthenticationFailures" : 0,
-    "rpcAuthorizationSuccesses" : 0,
-    "rpcAuthorizationFailures" : 0,
-    "ReceivedBytes" : 0,
-    "SentBytes" : 0,
-    "RpcQueueTime_num_ops" : 0,
-    "RpcQueueTime_avg_time" : 0.0,
-    "RpcProcessingTime_num_ops" : 0,
-    "RpcProcessingTime_avg_time" : 0.0,
-    "NumOpenConnections" : 0,
-    "callQueueLen" : 0
+    "name" : "com.sun.management:type=HotSpotDiagnostic",
+    "modelerType" : "sun.management.HotSpotDiagnostic",
+    "DiagnosticOptions" : [ {
+      "name" : "HeapDumpBeforeFullGC",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "HeapDumpAfterFullGC",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "HeapDumpOnOutOfMemoryError",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "HeapDumpPath",
+      "origin" : "DEFAULT",
+      "value" : "",
+      "writeable" : true
+    }, {
+      "name" : "CMSAbortablePrecleanWaitMillis",
+      "origin" : "DEFAULT",
+      "value" : "100",
+      "writeable" : true
+    }, {
+      "name" : "CMSWaitDuration",
+      "origin" : "DEFAULT",
+      "value" : "2000",
+      "writeable" : true
+    }, {
+      "name" : "PrintGC",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "PrintGCDetails",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "PrintGCDateStamps",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "PrintGCTimeStamps",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "PrintClassHistogramBeforeFullGC",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "PrintClassHistogramAfterFullGC",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "PrintClassHistogram",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    }, {
+      "name" : "PrintConcurrentLocks",
+      "origin" : "DEFAULT",
+      "value" : "false",
+      "writeable" : true
+    } ]
   }, {
-    "name" : "Hadoop:service=TaskTracker,name=ShuffleServerMetrics",
-    "modelerType" : "ShuffleServerMetrics",
-    "tag.context" : "mapred",
-    "tag.sessionId" : "",
-    "tag.hostName" : "ip-10-190-186-15.ec2.internal",
-    "shuffle_handler_busy_percent" : 0.0,
-    "shuffle_output_bytes" : 0,
-    "shuffle_failed_outputs" : 0,
-    "shuffle_success_outputs" : 0,
-    "shuffle_exceptions_caught" : 0
+    "name" : "java.lang:type=MemoryPool,name=PS Perm Gen",
+    "modelerType" : "sun.management.MemoryPoolImpl",
+    "Name" : "PS Perm Gen",
+    "Type" : "NON_HEAP",
+    "Valid" : true,
+    "CollectionUsage" : {
+      "committed" : 43450368,
+      "init" : 21757952,
+      "max" : 85983232,
+      "used" : 21567872
+    },
+    "CollectionUsageThreshold" : 0,
+    "CollectionUsageThresholdCount" : 0,
+    "MemoryManagerNames" : [ "PS MarkSweep" ],
+    "PeakUsage" : {
+      "committed" : 43450368,
+      "init" : 21757952,
+      "max" : 85983232,
+      "used" : 21568224
+    },
+    "Usage" : {
+      "committed" : 43450368,
+      "init" : 21757952,
+      "max" : 85983232,
+      "used" : 21568224
+    },
+    "UsageThreshold" : 0,
+    "UsageThresholdCount" : 0,
+    "CollectionUsageThresholdExceeded" : true,
+    "CollectionUsageThresholdSupported" : true,
+    "UsageThresholdExceeded" : true,
+    "UsageThresholdSupported" : true
+  }, {
+    "name" : "java.lang:type=GarbageCollector,name=PS Scavenge",
+    "modelerType" : "sun.management.GarbageCollectorImpl",
+    "LastGcInfo" : {
+      "GcThreadCount" : 2,
+      "duration" : 1,
+      "endTime" : 93078197,
+      "id" : 10440,
+      "memoryUsageAfterGc" : [ {
+        "key" : "PS Survivor Space",
+        "value" : {
+          "committed" : 131072,
+          "init" : 4980736,
+          "max" : 131072,
+          "used" : 122896
+        }
+      }, {
+        "key" : "PS Old Gen",
+        "value" : {
+          "committed" : 36306944,
+          "init" : 80216064,
+          "max" : 715849728,
+          "used" : 14823816
+        }
+      }, {
+        "key" : "PS Perm Gen",
+        "value" : {
+          "committed" : 43450368,
+          "init" : 21757952,
+          "max" : 85983232,
+          "used" : 21568224
+        }
+      }, {
+        "key" : "Code Cache",
+        "value" : {
+          "committed" : 2752512,
+          "init" : 2555904,
+          "max" : 50331648,
+          "used" : 2666880
+        }
+      }, {
+        "key" : "PS Eden Space",
+        "value" : {
+          "committed" : 3670016,
+          "init" : 30081024,
+          "max" : 357564416,
+          "used" : 0
+        }
+      } ],
+      "memoryUsageBeforeGc" : [ {
+        "key" : "PS Survivor Space",
+        "value" : {
+          "committed" : 131072,
+          "init" : 4980736,
+          "max" : 131072,
+          "used" : 98304
+        }
+      }, {
+        "key" : "PS Old Gen",
+        "value" : {
+          "committed" : 36306944,
+          "init" : 80216064,
+          "max" : 715849728,
+          "used" : 14758280
+        }
+      }, {
+        "key" : "PS Perm Gen",
+        "value" : {
+          "committed" : 43450368,
+          "init" : 21757952,
+          "max" : 85983232,
+          "used" : 21568224
+        }
+      }, {
+        "key" : "Code Cache",
+        "value" : {
+          "committed" : 2752512,
+          "init" : 2555904,
+          "max" : 50331648,
+          "used" : 2666880
+        }
+      }, {
+        "key" : "PS Eden Space",
+        "value" : {
+          "committed" : 3735552,
+          "init" : 30081024,
+          "max" : 357629952,
+          "used" : 3735552
+        }
+      } ],
+      "startTime" : 93078196
+    },
+    "CollectionCount" : 10440,
+    "CollectionTime" : 13718,
+    "Name" : "PS Scavenge",
+    "Valid" : true,
+    "MemoryPoolNames" : [ "PS Eden Space", "PS Survivor Space" ]
+  }, {
+    "name" : "java.lang:type=MemoryPool,name=PS Old Gen",
+    "modelerType" : "sun.management.MemoryPoolImpl",
+    "Name" : "PS Old Gen",
+    "Type" : "HEAP",
+    "Valid" : true,
+    "CollectionUsage" : {
+      "committed" : 36306944,
+      "init" : 80216064,
+      "max" : 715849728,
+      "used" : 7479576
+    },
+    "CollectionUsageThreshold" : 0,
+    "CollectionUsageThresholdCount" : 0,
+    "MemoryManagerNames" : [ "PS MarkSweep" ],
+    "PeakUsage" : {
+      "committed" : 80216064,
+      "init" : 80216064,
+      "max" : 715849728,
+      "used" : 80204800
+    },
+    "Usage" : {
+      "committed" : 36306944,
+      "init" : 80216064,
+      "max" : 715849728,
+      "used" : 14823816
+    },
+    "UsageThreshold" : 0,
+    "UsageThresholdCount" : 0,
+    "CollectionUsageThresholdExceeded" : true,
+    "CollectionUsageThresholdSupported" : true,
+    "UsageThresholdExceeded" : true,
+    "UsageThresholdSupported" : true
   }, {
     "name" : "Hadoop:service=TaskTracker,name=ugi",
     "modelerType" : "ugi",
     "tag.context" : "ugi",
-    "tag.hostName" : "ip-10-190-186-15.ec2.internal",
+    "tag.hostName" : "ip-10-85-111-149.ec2.internal",
     "loginSuccess_num_ops" : 0,
     "loginSuccess_avg_time" : 0.0,
     "loginFailure_num_ops" : 0,
     "loginFailure_avg_time" : 0.0
+  }, {
+    "name" : "JMImplementation:type=MBeanServerDelegate",
+    "modelerType" : "javax.management.MBeanServerDelegate",
+    "MBeanServerId" : "ip-10-85-111-149.ec2.internal_1358364469165",
+    "SpecificationName" : "Java Management Extensions",
+    "SpecificationVersion" : "1.4",
+    "SpecificationVendor" : "Sun Microsystems",
+    "ImplementationName" : "JMX",
+    "ImplementationVersion" : "1.6.0_31-b04",
+    "ImplementationVendor" : "Sun Microsystems"
   } ]
-}
+}
\ No newline at end of file

Added: incubator/ambari/branches/branch-1.2/ambari-server/src/test/resources/temporal_ganglia_data.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-1.2/ambari-server/src/test/resources/temporal_ganglia_data.txt?rev=1442010&view=auto
==============================================================================
--- incubator/ambari/branches/branch-1.2/ambari-server/src/test/resources/temporal_ganglia_data.txt (added)
+++ incubator/ambari/branches/branch-1.2/ambari-server/src/test/resources/temporal_ganglia_data.txt Mon Feb  4 02:23:55 2013
@@ -0,0 +1,719 @@
+1358487599.0
+sum
+HDPSlaves
+domU-12-31-39-0E-34-E1.compute-1.internal
+mapred.shuffleOutput.shuffle_exceptions_caught
+1358434800
+360
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+[AMBARI_DP_END]
+sum
+HDPSlaves
+domU-12-31-39-0E-34-E1.compute-1.internal
+jvm.metrics.gcCount
+1358434800
+360
+83513252.9778
+119191023.641
+94591541.6419
+122656559.37
+142370213.761
+107374182.528
+131235111.95
+130489436.186
+143115866.264
+132030498.116
+131235096.191
+145722098.374
+128678583.679
+131235111.822
+69196695.2917
+133621204.781
+95443717.7111
+115895949.467
+134643809.447
+135211933.4
+142370212.222
+128053678.05
+141574824.397
+97034446.3556
+92035020.3
+39200091.525
+129644383.156
+143960940.847
+132030476.178
+127826414.616
+59879570.0701
+142370213.906
+147142389.835
+143165576.536
+134963382.052
+143165576.534
+141141658.42
+141461233.555
+119304637.975
+119304655.727
+146347025.188
+143392823.479
+131007864.879
+139984129.803
+131235108.855
+107374174.855
+95443717.671
+131235111.822
+143165576.538
+83513263.8167
+111350993.135
+118509282.802
+142370212.222
+120100011.423
+93852989.0687
+23065591.0807
+118509256.794
+142370212.222
+120100011.461
+143165576.518
+143165576.532
+71582797.8174
+146148183.173
+116322039.185
+131235103.56
+131235123.489
+95443706.0444
+71582788.25
+139984127.162
+134416571.797
+143165577.856
+107374182.454
+143165564.577
+119304647.097
+128053662.656
+84990350.0306
+117827550.129
+132030467.969
+143960940.848
+93852997.3374
+142938330.213
+109192149.075
+120895375.756
+138691664.073
+135709034.825
+146148182.177
+94847194.4554
+128849018.873
+107374182.416
+71582801.1622
+134416556.176
+128053654.561
+83513252.9926
+63380593.77
+115576389.233
+[AMBARI_DP_END]
+sum
+HDPSlaves
+domU-12-31-39-0E-34-E2.compute-1.internal
+jvm.metrics.gcCount
+1358434800
+360
+83513252.9778
+119191023.641
+94591541.6419
+122656559.37
+142370213.761
+107374182.528
+131235111.95
+130489436.186
+143115866.264
+132030498.116
+131235096.191
+145722098.374
+128678583.679
+131235111.822
+69196695.2917
+133621204.781
+95443717.7111
+115895949.467
+134643809.447
+135211933.4
+142370212.222
+128053678.05
+141574824.397
+97034446.3556
+92035020.3
+39200091.525
+129644383.156
+143960940.847
+132030476.178
+127826414.616
+59879570.0701
+142370213.906
+147142389.835
+143165576.536
+134963382.052
+143165576.534
+141141658.42
+141461233.555
+119304637.975
+119304655.727
+146347025.188
+143392823.479
+131007864.879
+139984129.803
+131235108.855
+107374174.855
+95443717.671
+131235111.822
+143165576.538
+83513263.8167
+111350993.135
+118509282.802
+142370212.222
+120100011.423
+93852989.0687
+23065591.0807
+118509256.794
+142370212.222
+120100011.461
+143165576.518
+143165576.532
+71582797.8174
+146148183.173
+116322039.185
+131235103.56
+131235123.489
+95443706.0444
+71582788.25
+139984127.162
+134416571.797
+143165577.856
+107374182.454
+143165564.577
+119304647.097
+128053662.656
+84990350.0306
+117827550.129
+132030467.969
+143960940.848
+93852997.3374
+142938330.213
+109192149.075
+120895375.756
+138691664.073
+135709034.825
+146148182.177
+94847194.4554
+128849018.873
+107374182.416
+71582801.1622
+134416556.176
+128053654.561
+83513252.9926
+63380593.77
+115576389.233
+[AMBARI_DP_END]
+sum
+HDPNameNode
+domU-12-31-39-0E-34-E3.compute-1.internal
+jvm.metrics.gcCount
+1358434800
+360
+83513252.9778
+119191023.641
+94591541.6419
+122656559.37
+142370213.761
+107374182.528
+131235111.95
+130489436.186
+143115866.264
+132030498.116
+131235096.191
+145722098.374
+128678583.679
+131235111.822
+69196695.2917
+133621204.781
+95443717.7111
+115895949.467
+134643809.447
+135211933.4
+142370212.222
+128053678.05
+141574824.397
+97034446.3556
+92035020.3
+39200091.525
+129644383.156
+143960940.847
+132030476.178
+127826414.616
+59879570.0701
+142370213.906
+147142389.835
+143165576.536
+134963382.052
+143165576.534
+141141658.42
+141461233.555
+119304637.975
+119304655.727
+146347025.188
+143392823.479
+131007864.879
+139984129.803
+131235108.855
+107374174.855
+95443717.671
+131235111.822
+143165576.538
+83513263.8167
+111350993.135
+118509282.802
+142370212.222
+120100011.423
+93852989.0687
+23065591.0807
+118509256.794
+142370212.222
+120100011.461
+143165576.518
+143165576.532
+71582797.8174
+146148183.173
+116322039.185
+131235103.56
+131235123.489
+95443706.0444
+71582788.25
+139984127.162
+134416571.797
+143165577.856
+107374182.454
+143165564.577
+119304647.097
+128053662.656
+84990350.0306
+117827550.129
+132030467.969
+143960940.848
+93852997.3374
+142938330.213
+109192149.075
+120895375.756
+138691664.073
+135709034.825
+146148182.177
+94847194.4554
+128849018.873
+107374182.416
+71582801.1622
+134416556.176
+128053654.561
+83513252.9926
+63380593.77
+115576389.233
+[AMBARI_DP_END]
+sum
+HDPSlaves
+domU-12-31-39-0E-34-E1.compute-1.internal
+mapred.shuffleOutput.shuffle_output_bytes
+1358434800
+360
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+[AMBARI_DP_END]
+sum
+HDPSlaves
+domU-12-31-39-0E-34-E1.compute-1.internal
+mapred.shuffleOutput.shuffle_failed_outputs
+1358434800
+360
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+[AMBARI_DP_END]
+sum
+HDPSlaves
+domU-12-31-39-0E-34-E1.compute-1.internal
+mapred.shuffleOutput.shuffle_success_outputs
+1358434800
+360
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+0.0
+[AMBARI_DP_END]
+[AMBARI_END]
+1358487599.0

Modified: incubator/ambari/branches/branch-1.2/ambari-web/app/app.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-1.2/ambari-web/app/app.js?rev=1442010&r1=1442009&r2=1442010&view=diff
==============================================================================
--- incubator/ambari/branches/branch-1.2/ambari-web/app/app.js (original)
+++ incubator/ambari/branches/branch-1.2/ambari-web/app/app.js Mon Feb  4 02:23:55 2013
@@ -27,7 +27,11 @@ module.exports = Em.Application.create({
     adapter: DS.FixtureAdapter.create({
       simulateRemoteResponse: false
     })
-  })
+  }),
+  isAdmin : function(){
+    var user = this.db && this.db.getUser();
+    return user ? user.admin : false;
+  }.property()
 });
 
 /**

Modified: incubator/ambari/branches/branch-1.2/ambari-web/app/assets/data/alerts/alerts.json
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-1.2/ambari-web/app/assets/data/alerts/alerts.json?rev=1442010&r1=1442009&r2=1442010&view=diff
==============================================================================
--- incubator/ambari/branches/branch-1.2/ambari-web/app/assets/data/alerts/alerts.json (original)
+++ incubator/ambari/branches/branch-1.2/ambari-web/app/assets/data/alerts/alerts.json Mon Feb  4 02:23:55 2013
@@ -1,426 +1,17 @@
-{"alerts": [
-  {
-    "service_description": "Process down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.001 second response time on port 50010",
-    "last_hard_state_change": "1350378326",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878529",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878529",
-    "service_type": "UNKNOWN"
-  },
-  {
-    "service_description": "Storage full",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: Capacity:[], Remaining Capacity:[], percent_full:[0]",
-    "last_hard_state_change": "1350378331",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878395",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878395",
-    "service_type": "UNKNOWN"
-  },
-  {
-    "service_description": "Ganglia [gmetad] Process down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.001 second response time on port 8651",
-    "last_hard_state_change": "1350378335",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878575",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878575",
-    "service_type": "UNKNOWN"
-  },
-  {
-    "service_description": "Ganglia collector [gmond] Process down alert for jobtracker",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.003 second response time on port 8662",
-    "last_hard_state_change": "1350378340",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878575",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878575",
-    "service_type": "UNKNOWN"
-  },
-  {
-    "service_description": "Ganglia collector [gmond] Process down alert for namenode",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.003 second response time on port 8661",
-    "last_hard_state_change": "1350378344",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878575",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878575",
-    "service_type": "UNKNOWN"
-  },
-  {
-    "service_description": "Ganglia collector [gmond] Process down alert for slaves",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.004 second response time on port 8660",
-    "last_hard_state_change": "1350378349",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878575",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878575",
-    "service_type": "UNKNOWN"
-  },
-  {
-    "service_description": "Corrupt\/Missing blocks",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: corrupt_blocks:<0>, missing_blocks:<0>, total_blocks:<135>",
-    "last_hard_state_change": "1350933589",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878469",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "1350933469",
-    "is_flapping": "0",
-    "last_check": "1351878469",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "HDFS Capacity utilization",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: DFSUsedGB:<0>, DFSTotalGB:<784.3>",
-    "last_hard_state_change": "1350378358",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878395",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878395",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "Namenode RPC Latency",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: RpcQueueTime_avg_time:<0> Secs, RpcProcessingTime_avg_time:<0> Secs",
-    "last_hard_state_change": "1350378362",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878395",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878395",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "Percent DataNodes down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: total:<1>, affected:<0>",
-    "last_hard_state_change": "1350378367",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878560",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878560",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "Percent DataNodes storage full",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: total:<1>, affected:<0>",
-    "last_hard_state_change": "1350378371",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878469",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878469",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "JobHistory Web UI down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: Successfully accessed jobhistory Web UI",
-    "last_hard_state_change": "1350378376",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878529",
-    "last_time_warning": "1351216729",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878529",
-    "service_type": "MAPREDUCE"
-  },
-  {
-    "service_description": "JobTracker Web UI down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: Successfully accessed jobtracker Web UI",
-    "last_hard_state_change": "1350378380",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878529",
-    "last_time_warning": "1351216729",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878529",
-    "service_type": "MAPREDUCE"
-  },
-  {
-    "service_description": "Jobtracker CPU utilization",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "2 CPU, average load 3.0% < 200% : OK",
-    "last_hard_state_change": "1350378385",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878395",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878395",
-    "service_type": "MAPREDUCE"
-  },
-  {
-    "service_description": "Jobtracker Process down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.003 second response time on port 50030",
-    "last_hard_state_change": "1351216775",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878575",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "1351216745",
-    "is_flapping": "0",
-    "last_check": "1351878575",
-    "service_type": "MAPREDUCE"
-  },
-  {
-    "service_description": "JobTracker RPC Latency",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: RpcQueueTime_avg_time:<0> Secs, RpcProcessingTime_avg_time:<0.06> Secs",
-    "last_hard_state_change": "1350378394",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878395",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878395",
-    "service_type": "MAPREDUCE"
-  },
-  {
-    "service_description": "Percent TaskTrackers down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: total:<1>, affected:<0>",
-    "last_hard_state_change": "1351216880",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878560",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "1351216850",
-    "is_flapping": "0",
-    "last_check": "1351878560",
-    "service_type": "MAPREDUCE"
-  },
-  {
-    "service_description": "Nagios status log staleness",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "NAGIOS OK: 2 processes, status log updated 9 seconds ago",
-    "last_hard_state_change": "1350937033",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878433",
-    "last_time_warning": "1350936733",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878433",
-    "service_type": "UNKNOWN"
-  },
-  {
-    "service_description": "Namenode Edit logs directory status",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: All Namenode directories are active",
-    "last_hard_state_change": "1350378408",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878560",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878560",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "Namenode Host CPU utilization",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "2 CPU, average load 3.0% < 200% : OK",
-    "last_hard_state_change": "1350378412",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878412",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878412",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "Namenode Process down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.000 second response time on port 8020",
-    "last_hard_state_change": "1350378417",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878559",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878559",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "Namenode Web UI down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: Successfully accessed namenode Web UI",
-    "last_hard_state_change": "1350378421",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878529",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878529",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "Secondary Namenode Process down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.001 second response time on port 50090",
-    "last_hard_state_change": "1350378426",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878560",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878560",
-    "service_type": "HDFS"
-  },
-  {
-    "service_description": "Oozie status check",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "OK: Oozie server status [System mode: NORMAL]",
-    "last_hard_state_change": "1351217029",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878529",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "1351216969",
-    "is_flapping": "0",
-    "last_check": "1351878529",
-    "service_type": "OOZIE"
-  },
-  {
-    "service_description": "Puppet agent down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.001 second response time on port 8139",
-    "last_hard_state_change": "1350378435",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878529",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "0",
-    "is_flapping": "0",
-    "last_check": "1351878529",
-    "service_type": "PUPPET"
-  },
-  {
-    "service_description": "Process down",
-    "host_name": "host",
-    "current_attempt": "1",
-    "current_state": "0",
-    "plugin_output": "TCP OK - 0.000 second response time on port 50060",
-    "last_hard_state_change": "1351216849",
-    "last_hard_state": "0",
-    "last_time_ok": "1351878529",
-    "last_time_warning": "0",
-    "last_time_unknown": "0",
-    "last_time_critical": "1351216789",
-    "is_flapping": "0",
-    "last_check": "1351878529",
-    "service_type": "UNKNOWN"
-  }
-], "hostcounts": {
-  "up_hosts": 1,
-  "down_hosts": 0
-}, "servicestates": {
-  "PUPPET": 0,
-  "MAPREDUCE": "0",
-  "HDFS": "0",
-  "OOZIE": "0"
-}}
+{
+  "href" : "http://ec2-54-234-53-225.compute-1.amazonaws.com:8080/api/v1/clusters/yusaku/host_components?HostRoles/component_name=NAGIOS_SERVER&fields=HostRoles/nagios_alerts",
+  "items" : [
+    {
+      "href" : "http://ec2-54-234-53-225.compute-1.amazonaws.com:8080/api/v1/clusters/yusaku/hosts/ip-10-114-35-111.ec2.internal/host_components/NAGIOS_SERVER",
+      "HostRoles" : {
+        "cluster_name" : "yusaku",
+        "nagios_alerts" : "{\"alerts\":[{\"service_description\":\"Ganglia [gmetad] Process down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.004 second response time on port 8651\",\"last_hard_state_change\":\"1359058506\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072006\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072006\",\"service_type\":\"GANGLIA\"},{\"service_description\":\"Ganglia collector [gmond] Process down alert for hbasemaster\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.009 second response time on port 8663\",\"last_hard_state_change\":\"1359058517\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072002\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapp
 ing\":\"0\",\"last_check\":\"1359072002\",\"service_type\":\"GANGLIA\"},{\"service_description\":\"Ganglia collector [gmond] Process down alert for jobtracker\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.009 second response time on port 8662\",\"last_hard_state_change\":\"1359058528\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072013\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072013\",\"service_type\":\"GANGLIA\"},{\"service_description\":\"Ganglia collector [gmond] Process down alert for namenode\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.004 second response time on port 8661\",\"last_hard_state_change\":\"1359058540\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072010\",\"last_time_warning\":\"0\",\"last_t
 ime_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072010\",\"service_type\":\"GANGLIA\"},{\"service_description\":\"Ganglia collector [gmond] Process down alert for slaves\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.009 second response time on port 8660\",\"last_hard_state_change\":\"1359058551\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072006\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072006\",\"service_type\":\"GANGLIA\"},{\"service_description\":\"Percent region servers down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: total:<1>, affected:<0>\",\"last_hard_state_change\":\"1359058802\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072002\",\"last_time_warning\
 ":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058772\",\"is_flapping\":\"0\",\"last_check\":\"1359072002\",\"service_type\":\"HBASE\"},{\"service_description\":\"HBase Web UI down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: Successfully accessed hbase Web UI\",\"last_hard_state_change\":\"1359058574\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072014\",\"last_time_warning\":\"1359058634\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072014\",\"service_type\":\"HBASE\"},{\"service_description\":\"HBaseMaster CPU utilization\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"2 CPU, average load 14.0% < 200% : OK\",\"last_hard_state_change\":\"1359058585\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071785\",\"last_time_warning\":\"0\",\"last_ti
 me_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071785\",\"service_type\":\"HBASE\"},{\"service_description\":\"HBaseMaster Process down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.000 second response time on port 60000\",\"last_hard_state_change\":\"1359058596\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071991\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058626\",\"is_flapping\":\"0\",\"last_check\":\"1359071991\",\"service_type\":\"HBASE\"},{\"service_description\":\"Corrupt\\/Missing blocks\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: corrupt_blocks:<0>, missing_blocks:<0>, total_blocks:<249>\",\"last_hard_state_change\":\"1359058509\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071949\",\"last_t
 ime_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071949\",\"service_type\":\"HDFS\"},{\"service_description\":\"HDFS Capacity utilization\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: DFSUsedGB:<0.1>, DFSTotalGB:<784.4>\",\"last_hard_state_change\":\"1359058520\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071720\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071720\",\"service_type\":\"HDFS\"},{\"service_description\":\"Namenode RPC Latency\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: RpcQueueTime_avg_time:<0> Secs, RpcProcessingTime_avg_time:<0> Secs\",\"last_hard_state_change\":\"1359058531\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1
 359071731\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071731\",\"service_type\":\"HDFS\"},{\"service_description\":\"Percent DataNodes down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: total:<1>, affected:<0>\",\"last_hard_state_change\":\"1359058543\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072013\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072013\",\"service_type\":\"HDFS\"},{\"service_description\":\"Percent DataNodes storage full\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: total:<1>, affected:<0>\",\"last_hard_state_change\":\"1359058554\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071994\",\"last_time_warni
 ng\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071994\",\"service_type\":\"HDFS\"},{\"service_description\":\"Percent TaskTrackers down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: total:<1>, affected:<0>\",\"last_hard_state_change\":\"1359058745\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072005\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058715\",\"is_flapping\":\"0\",\"last_check\":\"1359072005\",\"service_type\":\"MAPREDUCE\"},{\"service_description\":\"Nagios status log staleness\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"NAGIOS OK: 2 processes, status log updated 9 seconds ago\",\"last_hard_state_change\":\"1359058576\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071776\",\"last_time_war
 ning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071776\",\"service_type\":\"UNKNOWN\"},{\"service_description\":\"Namenode Edit logs directory status\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: All Namenode directories are active\",\"last_hard_state_change\":\"1359058588\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071998\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071998\",\"service_type\":\"HDFS\"},{\"service_description\":\"Namenode Host CPU utilization\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"2 CPU, average load 14.5% < 200% : OK\",\"last_hard_state_change\":\"1359058599\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071799\",\"last_time_warning\":\"0\",
 \"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071799\",\"service_type\":\"HDFS\"},{\"service_description\":\"Namenode Process down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.001 second response time on port 8020\",\"last_hard_state_change\":\"1359058511\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071996\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058511\",\"is_flapping\":\"0\",\"last_check\":\"1359071996\",\"service_type\":\"HDFS\"},{\"service_description\":\"Namenode Web UI down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: Successfully accessed namenode Web UI\",\"last_hard_state_change\":\"1359058523\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071963\",\"last_time_warning\":\"0\",\"last_time_unknown\
 ":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071963\",\"service_type\":\"HDFS\"},{\"service_description\":\"ZKSERVERS Process down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.003 second response time on port 2181\",\"last_hard_state_change\":\"1359058654\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071974\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058594\",\"is_flapping\":\"0\",\"last_check\":\"1359071974\",\"service_type\":\"UNKNOWN\"},{\"service_description\":\"Percent zookeeper servers down\",\"host_name\":\"ip-10-114-35-111.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: total:<3>, affected:<0>\",\"last_hard_state_change\":\"1359058545\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072015\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",
 \"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072015\",\"service_type\":\"ZOOKEEPER\"},{\"service_description\":\"HIVE-METASTORE status check\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: Hive metaserver status OK\",\"last_hard_state_change\":\"1359058677\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071997\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058647\",\"is_flapping\":\"0\",\"last_check\":\"1359071997\",\"service_type\":\"HIVE\"},{\"service_description\":\"JobHistory Web UI down\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: Successfully accessed jobhistory Web UI\",\"last_hard_state_change\":\"1359058568\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072008\",\"last_time_warning\":\"1359058628\",\"last_time_unknown\":\"0\",\"last_time_cri
 tical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072008\",\"service_type\":\"MAPREDUCE\"},{\"service_description\":\"JobTracker Web UI down\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: Successfully accessed jobtracker Web UI\",\"last_hard_state_change\":\"1359058579\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071959\",\"last_time_warning\":\"1359058639\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071959\",\"service_type\":\"MAPREDUCE\"},{\"service_description\":\"Jobtracker CPU utilization\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"2 CPU, average load 2.5% < 200% : OK\",\"last_hard_state_change\":\"1359058591\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071791\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"
 0\",\"is_flapping\":\"0\",\"last_check\":\"1359071791\",\"service_type\":\"MAPREDUCE\"},{\"service_description\":\"Jobtracker Process down\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.064 second response time on port 50030\",\"last_hard_state_change\":\"1359058677\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071997\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058647\",\"is_flapping\":\"0\",\"last_check\":\"1359071997\",\"service_type\":\"MAPREDUCE\"},{\"service_description\":\"JobTracker RPC Latency\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: RpcQueueTime_avg_time:<0.2> Secs, RpcProcessingTime_avg_time:<0.24> Secs\",\"last_hard_state_change\":\"1359058514\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072014\",\"last_time_warning\":\"0\",\"last_time
 _unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072014\",\"service_type\":\"MAPREDUCE\"},{\"service_description\":\"Oozie status check\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: Oozie server status [System mode: NORMAL]\",\"last_hard_state_change\":\"1359058826\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071966\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058766\",\"is_flapping\":\"0\",\"last_check\":\"1359071966\",\"service_type\":\"OOZIE\"},{\"service_description\":\"WEBHCAT status check\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"\",\"last_hard_state_change\":\"1359058897\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071977\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058837\",\"is_f
 lapping\":\"\",\"last_check\":\"\",\"service_type\":\"WEBHCAT\"},{\"service_description\":\"ZKSERVERS Process down\",\"host_name\":\"ip-10-12-194-214.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.001 second response time on port 2181\",\"last_hard_state_change\":\"1359058548\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071988\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071988\",\"service_type\":\"UNKNOWN\"},{\"service_description\":\"ZKSERVERS Process down\",\"host_name\":\"ip-10-204-141-167.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.031 second response time on port 2181\",\"last_hard_state_change\":\"1359058559\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071999\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_
 check\":\"1359071999\",\"service_type\":\"UNKNOWN\"},{\"service_description\":\"Process down\",\"host_name\":\"ip-10-80-69-221.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.127 second response time on port 50010\",\"last_hard_state_change\":\"1359058571\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359072011\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359072011\",\"service_type\":\"UNKNOWN\"},{\"service_description\":\"Storage full\",\"host_name\":\"ip-10-80-69-221.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"OK: Capacity:[], Remaining Capacity:[], percent_full:[0]\",\"last_hard_state_change\":\"1359058582\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071782\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"0\",\"is_flapping\":\"0\",\"last_check\":\"1359071782\",\"s
 ervice_type\":\"UNKNOWN\"},{\"service_description\":\"Process down\",\"host_name\":\"ip-10-80-69-221.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.001 second response time on port 60020\",\"last_hard_state_change\":\"1359058773\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071973\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058713\",\"is_flapping\":\"0\",\"last_check\":\"1359071973\",\"service_type\":\"UNKNOWN\"},{\"service_description\":\"Process down\",\"host_name\":\"ip-10-80-69-221.ec2.internal\",\"current_attempt\":\"1\",\"current_state\":\"0\",\"plugin_output\":\"TCP OK - 0.001 second response time on port 50060\",\"last_hard_state_change\":\"1359058725\",\"last_hard_state\":\"0\",\"last_time_ok\":\"1359071985\",\"last_time_warning\":\"0\",\"last_time_unknown\":\"0\",\"last_time_critical\":\"1359058665\",\"is_flapping\":\"0\",\"last_check\":\"1359071985\",\"service_type\":\
 "UNKNOWN\"}],\"hostcounts\":{\"up_hosts\":4,\"down_hosts\":0},\"servicestates\":{\"PUPPET\":0,\"HBASE\":\"0\",\"HDFS\":\"0\",\"ZOOKEEPER\":0,\"HIVE-METASTORE\":\"0\",\"MAPREDUCE\":\"0\",\"OOZIE\":\"0\"}}",
+        "component_name" : "NAGIOS_SERVER",
+        "host_name" : "ip-10-114-35-111.ec2.internal"
+      },
+      "host" : {
+        "href" : "http://ec2-54-234-53-225.compute-1.amazonaws.com:8080/api/v1/clusters/yusaku/hosts/ip-10-114-35-111.ec2.internal"
+      }
+    }
+  ]
+}
\ No newline at end of file



Mime
View raw message