Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"took":5,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":37,"max_score":1.0,"hits":[{"_index":"controlplane","_type":"resourcepool","_id":"default","_score":1.0, "_source" : {"ID":"default","Description":"","ParentID":"","VirtualIPs":null,"Priority":0,"CoreLimit":0,"MemoryLimit":0,"CoreCapacity":0,"MemoryCapacity":0,"MemoryCommitment":0,"CreatedAt":"2014-08-28T15:02:26.477527988Z","UpdatedAt":"2014-08-28T15:02:26.477527988Z","MonitoringProfile":{"MetricConfigs":null,"GraphConfigs":null,"ThresholdConfigs":null}}},{"_index":"controlplane","_type":"servicetemplatewrapper","_id":"f8ae57f5d9df9141f1e3c435a14c466b","_score":1.0, "_source" : {"ID":"f8ae57f5d9df9141f1e3c435a14c466b","Name":"Zenoss.core","Description":"","Data":"{\"ID\":\"f8ae57f5d9df9141f1e3c435a14c466b\",\"Name\":\"Zenoss.core\",\"Description\":\"\",\"Services\":[{\"Name\":\"Zenoss.core\",\"Command\":\"redis-server /etc/redis.conf \\u0026 /bin/sh -c \\\"cd /opt/zenoss \\u0026\\u0026 exec ./zproxy/sbin/zproxy start\\\"\",\"Description\":\"Zenoss Core Lite\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":{\"ZenPack.Default.RAMCommitment\":2.68435456e+08,\"ZenPack.Default.WorkerArgs\":\"\"},\"Endpoints\":[{\"Name\":\"zproxy\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":8080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zproxy\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":[\"zenoss5x\"]},{\"Name\":\"zope\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":9080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zope\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"metric_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8443,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"metric_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zauth\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":9180,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zauth\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"central_query\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8888,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"central_query\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[{\"Name\":\"HBase\",\"Command\":\"\",\"Description\":\"HBase Cluster\",\"Tags\":null,\"ImageID\":\"\",\"Instances\":{\"Min\":0,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":null,\"Services\":[{\"Name\":\"HMaster\",\"Command\":\"/usr/bin/run-hbase-master.sh /etc/hbase-site.xml\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/hbase:v2\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"localhost\",\"Privileged\":true,\"ConfigFiles\":{\"/etc/hbase-env.sh\":{\"Filename\":\"/etc/hbase-env.sh\",\"Owner\":\"hbase:hbase\",\"Permissions\":\"0775\",\"Content\":\"export HBASE_MANAGES_ZK=false\\n\"},\"/etc/hbase-site.xml\":{\"Filename\":\"/etc/hbase-site.xml\",\"Owner\":\"hbase:hbase\",\"Permissions\":\"0664\",\"Content\":\"\\u003cconfiguration\\u003e\\n \\u003cproperty\\u003e\\n \\u003cname\\u003ehbase.rootdir\\u003c/name\\u003e\\n \\u003cvalue\\u003efile:///var/hbase\\u003c/value\\u003e\\n \\u003c/property\\u003e\\n \\u003cproperty\\u003e\\n \\u003cname\\u003ehbase.cluster.distributed\\u003c/name\\u003e\\n \\u003cvalue\\u003etrue\\u003c/value\\u003e\\n \\u003c/property\\u003e\\n \\u003cproperty\\u003e\\n \\u003cname\\u003ehbase.zookeeper.quorum\\u003c/name\\u003e\\n \\u003cvalue\\u003ezk1\\u003c/value\\u003e\\n \\u003c/property\\u003e\\n\\u003c/configuration\\u003e\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"hbase-master-1\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":60000,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"hbase-master-1\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"hbase-masterinfo-1\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":60010,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"hbase-masterinfo-1\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":[\"hbase\"]},{\"Name\":\"hbase-regionserver\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":60200,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"hbase-regionserver\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zookeeper-client\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":2181,\"PortTemplate\":\"\",\"VirtualAddress\":\"zk{{ plus 1 .InstanceID }}:2181\",\"Application\":\"zookeeper-client\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":[{\"Owner\":\"hbase:hbase\",\"Permission\":\"0755\",\"ResourcePath\":\"hbase-master\",\"ContainerPath\":\"/var/hbase\",\"Type\":\"\"}],\"LogConfigs\":[{\"Path\":\"/var/log/hbase/hbase-master.log\",\"Type\":\"mysql\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"echo foo | nc -q1 localhost 60000 | grep -q HBas\",\"Interval\":1}},\"Prereqs\":[{\"Name\":\"All ZooKeepers up\",\"Script\":\"{{with $zks := (child (parent .) \\\"ZooKeeper\\\").Instances }}{{ range (each $zks) }}echo ruok | nc -q10 zk{{plus 1 .}} 2181 | grep imok {{if ne (plus 1 .) $zks}}\\u0026\\u0026 {{end}}{{end}}{{end}}\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"RegionServer\",\"Command\":\"/usr/bin/run-hbase-regionserver.sh /etc/hbase-site.xml $CONTROLPLANE_INSTANCE_ID\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/hbase:v2\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"localhost\",\"Privileged\":true,\"ConfigFiles\":{\"/etc/hbase-env.sh\":{\"Filename\":\"/etc/hbase-env.sh\",\"Owner\":\"hbase:hbase\",\"Permissions\":\"0775\",\"Content\":\"export HBASE_MANAGES_ZK=false\\n\"},\"/etc/hbase-site.xml\":{\"Filename\":\"/etc/hbase-site.xml\",\"Owner\":\"hbase:hbase\",\"Permissions\":\"0664\",\"Content\":\"\\u003cconfiguration\\u003e\\n \\u003cproperty\\u003e\\n \\u003cname\\u003ehbase.rootdir\\u003c/name\\u003e\\n \\u003cvalue\\u003efile:///var/hbase\\u003c/value\\u003e\\n \\u003c/property\\u003e\\n \\u003cproperty\\u003e\\n \\u003cname\\u003ehbase.cluster.distributed\\u003c/name\\u003e\\n \\u003cvalue\\u003etrue\\u003c/value\\u003e\\n \\u003c/property\\u003e\\n \\u003cproperty\\u003e\\n \\u003cname\\u003ehbase.zookeeper.quorum\\u003c/name\\u003e\\n \\u003cvalue\\u003e{{ with $zks := (child (parent .) \\\"ZooKeeper\\\").Instances }}{{range (each $zks) }}zk{{plus 1 .}}{{if ne (plus 1 .) $zks}},{{end}}{{end}}{{end}}\\u003c/value\\u003e\\n \\u003c/property\\u003e\\n\\u003c/configuration\\u003e\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"hbase-master-1\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":60000,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"hbase-master-1\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"hbase-regionserver\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":60200,\"PortTemplate\":\"{{ plus 60200 .InstanceID }}\",\"VirtualAddress\":\"\",\"Application\":\"hbase-regionserver\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"hbase-regionservers\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":60200,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"hbase-regionserver\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"hbase-regionserverinfo\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":60300,\"PortTemplate\":\"{{ plus 60300 .InstanceID }}\",\"VirtualAddress\":\"\",\"Application\":\"hbase-regionserverinfo\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zookeeper-client\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":2181,\"PortTemplate\":\"\",\"VirtualAddress\":\"zk{{ plus 1 .InstanceID }}:2181\",\"Application\":\"zookeeper-client\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":[{\"Owner\":\"hbase:hbase\",\"Permission\":\"0755\",\"ResourcePath\":\"hbase-master\",\"ContainerPath\":\"/var/hbase\",\"Type\":\"\"}],\"LogConfigs\":[{\"Path\":\"/var/log/hbase/hbase-regionserver.log\",\"Type\":\"mysql\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"echo foo | nc -q1 localhost {{ plus 60200 .InstanceID }} | grep -q HBas\",\"Interval\":1}},\"Prereqs\":[{\"Name\":\"HBase Master up\",\"Script\":\"echo foo | nc -q1 localhost 60000 | grep 4org \\u0026\\u0026 sleep 10\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"ZooKeeper\",\"Command\":\"/usr/bin/run-zk.sh /etc/zookeeper.cfg\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/hbase:v2\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"zk{{ plus 1 .InstanceID }}\",\"Privileged\":true,\"ConfigFiles\":{\"/etc/zookeeper.cfg\":{\"Filename\":\"/etc/zookeeper.cfg\",\"Owner\":\"zookeeper:zookeeper\",\"Permissions\":\"0664\",\"Content\":\"tickTime=2000\\ndataDir=/var/lib/zookeeper\\nclientPort={{plus 2181 .InstanceID}}\\ninitLimit=5\\nsyncLimit=2\\n{{range $i, $n := (each .Instances)}}\\nserver.{{plus 1 $n}}=127.0.0.1:{{plus $n 2888}}:{{plus $n 3888}}{{ end }}\\n\"},\"/var/lib/zookeeper/myid\":{\"Filename\":\"/var/lib/zookeeper/myid\",\"Owner\":\"zookeeper:zookeeper\",\"Permissions\":\"0664\",\"Content\":\"{{ plus 1 .InstanceID }}\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zookeeper-client\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":2181,\"PortTemplate\":\"{{ plus .InstanceID 2181}}\",\"VirtualAddress\":\"\",\"Application\":\"zookeeper-client\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zookeeper-quorum\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":2888,\"PortTemplate\":\"{{ plus .InstanceID 2888}}\",\"VirtualAddress\":\"\",\"Application\":\"zookeeper-quorum\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zookeeper-leader\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":3888,\"PortTemplate\":\"{{ plus .InstanceID 3888}}\",\"VirtualAddress\":\"\",\"Application\":\"zookeeper-leader\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zookeeper-clients\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":2181,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zookeeper-client\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zookeeper-quora\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":2888,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zookeeper-quorum\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zookeeper-leaders\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":3888,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zookeeper-leader\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":[{\"Owner\":\"zookeeper:zookeeper\",\"Permission\":\"0755\",\"ResourcePath\":\"hbase-zookeeper-{{ plus 1 .InstanceID }}\",\"ContainerPath\":\"/var/lib/zookeeper/version-2\",\"Type\":\"\"}],\"LogConfigs\":[{\"Path\":\"/var/log/zookeeper/zookeeper.log\",\"Type\":\"mysql\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"echo stats | nc -q 1 localhost {{ plus 2181 .InstanceID }} | grep -q Zookeeper\",\"Interval\":1}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"}],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":null,\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":null,\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"MetricConsumer\",\"Command\":\"su - zenoss -c \\\"cd /opt/zenoss \\u0026\\u0026 /bin/supervisord -n -c etc/metric-consumer-app/supervisord.conf\\\"\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":[{\"Name\":\"metric_consumer\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":8443,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"metric_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zproxy\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zproxy\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"opentsdb-writer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":4242,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"opentsdb-writer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/metric-consumer-app.log\",\"Type\":\"metricconsumer\",\"Filters\":[\"zappdaemon\"],\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"bash -c 'curl -X POST http://localhost:58443/tasks/debugtoggle'\"},\"HealthChecks\":{\"listening\":{\"Script\":\"nmap -oG - -Pn -sS -p 8443 127.0.0.1 | grep -q 8443/open\",\"Interval\":10},\"stats_listening\":{\"Script\":\"curl -s http://localhost:58443/metrics | grep -q org.zenoss.app.consumer.metric.impl.MetricsQueue\",\"Interval\":1}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"jvm.fd_usage\",\"Name\":\"JVM File Descriptor Usage\",\"Description\":\"JVM File Descriptor Usage Statistics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.fd_usage\",\"Name\":\"FD Usage Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.thread\",\"Name\":\"JVM Thread\",\"Description\":\"JVM Thread Type Statistics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.thread_count\",\"Name\":\"JVM Thread Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.daemon_thread_count\",\"Name\":\"JVM Daemon Thread Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.memory\",\"Name\":\"JVM Memory\",\"Description\":\"JVM heap vs. non-heap memory usage\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.memory.heap_usage\",\"Name\":\"JVM Heap Memory Usage\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.non_heap_usage\",\"Name\":\"JVM Non-Heap Memory Usage\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.memory.memory_pool_usages\",\"Name\":\"JVM Memory Pool\",\"Description\":\"JVM Memory Pool Usage\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.memory.memory_pool_usages.Code_Cache\",\"Name\":\"Code Cache\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.memory_pool_usages.PS_Eden_Space\",\"Name\":\"Eden Space\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.memory_pool_usages.PS_Old_Gen\",\"Name\":\"Old Generation\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.memory_pool_usages.PS_Perm_Gen\",\"Name\":\"Permanent Generation\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.memory_pool_usages.PS_Survivor_Space\",\"Name\":\"Survivor Space\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.gc\",\"Name\":\"JVM Garbage Collection\",\"Description\":\"JVM Garbage Collection Statistics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.gc.PS_MarkSweep.runs\",\"Name\":\"JVM Garbage Collection MarkSweep Runs\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.gc.PS_MarkSweep.time\",\"Name\":\"JVM Garbage Collection MarkSweep Time\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.gc.PS_Scavenge.runs\",\"Name\":\"JVM Garbage Collection Scavenge Runs\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.gc.PS_Scavenge.time\",\"Name\":\"JVM Garbage Collection Scavenge Time\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.threads-states\",\"Name\":\"JVM Thread States\",\"Description\":\"JVM Thread States\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.thread-states.blocked\",\"Name\":\"JVM Threads in Blocked State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.new\",\"Name\":\"JVM Threads in New State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.runnable\",\"Name\":\"JVM Threads in Runnable State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.terminated\",\"Name\":\"JVM Threads in Terminated State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.timed_waiting\",\"Name\":\"JVM Threads in Timed Waiting State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.waiting\",\"Name\":\"JVM Threads in Waiting State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"MetricsQueue.totalIncoming\",\"Name\":\"Total Incoming Metrics\",\"Description\":\"Total Incoming Metric Statistics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.count\",\"Name\":\"MetricsQueue Total Incoming Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.meanRate\",\"Name\":\"MetricsQueue Total Incoming Mean Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.1MinuteRate\",\"Name\":\"MetricsQueue Total Incoming 1 Minute Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.5MinuteRate\",\"Name\":\"MetricsQueue Total Incoming 5 Minute Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.15MinuteRate\",\"Name\":\"MetricsQueue Total Incoming 15 MinuteRate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"MetricsQueue.totalOutgoing\",\"Name\":\"Total Incoming Metrics\",\"Description\":\"Total Incoming Metric Statistics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.count\",\"Name\":\"MetricsQueue Total Incoming Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.meanRate\",\"Name\":\"MetricsQueue Total Incoming Mean Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.1MinuteRate\",\"Name\":\"MetricsQueue Total Incoming 1 Minute Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.5MinuteRate\",\"Name\":\"MetricsQueue Total Incoming 5 Minute Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.15MinuteRate\",\"Name\":\"MetricsQueue Total Incoming 15 MinuteRate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"MetricsQueue.totalErrors\",\"Name\":\"Total Errors\",\"Description\":\"Total Errors\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalErrors.count\",\"Name\":\"MetricsQueue Total Errors Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"MetricsWebResource.post\",\"Name\":\"MetricsWebResource Post Statistics\",\"Description\":\"HTTP Post Statistics for the MetricsWebResource\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.count\",\"Name\":\"MetricWebResource Total Post\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.meanRate\",\"Name\":\"MetricWebResource Average Response Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.1MinuteRate\",\"Name\":\"MetricWebResource 1 Minute Moving Average Response Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.5MinuteRate\",\"Name\":\"MetricWebResource 5 Minute Moving Average Response Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.15MinuteRate\",\"Name\":\"MetricWebResource 15 Minute Moving Average Response Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.max\",\"Name\":\"MetricWebResource Content-Length Max\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.mean\",\"Name\":\"MetricWebResource Content-Length Mean\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.median\",\"Name\":\"MetricWebResource Content-Length Median\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.75Percentile\",\"Name\":\"MetricWebResource Content-Length Histogram 75%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.95Percentile\",\"Name\":\"MetricWebResource Content-Length Histogram 95%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.98Percentile\",\"Name\":\"MetricWebResource Content-Length Histogram 98%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.99Percentile\",\"Name\":\"MetricWebResource Content-Length Histogram 99%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.999Percentile\",\"Name\":\"MetricWebResource Content-Length Histogram 99.9%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"RabbitMQ\",\"Command\":\"/usr/sbin/rabbitmq-server\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":[{\"Name\":\"rabbitmq admin\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":15672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq_admin\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"rabbitmq\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":5672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":[{\"Owner\":\"rabbitmq:rabbitmq\",\"Permission\":\"0750\",\"ResourcePath\":\"rabbitmq\",\"ContainerPath\":\"/var/lib/rabbitmq\",\"Type\":\"\"}],\"LogConfigs\":[{\"Path\":\"/var/log/rabbitmq/[email protected]\",\"Type\":\"rabbitmq\",\"Filters\":null,\"LogTags\":null},{\"Path\":\"/var/log/rabbitmq/[email protected]\",\"Type\":\"rabbitmq_sasl\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"PAUSE_CHECK_TIMEOUT=60 ${ZENHOME:-/opt/zenoss}/bin/quiesce-rabbitmq.sh pause\",\"Resume\":\"${ZENHOME:-/opt/zenoss}/bin/quiesce-rabbitmq.sh resume\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"admin\":{\"Script\":\"curl -s -u guest:guest http://localhost:15672/api/vhosts | grep -q name\",\"Interval\":1},\"answering\":{\"Script\":\"curl -s http://localhost:5672/ | grep -q AMQP\",\"Interval\":1}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"Zope\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/runzope\\\" \",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zope.conf\":{\"Filename\":\"/opt/zenoss/etc/zope.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"660\",\"Content\":\"# This is the proposed version for SC / Zope 2.12.1\\n\\n###############################################################################\\n# Welcome to Zope 2.\\n###############################################################################\\n#\\n# This is the Zope configuration file. The Zope configuration file\\n# shows what the default configuration directives are, and show\\n# examples for each directive. To declare a directive, make sure that\\n# you add it to a line that does not begin with '#'. Note that comments\\n# are only allowed at the beginning of a line: you may not add comments\\n# after directive text on the same line.\\n#\\n# Note for Developers\\n# ===================\\n#\\n# This file is *not* auto-generated. If you create a new directive you\\n# very likely want to include an example of how to use the new\\n# directive in this file.\\n#\\n# You shouldn't modify 'zope.conf.in' to change\\n# configuration. Instead, you should make a copy into 'zope.conf' and\\n# modify that to avoid checking in changes to this file by mistake.\\n\\n# ZConfig \\\"defines\\\" used for later textual substitution\\n\\n%define INSTANCE /opt/zenoss\\n\\n# this needs to match the encoding in the sitecustomize.py file\\n# in $ZENHOME/lib/python\\ndefault-zpublisher-encoding utf-8\\n\\n# Directive: instancehome\\n#\\n# Description:\\n# The path to the data files, local product files, import directory,\\n# and Extensions directory used by Zope.\\n#\\n# Required (no default)\\n#\\n# Example:\\n#\\n# instancehome /home/chrism/projects/sessions\\n\\ninstancehome $INSTANCE\\n\\n# Directive: clienthome\\n#\\n# Description:\\n# The directory in which a running Zope's process identifier files are\\n# placed.\\n#\\n# Default: $INSTANCE/var\\n#\\n# Example:\\n#\\n# clienthome /home/chrism/projects/sessions/var\\n\\n\\n# Directive: path\\n#\\n# Description:\\n# Name of a directory which should be inserted into the\\n# the beginning of Python's module search path. This directive\\n# may be specified as many times as needed to insert additional\\n# directories. The set of directories specified is inserted into the\\n# beginning of the module search path in the order which they are specified\\n# here. Note that the processing of this directive may happen too late\\n# under some circumstances; it is recommended that you use the PYTHONPATH\\n# environment variable if using this directive doesn't work for you.\\n#\\n# Default: $INSTANCE/lib/python\\n#\\n# Example:\\n#\\n# path $INSTANCE/mypymodules\\n\\n\\n# Directive: products\\n#\\n# Description:\\n# Name of a directory that contains additional Product packages. This\\n# directive may be used as many times as needed to add additional\\n# collections of products. Each directory identified will be\\n# added to the __path__ of the Products package. All Products are\\n# initialized in ascending alphabetical order by product name. If\\n# two products with the same name exist in two Products directories,\\n# the order in which the packages appear here defines the load\\n# order. The master Products directory exists in Zope's software home,\\n# and cannot be removed from the products path (and should not be added\\n# to it here).\\n#\\n# Default: $INSTANCE/Products\\n#\\n# Example:\\n#\\n# products /home/chrism/projects/myproducts\\n\\n\\n# Directive: environment\\n#\\n# Description:\\n# A section which can be used to define arbitrary key-value pairs\\n# for use as environment variables during Zope's run cycle. It\\n# is not recommended to set system-related environment variables such as\\n# PYTHONPATH within this section.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# \\u003cenvironment\\u003e\\n# MY_PRODUCT_ENVVAR foobar\\n# \\u003c/environment\\u003e\\n\\n# Directive: debug-mode\\n#\\n# Description:\\n# A switch which controls several aspects of Zope operation useful for\\n# developing under Zope. When debug mode is on:\\n#\\n# - The process will not detach from the controlling terminal\\n#\\n# - Errors in product initialization will cause startup to fail\\n# (instead of writing error messages to the event log file).\\n#\\n# - Filesystem-based scripts such as skins, PageTemplateFiles, and\\n# DTMLFiles can be edited while the server is running and the server\\n# will detect these changes in real time. When this switch is\\n# off, you must restart the server to see the changes.\\n#\\n# Setting this to 'off' when Zope is in a production environment is\\n# encouraged, as it speeds execution (sometimes dramatically).\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# debug-mode on\\n\\n\\n# Directive: effective-user\\n#\\n# Description:\\n# If you intend to run Zope as the \\\"root\\\" user, you must supply this\\n# directive with an effective username or userid number to which Zope\\n# will 'suid' after the server ports are bound. This directive only\\n# has effect under UNIX and if Zope is started as the root user.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\neffective-user zenoss\\n\\n\\n# Directive: enable-product-installation\\n#\\n# Description:\\n# If this directive is turned on, Zope performs 'product installation'\\n# (the registration of Python modules in various Products directories)\\n# at startup. Turning this off can speed Zope/ZEO startup time,\\n# but it can also cause your Control_Panel Product list to become\\n# desynchronized with the contents of your Products\\n# directories. NOTE: Zope *must* be started at least once with\\n# this directive set to \\\"on\\\" or you will receive an error. If using ZEO,\\n# at least one ZEO client must be run with this directive set to \\\"on\\\"\\n# once, the others can have it turned off.\\n# NOTE: If your main storage is mounted read-only,\\n# you must set this directive to \\\"off\\\".\\n#\\n# Default: on\\n#\\n# Example:\\n#\\nenable-product-installation off\\n\\n# Directive: locale\\n#\\n# Description:\\n# Enable locale (internationalization) support by supplying a locale\\n# name to be used. See your operating system documentation for locale\\n# information specific to your system. If your Python module does not\\n# support the locale module, or if the requested locale is not\\n# supported by your system, an error will be raised and Zope will not\\n# start.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# locale fr_FR\\n\\n\\n# Directive: datetime-format\\n#\\n# Description:\\n# Set this variable either to \\\"us\\\" or \\\"international\\\" to force the\\n# DateTime module to parse date strings either with\\n# month-before-days-before-year (\\\"us\\\") or\\n# days-before-month-before-year (\\\"international\\\"). The default\\n# behaviour of DateTime (when this setting is left unset) is to\\n# parse dates as US dates.\\n#\\n# Default: us\\n#\\n# Example:\\n#\\n# datetime-format international\\n\\n\\n# Directive: zserver-threads\\n#\\n# Description:\\n# Specify the number of threads that Zope's ZServer web server will use\\n# to service requests. The default is 4.\\n#\\n# Default: 4\\n#\\n# Example:\\n#\\n# zserver-threads 10\\n\\n\\n# Directive: python-check-interval\\n#\\n# Description:\\n# Specify an integer representing the Python interpreter \\\"check\\n# interval\\\" This interval determines how often the interpreter checks\\n# for periodic things such as thread switches and signal handlers. The\\n# Zope default is 500, but you may want to experiment with other values\\n# in order to attempt to increae performance in your particular\\n# environment.\\n#\\n# Default: 500\\n#\\n# Example:\\n#\\n# python-check-interval 1000\\n\\n\\n# Directive: zserver-read-only-mode\\n#\\n# Description:\\n# If this directive is set to 'on', it will cause Zope to inhibit the\\n# creation of log files and pid files. Access and event log files will\\n# be presented on standard output. Setting this directive 'on' causes\\n# pcgi, fastcgi, and daemon-related directives to have no effect.\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# zserver-read-only-mode on\\n\\n\\n# Directive: pid-filename\\n#\\n# Description:\\n# The path to the file in which the Zope process id(s) will be written.\\n# This defaults to client-home/Z2.pid.\\n#\\n# Default: CLIENT_HOME/Z2.pid\\n#\\n# Example:\\n#\\n# pid-filename /home/chrism/projects/sessions/var/Z2.pid\\n\\n\\n# Directive: lock-filename\\n#\\n# Description:\\n# The path to a \\\"lock file\\\" which will be locked by Zope while it's\\n# running. This file is used by zopectl.py to determine if Zope is\\n# currently running. This defaults to CLIENT_HOME/Z2.lock.\\n#\\n# Default: CLIENT_HOME/Z2.lock\\n#\\n# Example:\\n#\\n# lock-filename /home/chrism/projects/sessions/var/Z2.lock\\n\\n\\n# Directive: mime-types\\n#\\n# Description:\\n# Tells Zope about additional mime.types files that should be\\n# loaded. The files have the same format as the mime.types file\\n# distributed with Apache. The \\\"mime-types\\\" setting may be given\\n# more than once in the configuration file.\\n#\\n# Example:\\n#\\n# mime-types $INSTANCE/etc/mime.types\\n\\n\\n# Directive: structured-text-header-level\\n#\\n# Description:\\n# Set the default starting HTML header level for structured text\\n# documents. The default is 3, which implies that top-level headers\\n# will be created with an \\u003cH3\\u003e tag.\\n#\\n# Default: 3\\n#\\n# Example:\\n#\\n# structured-text-header-level 1\\n\\n# Directive: rest-input-encoding\\n#\\n# Description:\\n# Specifies the input encoding of re-StructuredText documents\\n# (e.g. 'utf-8', 'iso-8859-15' or any other valid encoding recognized\\n# by Python). The default is your Python's default encoding.\\n#\\n# Default: unset (uses system default)\\n#\\n# Example:\\n#\\n# rest-input-encoding iso-8859-15\\n\\n# Directive: rest-output-encoding\\n#\\n# Description:\\n# Specifies the output encoding of re-StructuredText documents\\n# (e.g. 'utf-8', 'iso-8859-15' or any other valid encoding recognized\\n# by Python). The default is your Python's default encoding.\\n#\\n# Default: unset (uses system default)\\n#\\n# Example:\\n#\\n# rest-output-encoding iso-8859-15\\n\\n# Directive: rest-header-level\\n#\\n# Description:\\n# Set the default starting HTML header level for restructured text\\n# documents. The default is 3, which implies that top-level headers\\n# will be created with an \\u003cH3\\u003e tag.\\n#\\n# Default: 3\\n#\\n# Example:\\n#\\n# rest-header-level 2\\n\\n# Directive: rest-language-code\\n#\\n# Description:\\n# Language code used for some internal translations inside of the docutils\\n# package and for DTD bibliographic elements mapping. See\\n# lib/python/docutils/languages/ for a list of supported language codes.\\n#\\n# Default: en\\n#\\n# Example:\\n#\\n# rest-language-code de\\n\\n# Directive: cgi-environment\\n#\\n# Description:\\n# A section which allows a user to define arbitrary key-value pairs for\\n# use as the initial CGI environment variables. This is useful\\n# when you want to proxy requests from another web server to Zserver,\\n# and would like Zserver's CGI environment to reflect the CGI\\n# environment of the other web server.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# \\u003ccgi-environment\\u003e\\n# HTTPS_SERVER Foobar Server 1.0\\n# HTTPS_PORT 443\\n# \\u003c/cgi-environment\\u003e\\n\\n\\u003ccgi-environment\\u003e\\n HTTPS ON\\n\\u003c/cgi-environment\\u003e\\n\\n\\n# Directive: dns-server\\n#\\n# Description:\\n# Specify the IP address of your DNS server in order to cause resolved\\n# hostnames to be written to Zope's access log. By default, Zope will\\n# not resolve hostnames unless this is set.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# dns-server 127.0.0.1\\n\\n\\n# Directive: ip-address\\n#\\n# Description:\\n# The default IP address on which Zope's various server protocol\\n# implementations will listen for requests. If this is unset, Zope\\n# will listen on all IP addresses supported by the machine. This\\n# directive can be overridden on a per-server basis in the servers\\n# section.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# ip-address 127.0.0.1\\n\\n\\n# Directive: http-realm\\n#\\n# Description:\\n# The HTTP \\\"Realm\\\" header value sent by this Zope instance. This value\\n# often shows up in basic authentication dialogs.\\n#\\n# Default: Zope\\n#\\n# Example:\\n#\\n# http-realm Slipknot\\n\\n\\n# Directive: cgi-maxlen\\n#\\n# Description:\\n# Set this value to limit the amount of form data being processed\\n# by Zope to prevent DoS attacks.\\n#\\n# Default: 0 (= no restrictions)\\n#\\n# Example:\\n#\\n# cgi-maxlen 10000\\n\\n\\n# Directive: http-header-max-length\\n#\\n# Description:\\n# Maximum number of bytes allowed within a HTTP request header. The request\\n# is discarded and considered as a DoS attack if the header size exceeds\\n# this limit.\\n#\\n# Default: 8192\\n#\\n# Example:\\n#\\n# http-header-max-length 16384\\n\\n# Directive: enable-ms-author-via\\n#\\n# Description:\\n# Set this directive to 'true' to enable the \\\"MS-Author-Via\\\" header\\n# in response to an OPTIONS WebDAV request. Early versions of\\n# Microsoft Web Folders and Microsoft Office require this header to\\n# be present to be able to connect to Zope via WebDAV.\\n#\\n# This is disabled by default since it makes a lot of standards-compliant\\n# things unhappy AND it tricks Microsoft Office into trying to edit Office\\n# files stored in Zope via WebDAV even when the user isn't allowed to edit\\n# them and is only trying to download them.\\n#\\n# Check this collector entry for more information:\\n# http://www.zope.org/Collectors/Zope/1441\\n#\\n# Recent versions of Microsoft Web Folders, updated after January\\n# 2005, do not require this header anymore, and instead require a\\n# \\\"Public\\\" header to be present in reply to the OPTIONS WebDAV\\n# request.\\n# (http://www.redmountainsw.com/wordpress/archives/webfolders-zope)\\n#\\n# To get a recent Microsoft Web Folders implementation, refer to\\n# Microsoft KB Article 907306.\\n# (Software Update for Web Folders: May 18, 2007).\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# enable-ms-author-via on\\n\\n# Directive: enable-ms-public-header\\n#\\n# Description:\\n# Set this directive to 'on' to enable sending the \\\"Public\\\" header\\n# in response to an WebDAV OPTIONS request.\\n#\\n# Though recent WebDAV drafts mention this header, the original\\n# WebDAV RFC did not mention it as part of the standard. Very few\\n# web servers out there include this header in their replies, most\\n# notably IIS and Netscape Enterprise 3.6.\\n#\\n# Since many best practices documents out in the web mention\\n# turning off this header with the subject of \\\"Mask Your Web Server\\n# For Enhanced Security\\\", this setting is off by\\n# default. Presumably malicious people might take the presence of\\n# this header as indication of an IIS Web Server and try to attack\\n# your site, so be careful when turning it on.\\n#\\n# Recent versions of Microsoft Web Folders, updated after January\\n# 2005, *do* require this header to be present in reply to the\\n# OPTIONS WebDAV request.\\n# (http://www.redmountainsw.com/wordpress/archives/webfolders-zope)\\n#\\n# To get a recent Microsoft Web Folders implementation, refer to\\n# Microsoft KB Article 907306.\\n# (Software Update for Web Folders: May 18, 2007).\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# enable-ms-public-header on\\n\\n# Directive: automatically-quote-dtml-request-data\\n#\\n# Description:\\n# Set this directive to 'off' in order to disable the autoquoting of\\n# implicitly retrieved REQUEST data by DTML code which contains a '\\u003c'\\n# when used in \\u003cdtml-var\\u003e construction. When this directive is 'on',\\n# all data implicitly retrieved from the REQUEST in DTML (as opposed to\\n# addressing REQUEST.somevarname directly) that contains a '\\u003c' will be\\n# HTML-quoted when interpolated via a \\u003cdtml-var\\u003e or \\u0026dtml- construct. This\\n# mitigates the possibility that DTML programmers will leave their\\n# sites open to a \\\"client-side trojan\\\" attack.\\n#\\n# Default: on\\n#\\n# Example:\\n#\\n# automatically-quote-dtml-request-data on\\n\\n# Directive: trusted-proxy\\n#\\n# Description:\\n# Define one or more 'trusted-proxies' directives, each of which is a\\n# hostname or an IP address. The set of definitions comprises a list\\n# of front-end proxies that are trusted to supply an accurate\\n# X-Forwarded-For header to Zope. If a connection comes from\\n# a trusted proxy, Zope will trust any X-Forwarded header to contain\\n# the user's real IP address for the purposes of address-based\\n# authentication restriction.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# trusted-proxy www.example.com\\n# trusted-proxy 192.168.1.1\\n\\n# Directive: publisher-profile-file\\n#\\n# Description:\\n# Names a file on the filesystem which causes Zope's Python\\n# profiling capabilities to be enabled. For more information, see\\n# the Debug Information - \\u003e Profiling tab of Zope's Control_Panel\\n# via the Zope Management Interface. IMPORTANT: setting this\\n# filename will cause Zope code to be executed much more slowly\\n# than normal. This should not be enabled in production.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# publisher-profile-file $INSTANCE/var/profile.dat\\n\\n\\n# Directive: security-policy-implementation\\n#\\n# Description:\\n# The default Zope security machinery is implemented in C. Change\\n# this to \\\"python\\\" to use the Python version of the Zope security\\n# machinery. This setting may impact performance but is useful\\n# for debugging purposes. See also the \\\"verbose-security\\\" option\\n# below.\\n#\\n# Default: C\\n#\\n# Example:\\n#\\n# security-policy-implementation python\\n\\n# Directive: skip-authentication-checking\\n#\\n# Description:\\n# Set this directive to 'on' to cause Zope to skip checks related\\n# to authentication, for servers which serve only anonymous content.\\n# Only works if security-policy-implementation is 'C'.\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# skip-authentication-checking on\\n\\n\\n# Directive: skip-ownership-checking\\n#\\n# Description:\\n# Set this directive to 'on' to cause Zope to ignore ownership checking\\n# when attempting to execute \\\"through the web\\\" code. By default, this\\n# directive is on in order to prevent 'trojan horse' security problems\\n# whereby a user with less privilege can cause a user with more\\n# privilege to execute dangerous code.\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# skip-ownership-checking on\\n\\n\\n# Directive: verbose-security\\n#\\n# Description:\\n# By default, Zope reports authorization failures in a terse manner in\\n# order to avoid revealing unnecessary information. This option\\n# modifies the Zope security policy to report more information about\\n# the reason for authorization failures. It's designed for debugging.\\n# If you enable this option, you must also set the\\n# 'security-policy-implementation' to 'python'.\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# security-policy-implementation python\\n# verbose-security on\\n\\n\\n# Directive: maximum-number-of-session-objects\\n#\\n# Description:\\n# An integer value representing the number of items to use as a\\n# \\\"maximum number of subobjects\\\" value of the\\n# '/temp_folder/session_data' transient object container.\\n#\\n# Default: 1000\\n#\\n# Example:\\n#\\nmaximum-number-of-session-objects 100000\\n\\n\\n# Directive: session-add-notify-script-path\\n#\\n# Description:\\n# An optional fill Zope path name of a callable object to be set as the\\n# \\\"script to call on object addition\\\" of the sessioN_data transient\\n# object container created in the /temp_folder folder at startup.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# session-add-notify-script-path /scripts/add_notifier\\n\\n\\n# Directive: session-delete-notify-script-path\\n#\\n# Description:\\n# An optional fill Zope path name of a callable object to be set as the\\n# \\\"script to call on object deletion\\\" of the sessioN_data transient\\n# object container created in the /temp_folder folder at startup.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# session-delete-notify-script-path /scripts/del_notifier\\n\\n\\n# Directive: session-timeout-minutes\\n#\\n# Description:\\n# An integer value representing the number of minutes to be used as the\\n# \\\"data object timeout\\\" of the '/temp_folder/session_data' transient\\n# object container.\\n#\\n# Default: 20\\n#\\n# Example:\\n#\\n# session-timeout-minutes 30\\n\\n\\n# Directive: session-resolution-seconds\\n#\\n# Description:\\n# An integer value representing the number of seconds to be used as the\\n# \\\"timeout resolution\\\" of the '/temp_folder/session_data' transient\\n# object container.\\n#\\n# Default: 20\\n#\\n# Example:\\n#\\n# session-resolution-seconds 60\\n\\n\\n# Directive: suppress-all-access-rules\\n#\\n# Description:\\n# If this directive is set to on, no access rules in your Zope site\\n# will be executed. This is useful if you \\\"lock yourself out\\\" of a\\n# particular part of your site by setting an improper access rule.\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# suppress-all-access-rules on\\n\\n\\n# Directive: suppress-all-site-roots\\n#\\n# Description:\\n# If this directive is set to on, no site roots in your Zope site will\\n# be effective. This is useful if you \\\"lock yourself out\\\" of a\\n# particular part of your site by setting an improper site root.\\n#\\n# Default: off\\n#\\n# Example:\\n#\\n# suppress-all-site-roots on\\n\\n\\n# Directive: database-quota-size\\n#\\n# Description:\\n# Set this directive to an integer in bytes in order to place a hard\\n# limit on the size which the default FileStorage-backed Zope database\\n# can grow. Additions to the database will not be permitted once this\\n# filesize is exceeded.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# database-quota-size 1000000\\n\\n\\n# Directive: zeo-client-name\\n#\\n# Description:\\n# If you want a persistent ZEO client cache which retains cache\\n# contents across ClientStorage restarts, you need to define a\\n# zeo-client-name. If you use ZEO and you don't set a\\n# zeo-client-name, the client cache is stored in temporary files\\n# which are removed when the ClientStorage shuts down. The value\\n# of zeo-client-name is used to uniquely identify the local cache\\n# files created if this Zope is a ZEO client.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# zeo-client-name zeo1\\n\\n\\n# Directives: logger\\n#\\n# Description:\\n# This area should define one or more \\\"logger\\\" sections of the\\n# names \\\"access\\\", \\\"event\\\", and \\\"trace\\\". The \\\"access\\\" logger logs\\n# Zope server access. The \\\"event\\\" logger logs Zope event\\n# information. The \\\"trace\\\" logger logs detailed server request\\n# information (for debugging purposes only). Each logger section\\n# may contain a \\\"level\\\" name/value pair which indicates the level\\n# of logging detail to capture for this logger. The default level\\n# is INFO. Level may be any of \\\"CRITICAL\\\", 'ERROR\\\", WARN\\\", \\\"INFO\\\",\\n# \\\"DEBUG\\\", and \\\"ALL\\\". Each logger section may additionally contain\\n# one or more \\\"handler\\\" sections which indicates a types of log\\n# \\\"handlers\\\" (file, syslog, NT event log, etc) to be used for the\\n# logger being defined. There are 5 types of handlers: logfile,\\n# syslog, win32-eventlog, http-handler, email-notifier. Each\\n# handler type has its own set of allowable subkeys which define\\n# aspects of the handler. All handler sections also allow for the\\n# specification of a \\\"format\\\" (the log message format string), a\\n# \\\"dateformat\\\" (the log message format for date strings), and a\\n# \\\"level\\\", which has the same semantics of the overall logger\\n# level but overrides the logger's level for the handler it's\\n# defined upon. XXXX much more detail necessary here\\n#\\n# Default:\\n#\\n# The access log will log to the file \\u003cinstancehome\\u003e/log/Z2.log at\\n# level INFO, the event log will log to the file\\n# \\u003cinstancehome\\u003e/log/event.log at level INFO, and the trace log\\n# will not be written anywhere.\\n\\n\\u003ceventlog\\u003e\\n level info\\n \\u003clogfile\\u003e\\n path $INSTANCE/log/event.log\\n level info\\n \\u003c/logfile\\u003e\\n\\u003c/eventlog\\u003e\\n\\n\\u003clogger access\\u003e\\n level WARN\\n \\u003clogfile\\u003e\\n path $INSTANCE/log/Z2.log\\n format %(message)s\\n \\u003c/logfile\\u003e\\n\\u003c/logger\\u003e\\n\\n# \\u003clogger trace\\u003e\\n# level WARN\\n# \\u003clogfile\\u003e\\n# path $INSTANCE/log/trace.log\\n# format %(message)s\\n# \\u003c/logfile\\u003e\\n# \\u003c/logger\\u003e\\n\\n\\n# Directive: conflict-error-log-level\\n#\\n# Description:\\n# Specifies at which level conflict errors are logged. Conflict\\n# errors, when occuring in small numbers, are a normal part of the\\n# Zope optimistic transaction conflict resolution algorithms. They\\n# are retried automatically a few times, and are therefore usually\\n# not visible by the user. You can specify 'notset' if you don't\\n# want them logged, or use any other logger level (see above).\\n#\\n# Default: info\\n#\\n# Example:\\n#\\n# conflict-error-log-level blather\\n\\n\\n# Directive: warnfilter\\n#\\n# Description:\\n# A section that allows you to define a warning filter.\\n# The following keys are valid within a warnfilter section:\\n#\\n# action: one of the following strings:\\n#\\n# \\\"error\\\" turn matching warnings into exceptions\\n# \\\"ignore\\\" never print matching warnings\\n# \\\"always\\\" always print matching warnings\\n# \\\"default\\\" print the first occurrence of matching warnings\\n# for each location where the warning is issued\\n# \\\"module\\\" print the first occurrence of matching warnings\\n# for each module where the warning is issued\\n# \\\"once\\\" print only the first occurrence of matching\\n# warnings, regardless of location\\n#\\n# message: a string containing a regular expression that the\\n# warning message must match (the match is compiled to\\n# always be case-insensitive)\\n#\\n# category: a Python dotted-path classname (must be a subclass of\\n# Warning) of which the warning category must be a subclass in\\n# order to match\\n#\\n# module: a string containing a regular expression that the\\n# module name must match (the match is compiled to be\\n# case-sensitive)\\n#\\n# lineno: an integer that the line number where the warning\\n# occurred must match, or 0 to match all line numbers\\n#\\n# All keys within a warnfilter section are optional. More than\\n# one warnfilter section may be specified.\\n#\\n# Default: unset\\n#\\n# Example:\\n#\\n# \\u003cwarnfilter\\u003e\\n# action ignore\\n# category exceptions.DeprecationWarning\\n# \\u003c/warnfilter\\u003e\\n\\n\\n# Directive: max-listen-sockets\\n#\\n# Description:\\n# The maximum number of sockets that ZServer will attempt to open\\n# in order to service incoming connections.\\n#\\n# Default: 1000\\n#\\n# Example:\\n#\\n# max-listen-sockets 500\\n\\n\\n# Directives: port-base\\n#\\n# Description:\\n# Offset applied to the port numbers used for ZServer\\n# configurations. For example, if the http-server port is 8080 and\\n# the port-base is 1000, the HTTP server will listen on port 9080.\\n# This makes it easy to change the complete set of ports used by a\\n# Zope server process\\n#\\n# Default:\\n#\\n# 0\\n#\\n# Example:\\n#\\n# port-base 1000\\n\\n\\n# Directive: large-file-threshold\\n#\\n# Description:\\n# Requests bigger than this size get saved into a temporary file\\n# instead of being read completely into memory.\\n#\\n# Default: 512K\\n#\\n# Example:\\n#\\n# large-file-threshold 1Mb\\n\\n# Directive: default-zpublisher-encoding\\n#\\n# Description:\\n# This controls what character set is used to encode unicode\\n# data that reaches ZPublisher without any other specified encoding.\\n#\\n# Default: iso-8859-15\\n#\\n# Example:\\n#\\n# default-zpublisher-encoding utf-8\\nconflict-error-log-level debug\\n\\n# Directives: servers\\n#\\n# Description:\\n# A set of sections which allow the specification of Zope's various\\n# ZServer servers. 8 different server types may be defined:\\n# http-server, ftp-server, webdav-source-server, persistent-cgi,\\n# fast-cgi, monitor-server, icp-server, and clock-server. If no servers\\n# are defined, the default servers are used.\\n#\\n# Ports may be specified using the 'address' directive either in simple\\n# form (80) or in complex form including hostname 127.0.0.1:80. If the\\n# hostname is \\\"left off\\\", the default-ip-address is used as the hostname.\\n#\\n# Port numbers are offset by the setting of port-base.\\n#\\n# To run the monitor-server an emergency user must be defined\\n# (through an 'access' file).\\n#\\n# Default:\\n#\\n# An HTTP server starts on port 8080.\\n\\n\\u003chttp-server\\u003e\\n # valid keys are \\\"address\\\" and \\\"force-connection-close\\\"\\n address 9080\\n\\n # force-connection-close on\\n #\\n # You can also use the WSGI interface between ZServer and ZPublisher:\\n # use-wsgi on\\n #\\n # To defer the opening of the HTTP socket until the end of the\\n # startup phase:\\n # fast-listen off\\n\\u003c/http-server\\u003e\\n\\n# Examples:\\n#\\n# \\u003cftp-server\\u003e\\n# # valid key is \\\"address\\\"\\n# address 8021\\n# \\u003c/ftp-server\\u003e\\n#\\n# \\u003cwebdav-source-server\\u003e\\n# # valid keys are \\\"address\\\" and \\\"force-connection-close\\\"\\n# address 1980\\n# force-connection-close off\\n# \\u003c/webdav-source-server\\u003e\\n#\\n# \\u003cpersistent-cgi\\u003e\\n# # valid key is \\\"path\\\"\\n# path somefile\\n# \\u003c/persistent-cgi\\u003e\\n#\\n# \\u003cfast-cgi\\u003e\\n# # valid key is \\\"address\\\"; the address may be hostname:port, port,\\n# # or a path for a Unix-domain socket\\n# address somefile\\n# \\u003c/fast-cgi\\u003e\\n#\\n# \\u003cmonitor-server\\u003e\\n# # valid keys are \\\"address\\\"\\n# address 8099\\n# \\u003c/monitor-server\\u003e\\n#\\n# \\u003cicp-server\\u003e\\n# # valid key is \\\"address\\\"\\n# address 888\\n# \\u003c/icp-server\\u003e\\n#\\n# \\u003cclock-server\\u003e\\n# # starts a clock which calls /foo/bar every 30 seconds\\n# method /foo/bar\\n# period 30\\n# user admin\\n# password 123\\n# \\u003c/clock-server\\u003e\\n\\n# Database (zodb_db) section\\n#\\n# Description:\\n# A database section allows the definition of custom database and\\n# storage types. More than one zodb_db section can be defined.\\n#\\n# Default: unset.\\n# IMPORTANT: At least one database with a mount-point of \\\"/\\\"\\n# must be specified for Zope to start properly.\\n\\n#\\u003czodb_db main\\u003e\\n# # Main FileStorage database\\n# \\u003cfilestorage\\u003e\\n# # See .../ZODB/component.xml for directives (sectiontype\\n# # \\\"filestorage\\\").\\n# path $INSTANCE/var/Data.fs\\n# \\u003c/filestorage\\u003e\\n# mount-point /\\n#\\u003c/zodb_db\\u003e\\n\\n\\u003czodb_db temporary\\u003e\\n # Session database storage\\n mount-point /temp_folder\\n %import relstorage\\n \\u003crelstorage\\u003e\\n keep-history false\\n %include zodb_db_session.conf\\n \\u003c/relstorage\\u003e\\n\\u003c/zodb_db\\u003e\\n\\n# Other storage examples\\n#\\n# ZEO client storage:\\n#\\n\\u003czodb_db main\\u003e\\n mount-point /\\n # ZODB cache, in number of objects\\n cache-size 100000\\n %import relstorage\\n \\u003crelstorage\\u003e\\n # Comment these out to stop using memcached\\n cache-servers 127.0.0.1:11211\\n cache-module-name memcache\\n\\n # RelStorage caches pickled objects in memory, similar to a ZEO\\n # cache. This cache is shared between threads. This parameter\\n # configures the approximate maximum amount of memory the cache\\n # should consume, in megabytes. It defaults to 10.\\n cache-local-mb {{percentScale .RAMCommitment 0.5 | bytesToMB}}\\n\\n keep-history false\\n %include zodb_db_main.conf\\n \\u003c/relstorage\\u003e\\n\\u003c/zodb_db\\u003e\\n\\n# Product configuration (product-config) section(s)\\n#\\n# Description:\\n# Add-on products may need to allow the user to specify policy /\\n# configuration. Such policies may be expressed as a set of\\n# name-value pairs, grouped into a named section (there may\\n# be many such sections, typically one per product).\\n# These sections will be captured in an attribute, 'product_config'\\n# of the top-level config object, under the key corresponding to\\n# the section name. E.g., the sample section below would be\\n# parsed into a dict, {'bar': 'baz'}, available as\\n# config.product_config['foo']\\n#\\n# Products may also register their own section types, extending\\n#\\n#\\n# Example:\\n#\\n# 1. Simple \\\"bag of strings\\\" section:\\n#\\n# \\u003cproduct-config foo\\u003e\\n# bar baz\\n# \\u003c/product-config\\u003e\\n#\\n# 2. Custom section type\\n#\\n# Products/Foo/component.xml:\\n#\\n# \\u003ccomponent\\u003e\\n# \\u003cdescription\\u003e\\n# Some product-specific hackery.\\n# \\u003c/description\\u003e\\n# \\u003csectiontype name=\\\"myproduct\\\" implements=\\\"zope.product.base\\\"\\u003e\\n# \\u003cdescription\\u003e\\n# Product-specific configuration.\\n# \\u003c/description\\u003e\\n# \\u003ckey name=\\\"foo\\\" /\\u003e\\n# \\u003c/sectiontype\\u003e\\n# \\u003c/component\\u003e\\n#\\n# In zope.conf:\\n#\\n# %import Products.Foo\\n#\\n# \\u003cmyproduct bar\\u003e\\n# foo qux\\n# \\u003c/myproduct\\u003e\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"localhost_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"mysql\",\"Purpose\":\"import\",\"Protocol\":\"\",\"PortNumber\":0,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zodb_.*\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"redis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"rabbitmq\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":5672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zproxy\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zproxy\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zep\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8084,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zep\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zope\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":9080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zope\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zauth\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":9080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zauth\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":[{\"Owner\":\"zenoss:zenoss\",\"Permission\":\"0755\",\"ResourcePath\":\"zenjobs\",\"ContainerPath\":\"/opt/zenoss/log/jobs\",\"Type\":\"\"},{\"Owner\":\"zenoss:zenoss\",\"Permission\":\"0775\",\"ResourcePath\":\"zenoss-var-ext\",\"ContainerPath\":\"/opt/zenoss/var/ext\",\"Type\":\"\"}],\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/event.log\",\"Type\":\"zope_eventlog\",\"Filters\":[\"zope\",\"pythondaemon\"],\"LogTags\":null},{\"Path\":\"/opt/zenoss/log/Z2.log\",\"Type\":\"zope_access_logs\",\"Filters\":[\"z2_access_logs\"],\"LogTags\":null},{\"Path\":\"/opt/zenoss/log/audit.log\",\"Type\":\"zenossaudit\",\"Filters\":[\"supervisord\"],\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":{\"help\":\"${ZENHOME:-/opt/zenoss}/bin/zenrun help.sh\",\"zendmd\":\"NOCOMMIT=true ${ZENHOME:-/opt/zenoss}/bin/zenrun zendmd\",\"zenmib\":\"${ZENHOME:-/opt/zenoss}/bin/zenrun zenmib.sh\",\"zenpack\":\"${ZENHOME:-/opt/zenoss}/bin/zenrun zenpack.sh --service-id={{.ID}}\",\"zenup\":\"${ZENHOME:-/opt/zenoss}/bin/zenrun zenup.sh\"},\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"curl -o /dev/null -w '%{redirect_url}' -s http://localhost:9080/zport/dmd | grep -q acl_users\",\"Interval\":1},\"mysql_answering\":{\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\",\"Interval\":10},\"rabbit_answering\":{\"Script\":\"curl -s http://localhost:5672/ | grep -q AMQP\",\"Interval\":10},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | egrep -q [r]unzope.*zope.conf\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10},\"zep_answering\":{\"Script\":\"curl -f -s http://localhost:8084/zeneventserver/api/1.0/heartbeats/ | grep -q '^{\\\"heartbeats\\\":'\",\"Interval\":10},\"zproxy_answering\":{\"Script\":\"curl -f -s http://localhost:8080/ \\u003e /dev/null\",\"Interval\":10}},\"Prereqs\":[{\"Name\":\"MySQL connectivity\",\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"localhost\",\"Command\":\"\",\"Description\":\"\",\"Tags\":[\"hub\"],\"ImageID\":\"\",\"Instances\":{\"Min\":0,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":[],\"Services\":[{\"Name\":\"localhost\",\"Command\":\"\",\"Description\":\"\",\"Tags\":[\"collector\"],\"ImageID\":\"\",\"Instances\":{\"Min\":0,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":[],\"Services\":[{\"Name\":\"MetricShipper\",\"Command\":\"su - zenoss -c \\\"cd /opt/zenoss \\u0026\\u0026 /bin/supervisord -n -c etc/metricshipper/supervisord.conf\\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":[{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zproxy\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zproxy\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/metricshipper.log\",\"Type\":\"metricshipper\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps aux | grep -q ^zenoss.*metricshipper.yaml\",\"Interval\":1},\"store_answering\":{\"Script\":\"auth=$(/opt/zenoss/bin/python -c \\\"import yaml; import base64; f = open('/opt/zenoss/etc/metricshipper/metricshipper.yaml','r'); y = yaml.load(f); print 'basic '+base64.b64encode(y['username']+':'+y['password'])\\\" 2\\u003e/dev/null); [ \\\"$auth\\\" != \\\"\\\" ] \\u0026\\u0026 curl -s -XPOST -H 'Content-Type: application/json' -H \\\"Authorization: $auth\\\" -d '{}' http://localhost:8080/api/metrics/store | grep -q 'may not be null'\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"MetricShipper.totalIncoming\",\"Name\":\"Metric Shipper total incoming\",\"Description\":\"Total incoming metrics on Metric Shipper\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalIncoming.count\",\"Name\":\"Metric Shipper total incoming count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalIncoming.1MinuteRate\",\"Name\":\"Metric Shipper total incoming 1 minute rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalIncoming.5MinuteRate\",\"Name\":\"Metric Shipper total incoming 5 minute rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalIncoming.15MinuteRate\",\"Name\":\"Metric Shipper total incoming 15 minute rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalIncoming.meanRate\",\"Name\":\"Metric Shipper total incoming mean rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"MetricShipper.totalOutgoing\",\"Name\":\"Metric Shipper total outgoing\",\"Description\":\"Total outgoing metrics on Metric Shipper\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalOutgoing.count\",\"Name\":\"Metric Shipper total outgoing count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalOutgoing.1MinuteRate\",\"Name\":\"Metric Shipper total outgoing 1 minute rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalOutgoing.5MinuteRate\",\"Name\":\"Metric Shipper total outgoing 5 minute rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalOutgoing.15MinuteRate\",\"Name\":\"Metric Shipper total outgoing 15 minute rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricshipper.totalOutgoing.meanRate\",\"Name\":\"Metric Shipper total outgoing mean rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenjmx\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenjmx run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenjmx.conf\":{\"Filename\":\"/opt/zenoss/etc/zenjmx.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenjmx\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenjmx.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 500\\n#maxparallel 500\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Max number of device configurations\\n# to load at once, default %default (0\\n# == all devices), default: 25\\n#configsipsize 25\\n#\\n# Delay in seconds between device configurations\\n# loading, default %default, default: 1\\n#configsipdelay 1\\n#\\n# Port for zenjmxjava process; default\\n# 9988. Tries 5 consecutive ports if\\n# there is a conflict, default: 9988\\n#zenjmxjavaport 9988\\n#\\n# Enable concurrent calls to a JMX server,\\n# default: False\\n#concurrentJMXCalls False\\n#\\n# Number of devices to collect from at\\n# one time, default: 200\\n#parallel 200\\n#\\n# Cycle time, in seconds, to run collection,\\n# default: 300\\n#cycleInterval 300\\n#\\n# Number of ports to attempt when startingJava\\n# jmx client, default: 5\\n#portRange 5\\n#\\n# Max heap, in MB, to use for java process,\\n# default: 512\\n#javaheap 512\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenjmx.log\",\"Type\":\"zenjmx\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zenjmx.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zenjmx.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enjmx.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zenjmx\",\"Name\":\"zenjmx internal metrics\",\"Description\":\"zenjmx internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventCount\",\"name\":\"Event Count\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Count\",\"description\":\"Total number of events.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Count\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenmodeler\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenmodeler run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenmodeler.conf\":{\"Filename\":\"/opt/zenoss/etc/zenmodeler.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenmodeler\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenmodeler.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Don't fork threads for processing, default:\\n# False\\n#debug False\\n#\\n# Do not execute WMI plugins, default: True\\n#nowmi True\\n#\\n# Number of devices to collect from in\\n# parallel, default: 1\\n#parallel 1\\n#\\n# Run collection every x minutes\\n#cycletime None\\n#\\n# Modeler plugins to ignore. Takes a regular\\n# expression\\n#ignore \\n#\\n# Modeler plugins to use. Takes a regular\\n# expression\\n#collect \\n#\\n# Start class path for collection\\n# ie /NetworkDevices\\n#path None\\n#\\n# Fully qualified device name ie\\n# www.confmon.com\\n#device None\\n#\\n# Start string in cron(8) format\\n#startat None\\n#\\n# Do not collect from devices whose collect\\n# date is within this many minutes, default: 0\\n#collage 0\\n#\\n# Number of times to try to write if a\\n# read conflict is found, default: 2\\n#writetries 2\\n#\\n# Force collection of config data (deprecated),\\n# default: True\\n#force True\\n#\\n# Time to wait for connection failures\\n# when port scanning, default: 5\\n#portscantimeout 5\\n#\\n# Start daemon now, do not sleep before\\n# starting, default: False\\n#now False\\n#\\n# If an snmp connection fails try and\\n# rediscover it's connection info, default:\\n# False\\n#communities False\\n#\\n# Don't model if the device is ping or\\n# snmp down, default: False\\n#checkstatus False\\n#\\n# Save raw results for replay purposes\\n# in /tmp, default: False\\n#save_raw_results False\\n#\\n# Save modeler plugin outputs for replay\\n# purposes in /tmp, default: False\\n#save_processed_results False\\n#\\n# Login username, default: zenoss\\n#user zenoss\\n#\\n# Login password\\n#password \\n#\\n# Number of times to attempt to login,\\n# default: 1\\n#loginTries 1\\n#\\n# Timeout period (secs) to find login\\n# expect statments, default: 10\\n#loginTimeout 10\\n#\\n# Timeout period (secs) after issuing\\n# a command, default: 10\\n#commandTimeout 10\\n#\\n# Path to use when looking for SSH keys,\\n# default: ~/.ssh/id_dsa\\n#keyPath ~/.ssh/id_dsa\\n#\\n# Allowable number of concurrent SSH sessions,\\n# default: 10\\n#concurrentSessions 10\\n#\\n# Path to use when looking for commands,\\n# default: []\\n#searchPath []\\n#\\n# How to check if a command is available\\n# or not, default: test -f %s\\n#existenceTest test -f %s\\n#\\n# Timeout when discovering prompt, default: 10\\n#promptTimeout 10\\n#\\n# Python regular expression that will\\n# find the login prompt, default: ogin:.$\\n#loginRegex ogin:.$\\n#\\n# Python regex that will find the password\\n# prompt, default: assword:\\n#passwordRegex assword:\\n#\\n# Enter 'enable' mode on a Cisco device,\\n# default: False\\n#enable False\\n#\\n# Python regex that will find the enable\\n# prompt, default: assword:\\n#enableRegex assword:\\n#\\n# Enable password\\n#enablePassword \\n#\\n# Enter 'send terminal length 0' on a\\n# Cisco device, default: False\\n#termlen False\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenmodeler.log\",\"Type\":\"zenmodeler\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zenmodeler.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zenmodeler.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enmodeler.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zenmodeler\",\"Name\":\"zenmodeler internal metrics\",\"Description\":\"zenmodeler internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"cycleTime\",\"Name\":\"Cycle Time\",\"Description\":\"Daemon collection interval\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"modeledDevices\",\"Name\":\"Modeled Devices\",\"Description\":\"Number of devices since daemon startup.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"modeledDevicesCount\",\"Name\":\"Modeled Devices Count\",\"Description\":\"Number of devices currently modeled.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"timedOut\",\"Name\":\"Timed Out\",\"Description\":\"Number of devices that have timed out during modeling.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"cycleTime\",\"name\":\"Cycle Time\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Cycle Time\",\"description\":\"Daemon collection interval.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Cycle Time\",\"metric\":\"cycleTime\",\"metricSource\":\"cycleTime\",\"id\":\"cycleTime\",\"name\":\"Cycle Time\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"modeledDevices\",\"name\":\"Modeled Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Modeled Devices\",\"description\":\"Number of devices since daemon startup.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Modeled Devices\",\"metric\":\"modeledDevices\",\"metricSource\":\"modeledDevices\",\"id\":\"modeledDevices\",\"name\":\"Modeled Devices\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"modeledDevicesCount\",\"name\":\"Modeled Devices Count\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Modeled Devices Count\",\"description\":\"Number of devices currently modeled.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Modeled Devices Count\",\"metric\":\"modeledDevicesCount\",\"metricSource\":\"modeledDevicesCount\",\"id\":\"modeledDevicesCount\",\"name\":\"Modeled Devices Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"timedOut\",\"name\":\"Timed Out\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Timed Out\",\"description\":\"Number of devices that have timed out during modeling.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Timed Out\",\"metric\":\"timedOut\",\"metricSource\":\"timedOut\",\"id\":\"timedOut\",\"name\":\"Timed Out\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenperfsnmp\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenperfsnmp run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenperfsnmp.conf\":{\"Filename\":\"/opt/zenoss/etc/zenperfsnmp.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenperfsnmp\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenperfsnmp.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 500\\n#maxparallel 500\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Max number of device configurations\\n# to load at once, default %default (0\\n# == all devices), default: 25\\n#configsipsize 25\\n#\\n# Delay in seconds between device configurations\\n# loading, default %default, default: 1\\n#configsipdelay 1\\n#\\n# Show the raw RRD values. For debugging\\n# purposes only., default: False\\n#showrawresults False\\n#\\n# Deprecated since 4.1.1. No longer used,\\n# default: 20\\n#maxbackoffminutes 20\\n#\\n# How many attempts per cycle should be\\n# made to get data for an OID from a\\n# non-responsive device. Minimum of 2,\\n# default: 2\\n#triespercycle 2\\n#\\n# How many consecutive time outs per cycle\\n# before stopping attempts to collect,\\n# default: 3\\n#maxtimeouts 3\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenperfsnmp.log\",\"Type\":\"zenperfsnmp\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zenperfsnmp.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zenperfsnmp.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enperfsnmp.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zenperfsnmp\",\"Name\":\"zenperfsnmp internal metrics\",\"Description\":\"zenperfsnmp internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventCount\",\"name\":\"Event Count\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Count\",\"description\":\"Total number of events.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Count\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenprocess\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenprocess run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenprocess.conf\":{\"Filename\":\"/opt/zenoss/etc/zenprocess.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenprocess\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenprocess.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 500\\n#maxparallel 500\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Max number of device configurations\\n# to load at once, default %default (0\\n# == all devices), default: 25\\n#configsipsize 25\\n#\\n# Delay in seconds between device configurations\\n# loading, default %default, default: 1\\n#configsipdelay 1\\n#\\n# Show the list of processes found.For\\n# debugging purposes only., default: False\\n#showprocs False\\n#\\n# Show the raw SNMP processes data returned\\n# from the device. For debugging purposes\\n# only., default: False\\n#showrawtables False\\n#\\n# Directory and filename to use as a template\\n# to store SNMP results from device.\\n#captureFilePrefix \\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenprocess.log\",\"Type\":\"zenprocess\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zenprocess.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zenprocess.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enprocess.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zenprocess\",\"Name\":\"zenprocess internal metrics\",\"Description\":\"zenprocess internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventCount\",\"name\":\"Event Count\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Count\",\"description\":\"Total number of events.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Count\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zentrap\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zentrap run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zentrap.conf\":{\"Filename\":\"/opt/zenoss/etc/zentrap.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zentrap\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zentrap.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 500\\n#maxparallel 500\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Listen for SNMP traps on this port rather\\n# than the default, default: 162\\n#trapport 162\\n#\\n# Read from an existing connection rather\\n# than opening a new port.\\n#useFileDescriptor None\\n#\\n# Directory and filename to use as a template\\n# to store captured raw trap packets.\\n#captureFilePrefix None\\n#\\n# Capture all packets., default: False\\n#captureAll False\\n#\\n# Comma-separated list of IP addresses\\n# to capture.\\n#captureIps \\n#\\n# Filename prefix containing captured\\n# packet data. Can specify more than\\n# once., default: []\\n#replayFilePrefix []\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zentrap\",\"Purpose\":\"export\",\"Protocol\":\"udp\",\"PortNumber\":162,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"snmp_trap\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":162,\"Protocol\":\"udp\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zentrap.log\",\"Type\":\"zentrap\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zentrap.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"listening\":{\"Script\":\"nmap -oG - -Pn -sU -p 162 127.0.0.01 | grep -q 162/open\",\"Interval\":10},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zentrap.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]entrap.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zentrap\",\"Name\":\"zentrap internal metrics\",\"Description\":\"zentrap internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"events\",\"Name\":\"Events\",\"Description\":\"\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"events\",\"name\":\"Events\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Events\",\"description\":\"Events\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued\",\"metric\":\"events\",\"metricSource\":\"events\",\"id\":\"events\",\"name\":\"Events\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Events\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"collectorredis\",\"Command\":\"/usr/bin/redis-server /etc/redis.conf\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/etc/redis.conf\":{\"Filename\":\"/etc/redis.conf\",\"Owner\":\"\",\"Permissions\":\"\",\"Content\":\"# Redis configuration file example\\n\\n# Note on units: when memory size is needed, it is possible to specify\\n# it in the usual form of 1k 5GB 4M and so forth:\\n#\\n# 1k =\\u003e 1000 bytes\\n# 1kb =\\u003e 1024 bytes\\n# 1m =\\u003e 1000000 bytes\\n# 1mb =\\u003e 1024*1024 bytes\\n# 1g =\\u003e 1000000000 bytes\\n# 1gb =\\u003e 1024*1024*1024 bytes\\n#\\n# units are case insensitive so 1GB 1Gb 1gB are all the same.\\n\\n# By default Redis does not run as a daemon. Use 'yes' if you need it.\\n# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.\\ndaemonize no\\n\\n# When running daemonized, Redis writes a pid file in /var/run/redis.pid by\\n# default. You can specify a custom pid file location here.\\npidfile /var/run/redis/redis.pid\\n\\n# Accept connections on the specified port, default is 6379.\\n# If port 0 is specified Redis will not listen on a TCP socket.\\nport 6379\\n\\n# If you want you can bind a single interface, if the bind option is not\\n# specified all the interfaces will listen for incoming connections.\\n#\\n# comment out bind as workaround for ZEN-10504\\n#bind 127.0.0.1\\n\\n# Specify the path for the unix socket that will be used to listen for\\n# incoming connections. There is no default, so Redis will not listen\\n# on a unix socket when not specified.\\n#\\n# unixsocket /tmp/redis.sock\\n# unixsocketperm 755\\n\\n# Close the connection after a client is idle for N seconds (0 to disable)\\ntimeout 0\\n\\n# TCP keepalive.\\n#\\n# If non-zero, use SO_KEEPALIVE to send TCP ACKs to clients in absence\\n# of communication. This is useful for two reasons:\\n#\\n# 1) Detect dead peers.\\n# 2) Take the connection alive from the point of view of network\\n# equipment in the middle.\\n#\\n# On Linux, the specified value (in seconds) is the period used to send ACKs.\\n# Note that to close the connection the double of the time is needed.\\n# On other kernels the period depends on the kernel configuration.\\n#\\n# A reasonable value for this option is 60 seconds.\\ntcp-keepalive 0\\n\\n# Specify the server verbosity level.\\n# This can be one of:\\n# debug (a lot of information, useful for development/testing)\\n# verbose (many rarely useful info, but not a mess like the debug level)\\n# notice (moderately verbose, what you want in production probably)\\n# warning (only very important / critical messages are logged)\\nloglevel notice\\n\\n# Specify the log file name. Also 'stdout' can be used to force\\n# Redis to log on the standard output. Note that if you use standard\\n# output for logging but daemonize, logs will be sent to /dev/null\\nlogfile /var/log/redis/redis.log\\n\\n# To enable logging to the system logger, just set 'syslog-enabled' to yes,\\n# and optionally update the other syslog parameters to suit your needs.\\n# syslog-enabled no\\n\\n# Specify the syslog identity.\\n# syslog-ident redis\\n\\n# Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7.\\n# syslog-facility local0\\n\\n# Set the number of databases. The default database is DB 0, you can select\\n# a different one on a per-connection basis using SELECT \\u003cdbid\\u003e where\\n# dbid is a number between 0 and 'databases'-1\\ndatabases 16\\n\\n################################ SNAPSHOTTING #################################\\n#\\n# Save the DB on disk:\\n#\\n# save \\u003cseconds\\u003e \\u003cchanges\\u003e\\n#\\n# Will save the DB if both the given number of seconds and the given\\n# number of write operations against the DB occurred.\\n#\\n# In the example below the behaviour will be to save:\\n# after 900 sec (15 min) if at least 1 key changed\\n# after 300 sec (5 min) if at least 10 keys changed\\n# after 60 sec if at least 10000 keys changed\\n#\\n# Note: you can disable saving at all commenting all the \\\"save\\\" lines.\\n#\\n# It is also possible to remove all the previously configured save\\n# points by adding a save directive with a single empty string argument\\n# like in the following example:\\n#\\n# save \\\"\\\"\\n\\nsave 900 1\\nsave 300 10\\nsave 60 10000\\n\\n# By default Redis will stop accepting writes if RDB snapshots are enabled\\n# (at least one save point) and the latest background save failed.\\n# This will make the user aware (in an hard way) that data is not persisting\\n# on disk properly, otherwise chances are that no one will notice and some\\n# distater will happen.\\n#\\n# If the background saving process will start working again Redis will\\n# automatically allow writes again.\\n#\\n# However if you have setup your proper monitoring of the Redis server\\n# and persistence, you may want to disable this feature so that Redis will\\n# continue to work as usually even if there are problems with disk,\\n# permissions, and so forth.\\nstop-writes-on-bgsave-error yes\\n\\n# Compress string objects using LZF when dump .rdb databases?\\n# For default that's set to 'yes' as it's almost always a win.\\n# If you want to save some CPU in the saving child set it to 'no' but\\n# the dataset will likely be bigger if you have compressible values or keys.\\nrdbcompression yes\\n\\n# Since version 5 of RDB a CRC64 checksum is placed at the end of the file.\\n# This makes the format more resistant to corruption but there is a performance\\n# hit to pay (around 10%) when saving and loading RDB files, so you can disable it\\n# for maximum performances.\\n#\\n# RDB files created with checksum disabled have a checksum of zero that will\\n# tell the loading code to skip the check.\\nrdbchecksum yes\\n\\n# The filename where to dump the DB\\ndbfilename dump.rdb\\n\\n# The working directory.\\n#\\n# The DB will be written inside this directory, with the filename specified\\n# above using the 'dbfilename' configuration directive.\\n# \\n# The Append Only File will also be created inside this directory.\\n# \\n# Note that you must specify a directory here, not a file name.\\ndir /var/lib/redis/\\n\\n################################# REPLICATION #################################\\n\\n# Master-Slave replication. Use slaveof to make a Redis instance a copy of\\n# another Redis server. Note that the configuration is local to the slave\\n# so for example it is possible to configure the slave to save the DB with a\\n# different interval, or to listen to another port, and so on.\\n#\\n# slaveof \\u003cmasterip\\u003e \\u003cmasterport\\u003e\\n\\n# If the master is password protected (using the \\\"requirepass\\\" configuration\\n# directive below) it is possible to tell the slave to authenticate before\\n# starting the replication synchronization process, otherwise the master will\\n# refuse the slave request.\\n#\\n# masterauth \\u003cmaster-password\\u003e\\n\\n# When a slave loses its connection with the master, or when the replication\\n# is still in progress, the slave can act in two different ways:\\n#\\n# 1) if slave-serve-stale-data is set to 'yes' (the default) the slave will\\n# still reply to client requests, possibly with out of date data, or the\\n# data set may just be empty if this is the first synchronization.\\n#\\n# 2) if slave-serve-stale-data is set to 'no' the slave will reply with\\n# an error \\\"SYNC with master in progress\\\" to all the kind of commands\\n# but to INFO and SLAVEOF.\\n#\\nslave-serve-stale-data yes\\n\\n# You can configure a slave instance to accept writes or not. Writing against\\n# a slave instance may be useful to store some ephemeral data (because data\\n# written on a slave will be easily deleted after resync with the master) but\\n# may also cause problems if clients are writing to it because of a\\n# misconfiguration.\\n#\\n# Since Redis 2.6 by default slaves are read-only.\\n#\\n# Note: read only slaves are not designed to be exposed to untrusted clients\\n# on the internet. It's just a protection layer against misuse of the instance.\\n# Still a read only slave exports by default all the administrative commands\\n# such as CONFIG, DEBUG, and so forth. To a limited extend you can improve\\n# security of read only slaves using 'rename-command' to shadow all the\\n# administrative / dangerous commands.\\nslave-read-only yes\\n\\n# Slaves send PINGs to server in a predefined interval. It's possible to change\\n# this interval with the repl_ping_slave_period option. The default value is 10\\n# seconds.\\n#\\n# repl-ping-slave-period 10\\n\\n# The following option sets a timeout for both Bulk transfer I/O timeout and\\n# master data or ping response timeout. The default value is 60 seconds.\\n#\\n# It is important to make sure that this value is greater than the value\\n# specified for repl-ping-slave-period otherwise a timeout will be detected\\n# every time there is low traffic between the master and the slave.\\n#\\n# repl-timeout 60\\n\\n# Disable TCP_NODELAY on the slave socket after SYNC?\\n#\\n# If you select \\\"yes\\\" Redis will use a smaller number of TCP packets and\\n# less bandwidth to send data to slaves. But this can add a delay for\\n# the data to appear on the slave side, up to 40 milliseconds with\\n# Linux kernels using a default configuration.\\n#\\n# If you select \\\"no\\\" the delay for data to appear on the slave side will\\n# be reduced but more bandwidth will be used for replication.\\n#\\n# By default we optimize for low latency, but in very high traffic conditions\\n# or when the master and slaves are many hops away, turning this to \\\"yes\\\" may\\n# be a good idea.\\nrepl-disable-tcp-nodelay no\\n\\n# The slave priority is an integer number published by Redis in the INFO output.\\n# It is used by Redis Sentinel in order to select a slave to promote into a\\n# master if the master is no longer working correctly.\\n#\\n# A slave with a low priority number is considered better for promotion, so\\n# for instance if there are three slaves with priority 10, 100, 25 Sentinel will\\n# pick the one wtih priority 10, that is the lowest.\\n#\\n# However a special priority of 0 marks the slave as not able to perform the\\n# role of master, so a slave with priority of 0 will never be selected by\\n# Redis Sentinel for promotion.\\n#\\n# By default the priority is 100.\\nslave-priority 100\\n\\n################################## SECURITY ###################################\\n\\n# Require clients to issue AUTH \\u003cPASSWORD\\u003e before processing any other\\n# commands. This might be useful in environments in which you do not trust\\n# others with access to the host running redis-server.\\n#\\n# This should stay commented out for backward compatibility and because most\\n# people do not need auth (e.g. they run their own servers).\\n# \\n# Warning: since Redis is pretty fast an outside user can try up to\\n# 150k passwords per second against a good box. This means that you should\\n# use a very strong password otherwise it will be very easy to break.\\n#\\n# requirepass foobared\\n\\n# Command renaming.\\n#\\n# It is possible to change the name of dangerous commands in a shared\\n# environment. For instance the CONFIG command may be renamed into something\\n# hard to guess so that it will still be available for internal-use tools\\n# but not available for general clients.\\n#\\n# Example:\\n#\\n# rename-command CONFIG b840fc02d524045429941cc15f59e41cb7be6c52\\n#\\n# It is also possible to completely kill a command by renaming it into\\n# an empty string:\\n#\\n# rename-command CONFIG \\\"\\\"\\n#\\n# Please note that changing the name of commands that are logged into the\\n# AOF file or transmitted to slaves may cause problems.\\n\\n################################### LIMITS ####################################\\n\\n# Set the max number of connected clients at the same time. By default\\n# this limit is set to 10000 clients, however if the Redis server is not\\n# able to configure the process file limit to allow for the specified limit\\n# the max number of allowed clients is set to the current file limit\\n# minus 32 (as Redis reserves a few file descriptors for internal uses).\\n#\\n# Once the limit is reached Redis will close all the new connections sending\\n# an error 'max number of clients reached'.\\n#\\n# maxclients 10000\\n\\n# Don't use more memory than the specified amount of bytes.\\n# When the memory limit is reached Redis will try to remove keys\\n# accordingly to the eviction policy selected (see maxmemmory-policy).\\n#\\n# If Redis can't remove keys according to the policy, or if the policy is\\n# set to 'noeviction', Redis will start to reply with errors to commands\\n# that would use more memory, like SET, LPUSH, and so on, and will continue\\n# to reply to read-only commands like GET.\\n#\\n# This option is usually useful when using Redis as an LRU cache, or to set\\n# an hard memory limit for an instance (using the 'noeviction' policy).\\n#\\n# WARNING: If you have slaves attached to an instance with maxmemory on,\\n# the size of the output buffers needed to feed the slaves are subtracted\\n# from the used memory count, so that network problems / resyncs will\\n# not trigger a loop where keys are evicted, and in turn the output\\n# buffer of slaves is full with DELs of keys evicted triggering the deletion\\n# of more keys, and so forth until the database is completely emptied.\\n#\\n# In short... if you have slaves attached it is suggested that you set a lower\\n# limit for maxmemory so that there is some free RAM on the system for slave\\n# output buffers (but this is not needed if the policy is 'noeviction').\\n#\\nmaxmemory 1gb\\n\\n# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory\\n# is reached. You can select among five behaviors:\\n# \\n# volatile-lru -\\u003e remove the key with an expire set using an LRU algorithm\\n# allkeys-lru -\\u003e remove any key accordingly to the LRU algorithm\\n# volatile-random -\\u003e remove a random key with an expire set\\n# allkeys-random -\\u003e remove a random key, any key\\n# volatile-ttl -\\u003e remove the key with the nearest expire time (minor TTL)\\n# noeviction -\\u003e don't expire at all, just return an error on write operations\\n# \\n# Note: with any of the above policies, Redis will return an error on write\\n# operations, when there are not suitable keys for eviction.\\n#\\n# At the date of writing this commands are: set setnx setex append\\n# incr decr rpush lpush rpushx lpushx linsert lset rpoplpush sadd\\n# sinter sinterstore sunion sunionstore sdiff sdiffstore zadd zincrby\\n# zunionstore zinterstore hset hsetnx hmset hincrby incrby decrby\\n# getset mset msetnx exec sort\\n#\\n# The default is:\\n#\\n# maxmemory-policy volatile-lru\\n\\n# LRU and minimal TTL algorithms are not precise algorithms but approximated\\n# algorithms (in order to save memory), so you can select as well the sample\\n# size to check. For instance for default Redis will check three keys and\\n# pick the one that was used less recently, you can change the sample size\\n# using the following configuration directive.\\n#\\n# maxmemory-samples 3\\n\\n############################## APPEND ONLY MODE ###############################\\n\\n# By default Redis asynchronously dumps the dataset on disk. This mode is\\n# good enough in many applications, but an issue with the Redis process or\\n# a power outage may result into a few minutes of writes lost (depending on\\n# the configured save points).\\n#\\n# The Append Only File is an alternative persistence mode that provides\\n# much better durability. For instance using the default data fsync policy\\n# (see later in the config file) Redis can lose just one second of writes in a\\n# dramatic event like a server power outage, or a single write if something\\n# wrong with the Redis process itself happens, but the operating system is\\n# still running correctly.\\n#\\n# AOF and RDB persistence can be enabled at the same time without problems.\\n# If the AOF is enabled on startup Redis will load the AOF, that is the file\\n# with the better durability guarantees.\\n#\\n# Please check http://redis.io/topics/persistence for more information.\\n\\nappendonly no\\n\\n# The name of the append only file (default: \\\"appendonly.aof\\\")\\n# appendfilename appendonly.aof\\n\\n# The fsync() call tells the Operating System to actually write data on disk\\n# instead to wait for more data in the output buffer. Some OS will really flush \\n# data on disk, some other OS will just try to do it ASAP.\\n#\\n# Redis supports three different modes:\\n#\\n# no: don't fsync, just let the OS flush the data when it wants. Faster.\\n# always: fsync after every write to the append only log . Slow, Safest.\\n# everysec: fsync only one time every second. Compromise.\\n#\\n# The default is \\\"everysec\\\", as that's usually the right compromise between\\n# speed and data safety. It's up to you to understand if you can relax this to\\n# \\\"no\\\" that will let the operating system flush the output buffer when\\n# it wants, for better performances (but if you can live with the idea of\\n# some data loss consider the default persistence mode that's snapshotting),\\n# or on the contrary, use \\\"always\\\" that's very slow but a bit safer than\\n# everysec.\\n#\\n# More details please check the following article:\\n# http://antirez.com/post/redis-persistence-demystified.html\\n#\\n# If unsure, use \\\"everysec\\\".\\n\\n# appendfsync always\\nappendfsync everysec\\n# appendfsync no\\n\\n# When the AOF fsync policy is set to always or everysec, and a background\\n# saving process (a background save or AOF log background rewriting) is\\n# performing a lot of I/O against the disk, in some Linux configurations\\n# Redis may block too long on the fsync() call. Note that there is no fix for\\n# this currently, as even performing fsync in a different thread will block\\n# our synchronous write(2) call.\\n#\\n# In order to mitigate this problem it's possible to use the following option\\n# that will prevent fsync() from being called in the main process while a\\n# BGSAVE or BGREWRITEAOF is in progress.\\n#\\n# This means that while another child is saving, the durability of Redis is\\n# the same as \\\"appendfsync none\\\". In practical terms, this means that it is\\n# possible to lose up to 30 seconds of log in the worst scenario (with the\\n# default Linux settings).\\n# \\n# If you have latency problems turn this to \\\"yes\\\". Otherwise leave it as\\n# \\\"no\\\" that is the safest pick from the point of view of durability.\\nno-appendfsync-on-rewrite no\\n\\n# Automatic rewrite of the append only file.\\n# Redis is able to automatically rewrite the log file implicitly calling\\n# BGREWRITEAOF when the AOF log size grows by the specified percentage.\\n# \\n# This is how it works: Redis remembers the size of the AOF file after the\\n# latest rewrite (if no rewrite has happened since the restart, the size of\\n# the AOF at startup is used).\\n#\\n# This base size is compared to the current size. If the current size is\\n# bigger than the specified percentage, the rewrite is triggered. Also\\n# you need to specify a minimal size for the AOF file to be rewritten, this\\n# is useful to avoid rewriting the AOF file even if the percentage increase\\n# is reached but it is still pretty small.\\n#\\n# Specify a percentage of zero in order to disable the automatic AOF\\n# rewrite feature.\\n\\nauto-aof-rewrite-percentage 100\\nauto-aof-rewrite-min-size 64mb\\n\\n################################ LUA SCRIPTING ###############################\\n\\n# Max execution time of a Lua script in milliseconds.\\n#\\n# If the maximum execution time is reached Redis will log that a script is\\n# still in execution after the maximum allowed time and will start to\\n# reply to queries with an error.\\n#\\n# When a long running script exceed the maximum execution time only the\\n# SCRIPT KILL and SHUTDOWN NOSAVE commands are available. The first can be\\n# used to stop a script that did not yet called write commands. The second\\n# is the only way to shut down the server in the case a write commands was\\n# already issue by the script but the user don't want to wait for the natural\\n# termination of the script.\\n#\\n# Set it to 0 or a negative value for unlimited execution without warnings.\\nlua-time-limit 5000\\n\\n################################## SLOW LOG ###################################\\n\\n# The Redis Slow Log is a system to log queries that exceeded a specified\\n# execution time. The execution time does not include the I/O operations\\n# like talking with the client, sending the reply and so forth,\\n# but just the time needed to actually execute the command (this is the only\\n# stage of command execution where the thread is blocked and can not serve\\n# other requests in the meantime).\\n# \\n# You can configure the slow log with two parameters: one tells Redis\\n# what is the execution time, in microseconds, to exceed in order for the\\n# command to get logged, and the other parameter is the length of the\\n# slow log. When a new command is logged the oldest one is removed from the\\n# queue of logged commands.\\n\\n# The following time is expressed in microseconds, so 1000000 is equivalent\\n# to one second. Note that a negative number disables the slow log, while\\n# a value of zero forces the logging of every command.\\nslowlog-log-slower-than 10000\\n\\n# There is no limit to this length. Just be aware that it will consume memory.\\n# You can reclaim memory used by the slow log with SLOWLOG RESET.\\nslowlog-max-len 128\\n\\n############################### ADVANCED CONFIG ###############################\\n\\n# Hashes are encoded using a memory efficient data structure when they have a\\n# small number of entries, and the biggest entry does not exceed a given\\n# threshold. These thresholds can be configured using the following directives.\\nhash-max-ziplist-entries 512\\nhash-max-ziplist-value 64\\n\\n# Similarly to hashes, small lists are also encoded in a special way in order\\n# to save a lot of space. The special representation is only used when\\n# you are under the following limits:\\nlist-max-ziplist-entries 512\\nlist-max-ziplist-value 64\\n\\n# Sets have a special encoding in just one case: when a set is composed\\n# of just strings that happens to be integers in radix 10 in the range\\n# of 64 bit signed integers.\\n# The following configuration setting sets the limit in the size of the\\n# set in order to use this special memory saving encoding.\\nset-max-intset-entries 512\\n\\n# Similarly to hashes and lists, sorted sets are also specially encoded in\\n# order to save a lot of space. This encoding is only used when the length and\\n# elements of a sorted set are below the following limits:\\nzset-max-ziplist-entries 128\\nzset-max-ziplist-value 64\\n\\n# Active rehashing uses 1 millisecond every 100 milliseconds of CPU time in\\n# order to help rehashing the main Redis hash table (the one mapping top-level\\n# keys to values). The hash table implementation Redis uses (see dict.c)\\n# performs a lazy rehashing: the more operation you run into an hash table\\n# that is rehashing, the more rehashing \\\"steps\\\" are performed, so if the\\n# server is idle the rehashing is never complete and some more memory is used\\n# by the hash table.\\n# \\n# The default is to use this millisecond 10 times every second in order to\\n# active rehashing the main dictionaries, freeing memory when possible.\\n#\\n# If unsure:\\n# use \\\"activerehashing no\\\" if you have hard latency requirements and it is\\n# not a good thing in your environment that Redis can reply form time to time\\n# to queries with 2 milliseconds delay.\\n#\\n# use \\\"activerehashing yes\\\" if you don't have such hard requirements but\\n# want to free memory asap when possible.\\nactiverehashing yes\\n\\n# The client output buffer limits can be used to force disconnection of clients\\n# that are not reading data from the server fast enough for some reason (a\\n# common reason is that a Pub/Sub client can't consume messages as fast as the\\n# publisher can produce them).\\n#\\n# The limit can be set differently for the three different classes of clients:\\n#\\n# normal -\\u003e normal clients\\n# slave -\\u003e slave clients and MONITOR clients\\n# pubsub -\\u003e clients subcribed to at least one pubsub channel or pattern\\n#\\n# The syntax of every client-output-buffer-limit directive is the following:\\n#\\n# client-output-buffer-limit \\u003cclass\\u003e \\u003chard limit\\u003e \\u003csoft limit\\u003e \\u003csoft seconds\\u003e\\n#\\n# A client is immediately disconnected once the hard limit is reached, or if\\n# the soft limit is reached and remains reached for the specified number of\\n# seconds (continuously).\\n# So for instance if the hard limit is 32 megabytes and the soft limit is\\n# 16 megabytes / 10 seconds, the client will get disconnected immediately\\n# if the size of the output buffers reach 32 megabytes, but will also get\\n# disconnected if the client reaches 16 megabytes and continuously overcomes\\n# the limit for 10 seconds.\\n#\\n# By default normal clients are not limited because they don't receive data\\n# without asking (in a push way), but just after a request, so only\\n# asynchronous clients may create a scenario where data is requested faster\\n# than it can read.\\n#\\n# Instead there is a default limit for pubsub and slave clients, since\\n# subscribers and slaves receive data in a push fashion.\\n#\\n# Both the hard or the soft limit can be disabled by setting them to zero.\\nclient-output-buffer-limit normal 0 0 0\\nclient-output-buffer-limit slave 256mb 64mb 60\\nclient-output-buffer-limit pubsub 32mb 8mb 60\\n\\n# Redis calls an internal function to perform many background tasks, like\\n# closing connections of clients in timeot, purging expired keys that are\\n# never requested, and so forth.\\n#\\n# Not all tasks are perforemd with the same frequency, but Redis checks for\\n# tasks to perform accordingly to the specified \\\"hz\\\" value.\\n#\\n# By default \\\"hz\\\" is set to 10. Raising the value will use more CPU when\\n# Redis is idle, but at the same time will make Redis more responsive when\\n# there are many keys expiring at the same time, and timeouts may be\\n# handled with more precision.\\n#\\n# The range is between 1 and 500, however a value over 100 is usually not\\n# a good idea. Most users should use the default of 10 and raise this up to\\n# 100 only in environments where very low latency is required.\\nhz 10\\n\\n# When a child rewrites the AOF file, if the following option is enabled\\n# the file will be fsync-ed every 32 MB of data generated. This is useful\\n# in order to commit the file to the disk more incrementally and avoid\\n# big latency spikes.\\naof-rewrite-incremental-fsync yes\\n\\n################################## INCLUDES ###################################\\n\\n# Include one or more other config files here. This is useful if you\\n# have a standard template that goes to all Redis server but also need\\n# to customize a few per-server settings. Include files can include\\n# other files, so use this wisely.\\n#\\n# include /path/to/local.conf\\n# include /path/to/other.conf\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"CollectorRedis\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/var/log/redis/redis.log\",\"Type\":\"redis\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":1073741824,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zencommand\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zencommand run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zencommand.conf\":{\"Filename\":\"/opt/zenoss/etc/zencommand.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zencommand\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zencommand.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 50\\n#maxparallel 50\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Max number of device configurations\\n# to load at once, default %default (0\\n# == all devices), default: 25\\n#configsipsize 25\\n#\\n# Delay in seconds between device configurations\\n# loading, default %default, default: 1\\n#configsipdelay 1\\n#\\n# Show the raw RRD values. For debugging\\n# purposes only., default: False\\n#showrawresults False\\n#\\n# When a device fails to respond, increase\\n# the time to check on the device until\\n# this limit., default: 20\\n#maxbackoffminutes 20\\n#\\n# Display the entire command and command-line\\n# arguments, including any passwords.,\\n# default: False\\n#showfullcommand False\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zencommand.log\",\"Type\":\"zencommand\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zencommand.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zencommand.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]encommand.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zencommand\",\"Name\":\"zencommand internal metrics\",\"Description\":\"zencommand internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventCount\",\"name\":\"Event Count\",\"footer\":false,\"format\":\"%.3f\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Count\",\"description\":\"Total number of events.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%.3f\",\"legend\":\"Event Count\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%.3f\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%.3f\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenping\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenping run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenping.conf\":{\"Filename\":\"/opt/zenoss/etc/zenping.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenping\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenping.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 500\\n#maxparallel 500\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Max number of device configurations\\n# to load at once, default %default (0\\n# == all devices), default: 25\\n#configsipsize 25\\n#\\n# Delay in seconds between device configurations\\n# loading, default %default, default: 1\\n#configsipdelay 1\\n#\\n# Disable the correlator., default: True\\n#disable-correlator True\\n#\\n# Traceroute every N ping intervals; default\\n# is 5, traceroute every time a ping\\n# is performed., default: 5\\n#traceroute-interval 5\\n#\\n# Length of datapacket for zenping to\\n# use (default: %default), default: 0\\n#data-length 0\\n#\\n# Delay down events until more than this\\n# many ping downs are collected in a\\n# row. Default is 0 (no delay)., default: 0\\n#delay-count 0\\n#\\n# Use ip's connected to a device for ping\\n# correlation (default: %default), default:\\n# disabled\\n#connected-ips disabled\\n#\\n# ping backend to use (nmap, ping) default:\\n# %default, default: nmap\\n#ping-backend nmap\\n#\\n# Correlationbackend to use (simple, distributed)\\n# default: %default, default: distributed\\n#correlation-backend distributed\\n#\\n# Suppress ping downs using interfaces\\n# on a device whose IPs may not be monitored,\\n# default: False\\n#connected-ip-suppress False\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenping.log\",\"Type\":\"zenping\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zenping.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zenping.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enping.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zenping\",\"Name\":\"zenping internal metrics\",\"Description\":\"zenping internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventCount\",\"name\":\"Event Count\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Count\",\"description\":\"Total number of events.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Count\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenpython\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenpython run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenpython.conf\":{\"Filename\":\"/opt/zenoss/etc/zenpython.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenpython\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenpython.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 500\\n#maxparallel 500\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Max number of device configurations\\n# to load at once, default %default (0\\n# == all devices), default: 25\\n#configsipsize 25\\n#\\n# Delay in seconds between device configurations\\n# loading, default %default, default: 1\\n#configsipdelay 1\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zproxy\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zproxy\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenpython.log\",\"Type\":\"zenpython\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zenpython.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zenpython.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enpython.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10},\"zproxy_answering\":{\"Script\":\"curl -f -s http://localhost:8080/ \\u003e /dev/null\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zenpython\",\"Name\":\"zenpython internal metrics\",\"Description\":\"zenpython internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventCount\",\"name\":\"Event Count\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Count\",\"description\":\"Total number of events.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Count\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenstatus\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenstatus run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenstatus.conf\":{\"Filename\":\"/opt/zenoss/etc/zenstatus.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenstatus\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenstatus.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 500\\n#maxparallel 500\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Max number of device configurations\\n# to load at once, default %default (0\\n# == all devices), default: 25\\n#configsipsize 25\\n#\\n# Delay in seconds between device configurations\\n# loading, default %default, default: 1\\n#configsipdelay 1\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenstatus.log\",\"Type\":\"zenstatus\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zenstatus.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zenstatus.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enstatus.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zenstatus\",\"Name\":\"zenstatus internal metrics\",\"Description\":\"zenstatus internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventCount\",\"name\":\"Event Count\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Count\",\"description\":\"Total number of events.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Count\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zensyslog\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zensyslog run -c --duallog --monitor {{(parent .).Name}} \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"collector\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":1},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zensyslog.conf\":{\"Filename\":\"/opt/zenoss/etc/zensyslog.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zensyslog\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Maximum number of collection worker\\n# processes, default: 1\\n#workers 1\\n#\\n# Target number of devices per worker,\\n# default: 0\\n#devicesPerWorker 0\\n#\\n# Host of zenhub daemon. Default is localhost.,\\n# default: localhost\\n#hubhost localhost\\n#\\n# Port zenhub listens on.Default is 8789.,\\n# default: 8789\\n#hubport 8789\\n#\\n# Username for zenhub login. Default is\\n# admin., default: admin\\n#hubusername admin\\n#\\n# Password for zenhub login. Default is\\n# zenoss., default: zenoss\\n#hubpassword zenoss\\n#\\n# Name of monitor instance to use for\\n# configuration. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# Initial time to wait for a ZenHub connection,\\n# default: 30\\n#initialHubTimeout 30\\n#\\n# Send clear events even when the most\\n# recent event was also a clear event.,\\n# default: False\\n#allowduplicateclears False\\n#\\n# Send a clear event every [DUPLICATECLEARINTEVAL]\\n# events., default: 0\\n#duplicateclearinterval 0\\n#\\n# Seconds between attempts to flush events\\n# to ZenHub., default: 5.0\\n#eventflushseconds 5.0\\n#\\n# Number of events to send to ZenHubat\\n# one time, default: 50\\n#eventflushchunksize 50\\n#\\n# Maximum number of events to queue, default:\\n# 5000\\n#maxqueuelen 5000\\n#\\n# How often to ping zenhub, default: 30\\n#zenhubpinginterval 30\\n#\\n# Disable event de-duplication, default: True\\n#disable-event-deduplication True\\n#\\n# redis connection string: redis://[hostname]:[port]/[db],\\n# default: %default, default:\\n# redis://localhost:6379/0\\n#redis-url redis://localhost:6379/0\\n#\\n# Number of metrics to buffer if redis\\n# goes down, default: 65536\\n#metricBufferSize 65536\\n#\\n# redis channel to which metrics are published,\\n# default: metrics\\n#metricsChannel metrics\\n#\\n# redis channel to which internal metrics\\n# are published, default: internal-metrics\\n#internalMetricsChannel internal-metrics\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zensyslog.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Specify a device ID to monitor\\n#device \\n#\\n# Max number of tasks to run at once,\\n# default %default, default: 500\\n#maxparallel 500\\n#\\n# How often to logs statistics of current\\n# tasks, value in seconds; very verbose,\\n# default: 0\\n#logTaskStats 0\\n#\\n# How often to write internal statistics\\n# value in seconds, default: 60\\n#writeStatistics 60\\n#\\n# Try to parse the hostname part of a\\n# syslog HEADER, default: False\\n#parsehost False\\n#\\n# Print statistics to log every 2 secs,\\n# default: False\\n#stats False\\n#\\n# Log the original message, default: False\\n#logorig False\\n#\\n# Human-readable (/var/log/messages) or\\n# raw (wire), default: human\\n#logformat human\\n#\\n# Minimum priority message that zensyslog\\n# will accept, default: 6\\n#minpriority 6\\n#\\n# Port number to use for syslog events,\\n# default: 514\\n#syslogport 514\\n#\\n# IP address to listen on. Default is\\n# %default, default: 0.0.0.0\\n#listenip 0.0.0.0\\n#\\n# Read from an existing connection rather\\n# opening a new port.\\n#useFileDescriptor None\\n#\\n# Don't convert the remote device's IP\\n# address to a hostname., default: False\\n#noreverseLookup False\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent (parent .)).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"syslog\",\"Purpose\":\"export\",\"Protocol\":\"udp\",\"PortNumber\":514,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"syslog\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":514,\"Protocol\":\"udp\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zensyslog.log\",\"Type\":\"zensyslog\",\"Filters\":[\"pythondaemon\"],\"LogTags\":[{\"Name\":\"monitor\",\"Value\":\"{{(parent .).Name}}\"}]}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zensyslog.log | egrep -i -m 1 'attempting to connect to zenhub|no event service|zenhub is down|zenhub may be disconnected|Connected to ZenHub' | [ $(grep -c -v 'Connected to ZenHub') -eq 0 ]\",\"Interval\":1},\"listening\":{\"Script\":\"nmap -oG - -Pn -sU -p 514 127.0.0.01 | grep -q 514/open\",\"Interval\":10},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zensyslog.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 6 ]; else false; fi\",\"Interval\":1},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]ensyslog.py\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"zensyslog\",\"Name\":\"zensyslog internal metrics\",\"Description\":\"zensyslog internal metrics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"dataPoints\",\"Name\":\"Datapoints\",\"Description\":\"Number of datapoints collected.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"devices\",\"Name\":\"Devices\",\"Description\":\"Number of devices.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventCount\",\"Name\":\"Event Count\",\"Description\":\"Total number of events.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"eventQueueLength\",\"Name\":\"Event Queue Length\",\"Description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"missedRuns\",\"Name\":\"Missed Runs\",\"Description\":\"Number of missed runs of tasks running on daemon.\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"queuedTasks\",\"Name\":\"Queued Tasks\",\"Description\":\"Number of tasks scheduled to be run, but are not running yet.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"runningTasks\",\"Name\":\"Running Tasks\",\"Description\":\"Number of currently running tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"taskCount\",\"Name\":\"Task Count\",\"Description\":\"Total number of tasks.\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"events\",\"Name\":\"Events\",\"Description\":\"\",\"Counter\":true,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":[{\"id\":\"dataPoints\",\"name\":\"Data Points\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Data Points\",\"description\":\"Number of datapoints collected.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Data Points\",\"metric\":\"dataPoints\",\"metricSource\":\"dataPoints\",\"id\":\"dataPoints\",\"name\":\"Data Points\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"devices\",\"name\":\"Devices\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Devices\",\"description\":\"Number of devices.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Devices\",\"metric\":\"devices\",\"metricSource\":\"devices\",\"id\":\"devices\",\"name\":\"Devices\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"events\",\"name\":\"Events\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Events\",\"description\":\"Events\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued\",\"metric\":\"events\",\"metricSource\":\"events\",\"id\":\"events\",\"name\":\"Events\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Events\",\"metric\":\"eventCount\",\"metricSource\":\"eventCount\",\"id\":\"eventCount\",\"name\":\"Event Count\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Event Queue Length\",\"description\":\"The number of events pending to be flushed from a daemon's memory queue.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Event Queue Length\",\"metric\":\"eventQueueLength\",\"metricSource\":\"eventQueueLength\",\"id\":\"eventQueueLength\",\"name\":\"Event Queue Length\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"Missed Runs\",\"description\":\"Number of missed runs of tasks running on daemon.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Missed Runs\",\"metric\":\"missedRuns\",\"metricSource\":\"missedRuns\",\"id\":\"missedRuns\",\"name\":\"Missed Runs\",\"rate\":true,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false},{\"id\":\"tasks\",\"name\":\"Tasks\",\"footer\":false,\"format\":\"%d\",\"returnset\":\"EXACT\",\"type\":\"line\",\"tags\":null,\"miny\":null,\"maxy\":null,\"yAxisLabel\":\"\",\"description\":\"Number of queued, running, and total tasks.\",\"range\":{\"start\":\"1h-ago\",\"end\":\"0s-ago\"},\"datapoints\":[{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Queued Tasks\",\"metric\":\"queuedTasks\",\"metricSource\":\"queuedTasks\",\"id\":\"queuedTasks\",\"name\":\"Queued Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Running Tasks\",\"metric\":\"runningTasks\",\"metricSource\":\"runningTasks\",\"id\":\"runningTasks\",\"name\":\"Running Tasks\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"},{\"aggregator\":\"avg\",\"color\":\"\",\"expression\":\"\",\"fill\":false,\"format\":\"%d\",\"legend\":\"Task Count\",\"metric\":\"taskCount\",\"metricSource\":\"taskCount\",\"id\":\"taskCount\",\"name\":\"Task Count\",\"rate\":false,\"rateOptions\":null,\"type\":\"line\"}],\"builtin\":false}],\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"}],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":null,\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":null,\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenhub\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenhub run -c --duallog --monitor {{(parent .).Name}}\\\"\",\"Description\":\"\",\"Tags\":[\"daemon\",\"hub\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenhub.conf\":{\"Filename\":\"/opt/zenoss/etc/zenhub.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenhub\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenhub.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Port to use for XML-based Remote Procedure\\n# Calls (RPC), default: 8081\\n#xmlrpcport 8081\\n#\\n# Port to use for Twisted's pb service,\\n# default: 8789\\n#pbport 8789\\n#\\n# File where passwords are stored, default:\\n# /opt/zenoss/etc/hubpasswd\\n#passwd /opt/zenoss/etc/hubpasswd\\n#\\n# Name of the distributed monitor this\\n# hub runs on, default: localhost\\n#monitor localhost\\n#\\n# Number of worker instances to handle\\n# requests, default: 2\\n#workers 2\\n#\\n# Relative process priority for hub workers\\n# (%default), default: 5\\n#hubworker-priority 5\\n#\\n# Run higher priority jobs before lower\\n# priority ones, default: False\\n#prioritize False\\n#\\n# Allow any priority job to run on any\\n# worker, default: False\\n#anyworker False\\n#\\n# Number of worker instances to reserve\\n# for handling events, default: 1\\n#workers-reserved-for-events 1\\n#\\n# Maximum number of remote calls a worker\\n# can run before restarting, default: 200\\n#worker-call-limit 200\\n#\\n# Interval at which to poll invalidations\\n# (default: %default), default: 30\\n#invalidation-poll-interval 30\\n#\\n# URL for posting internal metrics (default:\\n# %default), default:\\n# http://localhost:8080/api/metrics/store\\n#metrics-store-url http://localhost:8080/api/metrics/store\\n#\\n# Username to use when publishing to metric\\n# consumer. Default is %default, default:\\n# zenoss_system\\n#zauth-username zenoss_system\\n#\\n# Password to use when publishing to metric\\n# consumer. Default is %default, default:\\n# u7GLLc\\n#zauth-password u7GLLc\\n#\\n# Number of workers dedicated to processing\\n# invalidations, default: 1\\n#invalidationworkers 1\\n#\\n# The relative process priority of invalidation\\n# workers (%default), default: 10\\n#invalidationworker-priority 10\\n#\\n# Number of invalidations each worker\\n# will deal with at a time, default: 100\\n#invalidationchunksize 100\\n#\\n# Number of invalidations to process before\\n# shutting down, default: 5000\\n#invalidationlimit 5000\\n#\\n# Optional override of the hub's identifier\\n# (defaults to 'host:port'). A 'random'\\n# setting changes the identifier on every\\n# startup; set in HA scenarios.\\n#identifier None\\n#\\n# Use memcache to reduce the number of\\n# collector updates, default: True\\n#no-memcache True\\n#\\n# Minimum period to delay configuration\\n# updates for batching, default: 30\\n#min-update-delay-seconds 30\\n#\\n# Maximum period to delay configuration\\n# updates, default: 300\\n#max-update-delay-seconds 300\\n#\\n# Period to delay configuration deletions\\n# for batching, default: 30\\n#delete-delay-seconds 30\\n#\\n# The maximum number of unacknowledged\\n# messages that will be delivered to\\n# the invalidations consumer., default: 1000\\n#invalidation-prefetch-count 1000\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n# root object for data load (i.e. /zport/dmd),\\n# default: /zport/dmd\\n#zodb-dataroot /zport/dmd\\n#\\n# in memory cachesize default: 1000, default:\\n# 1000\\n#zodb-cachesize 1000\\n#\\n# hostname of the MySQL server for ZODB,\\n# default: 127.0.0.1\\n#zodb-host 127.0.0.1\\n#\\n# port of the MySQL server for ZODB, default:\\n# 3306\\n#zodb-port 3306\\n#\\n# user of the MySQL server for ZODB, default:\\n# zenoss\\n#zodb-user zenoss\\n#\\n# password of the MySQL server for ZODB,\\n# default: zenoss\\n#zodb-password zenoss\\n#\\n# Name of database for MySQL object store,\\n# default: zodb\\n#zodb-db zodb\\n#\\n# Name of socket file for MySQL server\\n# connection if host is localhost\\n#zodb-socket None\\n#\\n# memcached servers to use for object\\n# cache (eg. 127.0.0.1:11211), default:\\n# 127.0.0.1:11211\\n#zodb-cacheservers 127.0.0.1:11211\\n#\\n# Defer polling the database for the specified\\n# maximum time interval, in seconds.\\n# This will default to 60 only if --zodb-cacheservers\\n# is set.\\n#zodb-poll-interval None\\n#\\n# Specify the number of seconds a database\\n# connection will wait to acquire a database\\n# 'commit' lock before failing (defaults\\n# to 30 seconds if not specified)., default:\\n# 30\\n#zodb-commit-lock-timeout 30\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"mysql\",\"Purpose\":\"import\",\"Protocol\":\"\",\"PortNumber\":0,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zodb_.*\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"memcached\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":11211,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"memcached\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"CollectorRedis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"rabbitmq\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":5672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zep\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8084,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zep\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zenhub\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zenhub_rpc\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":8081,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"{{(parent .).Name}}_zenhubXMLRpc\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zproxy\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zproxy\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenhub.log\",\"Type\":\"zenhub\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 1' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":1},\"mysql_answering\":{\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\",\"Interval\":10},\"rabbit_answering\":{\"Script\":\"curl -s http://localhost:5672/ | grep -q AMQP\",\"Interval\":10},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"rpc_listening\":{\"Script\":\"nmap -oG - -Pn -sS -p 8081 127.0.0.1 | grep -q 8081/open\",\"Interval\":10},\"running\":{\"Script\":\"ps ax | grep -q [z]enhub.py\",\"Interval\":1},\"stable_workers\":{\"Script\":\"ps -eo uname,pid,etime | [ $(egrep -c '^zenoss .* 00:0[01]') -eq 0 ]\",\"Interval\":1},\"workers_running\":{\"Script\":\"ps ax | grep -q [z]enhubworker.py\",\"Interval\":1},\"zep_answering\":{\"Script\":\"curl -f -s http://localhost:8084/zeneventserver/api/1.0/heartbeats/ | grep -q '^{\\\"heartbeats\\\":'\",\"Interval\":10},\"zproxy_answering\":{\"Script\":\"curl -f -s http://localhost:8080/ \\u003e /dev/null\",\"Interval\":10}},\"Prereqs\":[{\"Name\":\"MySQL connectivity\",\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"}],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":null,\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":null,\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"opentsdb\",\"Command\":\"/opt/opentsdb/start-opentsdb.sh {{with $zks := (child (child (parent .) \\\"HBase\\\") \\\"ZooKeeper\\\").Instances }}{{ range (each $zks) }}localhost:{{plus 2181 .}}{{if ne (plus 1 .) $zks}},{{end}}{{end}}{{end}}\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/opentsdb:v2\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":[{\"Name\":\"opentsdb-reader\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":4242,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"opentsdb-reader\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":[\"opentsdb\"]},{\"Name\":\"opentsdb-writer\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":4242,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"opentsdb-writer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zookeeper-client\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":2181,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zookeeper-client\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"hbase-master-1\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":60000,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"hbase-master-1\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"hbase-regionserver\",\"Purpose\":\"import_all\",\"Protocol\":\"tcp\",\"PortNumber\":60200,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"hbase-regionserver\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/opentsdb.log\",\"Type\":\"opentsdb-reader\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"wget --timeout=3 --tries=1 -q http://localhost:4242/api/stats\",\"Interval\":5}},\"Prereqs\":[{\"Name\":\"HBase Regionservers up\",\"Script\":\"{{with $rss := (child (child (parent .) \\\"HBase\\\") \\\"RegionServer\\\").Instances }}{{ range (each $rss) }}echo foo | nc -q1 localhost {{plus 60200 .}} | grep 4org {{if ne (plus 1 .) $rss}}\\u0026\\u0026 {{end}}{{end}}{{end}}\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"redis\",\"Command\":\"/usr/bin/redis-server /etc/redis.conf\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/etc/redis.conf\":{\"Filename\":\"/etc/redis.conf\",\"Owner\":\"\",\"Permissions\":\"\",\"Content\":\"# Redis configuration file example\\n\\n# Note on units: when memory size is needed, it is possible to specify\\n# it in the usual form of 1k 5GB 4M and so forth:\\n#\\n# 1k =\\u003e 1000 bytes\\n# 1kb =\\u003e 1024 bytes\\n# 1m =\\u003e 1000000 bytes\\n# 1mb =\\u003e 1024*1024 bytes\\n# 1g =\\u003e 1000000000 bytes\\n# 1gb =\\u003e 1024*1024*1024 bytes\\n#\\n# units are case insensitive so 1GB 1Gb 1gB are all the same.\\n\\n# By default Redis does not run as a daemon. Use 'yes' if you need it.\\n# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.\\ndaemonize no\\n\\n# When running daemonized, Redis writes a pid file in /var/run/redis.pid by\\n# default. You can specify a custom pid file location here.\\npidfile /var/run/redis/redis.pid\\n\\n# Accept connections on the specified port, default is 6379.\\n# If port 0 is specified Redis will not listen on a TCP socket.\\nport 6379\\n\\n# If you want you can bind a single interface, if the bind option is not\\n# specified all the interfaces will listen for incoming connections.\\n#\\n# comment out bind as workaround for ZEN-10504\\n#bind 127.0.0.1\\n\\n# Specify the path for the unix socket that will be used to listen for\\n# incoming connections. There is no default, so Redis will not listen\\n# on a unix socket when not specified.\\n#\\n# unixsocket /tmp/redis.sock\\n# unixsocketperm 755\\n\\n# Close the connection after a client is idle for N seconds (0 to disable)\\ntimeout 0\\n\\n# TCP keepalive.\\n#\\n# If non-zero, use SO_KEEPALIVE to send TCP ACKs to clients in absence\\n# of communication. This is useful for two reasons:\\n#\\n# 1) Detect dead peers.\\n# 2) Take the connection alive from the point of view of network\\n# equipment in the middle.\\n#\\n# On Linux, the specified value (in seconds) is the period used to send ACKs.\\n# Note that to close the connection the double of the time is needed.\\n# On other kernels the period depends on the kernel configuration.\\n#\\n# A reasonable value for this option is 60 seconds.\\ntcp-keepalive 0\\n\\n# Specify the server verbosity level.\\n# This can be one of:\\n# debug (a lot of information, useful for development/testing)\\n# verbose (many rarely useful info, but not a mess like the debug level)\\n# notice (moderately verbose, what you want in production probably)\\n# warning (only very important / critical messages are logged)\\nloglevel notice\\n\\n# Specify the log file name. Also 'stdout' can be used to force\\n# Redis to log on the standard output. Note that if you use standard\\n# output for logging but daemonize, logs will be sent to /dev/null\\nlogfile /var/log/redis/redis.log\\n\\n# To enable logging to the system logger, just set 'syslog-enabled' to yes,\\n# and optionally update the other syslog parameters to suit your needs.\\n# syslog-enabled no\\n\\n# Specify the syslog identity.\\n# syslog-ident redis\\n\\n# Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7.\\n# syslog-facility local0\\n\\n# Set the number of databases. The default database is DB 0, you can select\\n# a different one on a per-connection basis using SELECT \\u003cdbid\\u003e where\\n# dbid is a number between 0 and 'databases'-1\\ndatabases 16\\n\\n################################ SNAPSHOTTING #################################\\n#\\n# Save the DB on disk:\\n#\\n# save \\u003cseconds\\u003e \\u003cchanges\\u003e\\n#\\n# Will save the DB if both the given number of seconds and the given\\n# number of write operations against the DB occurred.\\n#\\n# In the example below the behaviour will be to save:\\n# after 900 sec (15 min) if at least 1 key changed\\n# after 300 sec (5 min) if at least 10 keys changed\\n# after 60 sec if at least 10000 keys changed\\n#\\n# Note: you can disable saving at all commenting all the \\\"save\\\" lines.\\n#\\n# It is also possible to remove all the previously configured save\\n# points by adding a save directive with a single empty string argument\\n# like in the following example:\\n#\\n# save \\\"\\\"\\n\\nsave 900 1\\nsave 300 10\\nsave 60 10000\\n\\n# By default Redis will stop accepting writes if RDB snapshots are enabled\\n# (at least one save point) and the latest background save failed.\\n# This will make the user aware (in an hard way) that data is not persisting\\n# on disk properly, otherwise chances are that no one will notice and some\\n# distater will happen.\\n#\\n# If the background saving process will start working again Redis will\\n# automatically allow writes again.\\n#\\n# However if you have setup your proper monitoring of the Redis server\\n# and persistence, you may want to disable this feature so that Redis will\\n# continue to work as usually even if there are problems with disk,\\n# permissions, and so forth.\\nstop-writes-on-bgsave-error yes\\n\\n# Compress string objects using LZF when dump .rdb databases?\\n# For default that's set to 'yes' as it's almost always a win.\\n# If you want to save some CPU in the saving child set it to 'no' but\\n# the dataset will likely be bigger if you have compressible values or keys.\\nrdbcompression yes\\n\\n# Since version 5 of RDB a CRC64 checksum is placed at the end of the file.\\n# This makes the format more resistant to corruption but there is a performance\\n# hit to pay (around 10%) when saving and loading RDB files, so you can disable it\\n# for maximum performances.\\n#\\n# RDB files created with checksum disabled have a checksum of zero that will\\n# tell the loading code to skip the check.\\nrdbchecksum yes\\n\\n# The filename where to dump the DB\\ndbfilename dump.rdb\\n\\n# The working directory.\\n#\\n# The DB will be written inside this directory, with the filename specified\\n# above using the 'dbfilename' configuration directive.\\n# \\n# The Append Only File will also be created inside this directory.\\n# \\n# Note that you must specify a directory here, not a file name.\\ndir /var/lib/redis/\\n\\n################################# REPLICATION #################################\\n\\n# Master-Slave replication. Use slaveof to make a Redis instance a copy of\\n# another Redis server. Note that the configuration is local to the slave\\n# so for example it is possible to configure the slave to save the DB with a\\n# different interval, or to listen to another port, and so on.\\n#\\n# slaveof \\u003cmasterip\\u003e \\u003cmasterport\\u003e\\n\\n# If the master is password protected (using the \\\"requirepass\\\" configuration\\n# directive below) it is possible to tell the slave to authenticate before\\n# starting the replication synchronization process, otherwise the master will\\n# refuse the slave request.\\n#\\n# masterauth \\u003cmaster-password\\u003e\\n\\n# When a slave loses its connection with the master, or when the replication\\n# is still in progress, the slave can act in two different ways:\\n#\\n# 1) if slave-serve-stale-data is set to 'yes' (the default) the slave will\\n# still reply to client requests, possibly with out of date data, or the\\n# data set may just be empty if this is the first synchronization.\\n#\\n# 2) if slave-serve-stale-data is set to 'no' the slave will reply with\\n# an error \\\"SYNC with master in progress\\\" to all the kind of commands\\n# but to INFO and SLAVEOF.\\n#\\nslave-serve-stale-data yes\\n\\n# You can configure a slave instance to accept writes or not. Writing against\\n# a slave instance may be useful to store some ephemeral data (because data\\n# written on a slave will be easily deleted after resync with the master) but\\n# may also cause problems if clients are writing to it because of a\\n# misconfiguration.\\n#\\n# Since Redis 2.6 by default slaves are read-only.\\n#\\n# Note: read only slaves are not designed to be exposed to untrusted clients\\n# on the internet. It's just a protection layer against misuse of the instance.\\n# Still a read only slave exports by default all the administrative commands\\n# such as CONFIG, DEBUG, and so forth. To a limited extend you can improve\\n# security of read only slaves using 'rename-command' to shadow all the\\n# administrative / dangerous commands.\\nslave-read-only yes\\n\\n# Slaves send PINGs to server in a predefined interval. It's possible to change\\n# this interval with the repl_ping_slave_period option. The default value is 10\\n# seconds.\\n#\\n# repl-ping-slave-period 10\\n\\n# The following option sets a timeout for both Bulk transfer I/O timeout and\\n# master data or ping response timeout. The default value is 60 seconds.\\n#\\n# It is important to make sure that this value is greater than the value\\n# specified for repl-ping-slave-period otherwise a timeout will be detected\\n# every time there is low traffic between the master and the slave.\\n#\\n# repl-timeout 60\\n\\n# Disable TCP_NODELAY on the slave socket after SYNC?\\n#\\n# If you select \\\"yes\\\" Redis will use a smaller number of TCP packets and\\n# less bandwidth to send data to slaves. But this can add a delay for\\n# the data to appear on the slave side, up to 40 milliseconds with\\n# Linux kernels using a default configuration.\\n#\\n# If you select \\\"no\\\" the delay for data to appear on the slave side will\\n# be reduced but more bandwidth will be used for replication.\\n#\\n# By default we optimize for low latency, but in very high traffic conditions\\n# or when the master and slaves are many hops away, turning this to \\\"yes\\\" may\\n# be a good idea.\\nrepl-disable-tcp-nodelay no\\n\\n# The slave priority is an integer number published by Redis in the INFO output.\\n# It is used by Redis Sentinel in order to select a slave to promote into a\\n# master if the master is no longer working correctly.\\n#\\n# A slave with a low priority number is considered better for promotion, so\\n# for instance if there are three slaves with priority 10, 100, 25 Sentinel will\\n# pick the one wtih priority 10, that is the lowest.\\n#\\n# However a special priority of 0 marks the slave as not able to perform the\\n# role of master, so a slave with priority of 0 will never be selected by\\n# Redis Sentinel for promotion.\\n#\\n# By default the priority is 100.\\nslave-priority 100\\n\\n################################## SECURITY ###################################\\n\\n# Require clients to issue AUTH \\u003cPASSWORD\\u003e before processing any other\\n# commands. This might be useful in environments in which you do not trust\\n# others with access to the host running redis-server.\\n#\\n# This should stay commented out for backward compatibility and because most\\n# people do not need auth (e.g. they run their own servers).\\n# \\n# Warning: since Redis is pretty fast an outside user can try up to\\n# 150k passwords per second against a good box. This means that you should\\n# use a very strong password otherwise it will be very easy to break.\\n#\\n# requirepass foobared\\n\\n# Command renaming.\\n#\\n# It is possible to change the name of dangerous commands in a shared\\n# environment. For instance the CONFIG command may be renamed into something\\n# hard to guess so that it will still be available for internal-use tools\\n# but not available for general clients.\\n#\\n# Example:\\n#\\n# rename-command CONFIG b840fc02d524045429941cc15f59e41cb7be6c52\\n#\\n# It is also possible to completely kill a command by renaming it into\\n# an empty string:\\n#\\n# rename-command CONFIG \\\"\\\"\\n#\\n# Please note that changing the name of commands that are logged into the\\n# AOF file or transmitted to slaves may cause problems.\\n\\n################################### LIMITS ####################################\\n\\n# Set the max number of connected clients at the same time. By default\\n# this limit is set to 10000 clients, however if the Redis server is not\\n# able to configure the process file limit to allow for the specified limit\\n# the max number of allowed clients is set to the current file limit\\n# minus 32 (as Redis reserves a few file descriptors for internal uses).\\n#\\n# Once the limit is reached Redis will close all the new connections sending\\n# an error 'max number of clients reached'.\\n#\\n# maxclients 10000\\n\\n# Don't use more memory than the specified amount of bytes.\\n# When the memory limit is reached Redis will try to remove keys\\n# accordingly to the eviction policy selected (see maxmemmory-policy).\\n#\\n# If Redis can't remove keys according to the policy, or if the policy is\\n# set to 'noeviction', Redis will start to reply with errors to commands\\n# that would use more memory, like SET, LPUSH, and so on, and will continue\\n# to reply to read-only commands like GET.\\n#\\n# This option is usually useful when using Redis as an LRU cache, or to set\\n# an hard memory limit for an instance (using the 'noeviction' policy).\\n#\\n# WARNING: If you have slaves attached to an instance with maxmemory on,\\n# the size of the output buffers needed to feed the slaves are subtracted\\n# from the used memory count, so that network problems / resyncs will\\n# not trigger a loop where keys are evicted, and in turn the output\\n# buffer of slaves is full with DELs of keys evicted triggering the deletion\\n# of more keys, and so forth until the database is completely emptied.\\n#\\n# In short... if you have slaves attached it is suggested that you set a lower\\n# limit for maxmemory so that there is some free RAM on the system for slave\\n# output buffers (but this is not needed if the policy is 'noeviction').\\n#\\nmaxmemory 1gb\\n\\n# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory\\n# is reached. You can select among five behaviors:\\n# \\n# volatile-lru -\\u003e remove the key with an expire set using an LRU algorithm\\n# allkeys-lru -\\u003e remove any key accordingly to the LRU algorithm\\n# volatile-random -\\u003e remove a random key with an expire set\\n# allkeys-random -\\u003e remove a random key, any key\\n# volatile-ttl -\\u003e remove the key with the nearest expire time (minor TTL)\\n# noeviction -\\u003e don't expire at all, just return an error on write operations\\n# \\n# Note: with any of the above policies, Redis will return an error on write\\n# operations, when there are not suitable keys for eviction.\\n#\\n# At the date of writing this commands are: set setnx setex append\\n# incr decr rpush lpush rpushx lpushx linsert lset rpoplpush sadd\\n# sinter sinterstore sunion sunionstore sdiff sdiffstore zadd zincrby\\n# zunionstore zinterstore hset hsetnx hmset hincrby incrby decrby\\n# getset mset msetnx exec sort\\n#\\n# The default is:\\n#\\n# maxmemory-policy volatile-lru\\n\\n# LRU and minimal TTL algorithms are not precise algorithms but approximated\\n# algorithms (in order to save memory), so you can select as well the sample\\n# size to check. For instance for default Redis will check three keys and\\n# pick the one that was used less recently, you can change the sample size\\n# using the following configuration directive.\\n#\\n# maxmemory-samples 3\\n\\n############################## APPEND ONLY MODE ###############################\\n\\n# By default Redis asynchronously dumps the dataset on disk. This mode is\\n# good enough in many applications, but an issue with the Redis process or\\n# a power outage may result into a few minutes of writes lost (depending on\\n# the configured save points).\\n#\\n# The Append Only File is an alternative persistence mode that provides\\n# much better durability. For instance using the default data fsync policy\\n# (see later in the config file) Redis can lose just one second of writes in a\\n# dramatic event like a server power outage, or a single write if something\\n# wrong with the Redis process itself happens, but the operating system is\\n# still running correctly.\\n#\\n# AOF and RDB persistence can be enabled at the same time without problems.\\n# If the AOF is enabled on startup Redis will load the AOF, that is the file\\n# with the better durability guarantees.\\n#\\n# Please check http://redis.io/topics/persistence for more information.\\n\\nappendonly no\\n\\n# The name of the append only file (default: \\\"appendonly.aof\\\")\\n# appendfilename appendonly.aof\\n\\n# The fsync() call tells the Operating System to actually write data on disk\\n# instead to wait for more data in the output buffer. Some OS will really flush \\n# data on disk, some other OS will just try to do it ASAP.\\n#\\n# Redis supports three different modes:\\n#\\n# no: don't fsync, just let the OS flush the data when it wants. Faster.\\n# always: fsync after every write to the append only log . Slow, Safest.\\n# everysec: fsync only one time every second. Compromise.\\n#\\n# The default is \\\"everysec\\\", as that's usually the right compromise between\\n# speed and data safety. It's up to you to understand if you can relax this to\\n# \\\"no\\\" that will let the operating system flush the output buffer when\\n# it wants, for better performances (but if you can live with the idea of\\n# some data loss consider the default persistence mode that's snapshotting),\\n# or on the contrary, use \\\"always\\\" that's very slow but a bit safer than\\n# everysec.\\n#\\n# More details please check the following article:\\n# http://antirez.com/post/redis-persistence-demystified.html\\n#\\n# If unsure, use \\\"everysec\\\".\\n\\n# appendfsync always\\nappendfsync everysec\\n# appendfsync no\\n\\n# When the AOF fsync policy is set to always or everysec, and a background\\n# saving process (a background save or AOF log background rewriting) is\\n# performing a lot of I/O against the disk, in some Linux configurations\\n# Redis may block too long on the fsync() call. Note that there is no fix for\\n# this currently, as even performing fsync in a different thread will block\\n# our synchronous write(2) call.\\n#\\n# In order to mitigate this problem it's possible to use the following option\\n# that will prevent fsync() from being called in the main process while a\\n# BGSAVE or BGREWRITEAOF is in progress.\\n#\\n# This means that while another child is saving, the durability of Redis is\\n# the same as \\\"appendfsync none\\\". In practical terms, this means that it is\\n# possible to lose up to 30 seconds of log in the worst scenario (with the\\n# default Linux settings).\\n# \\n# If you have latency problems turn this to \\\"yes\\\". Otherwise leave it as\\n# \\\"no\\\" that is the safest pick from the point of view of durability.\\nno-appendfsync-on-rewrite no\\n\\n# Automatic rewrite of the append only file.\\n# Redis is able to automatically rewrite the log file implicitly calling\\n# BGREWRITEAOF when the AOF log size grows by the specified percentage.\\n# \\n# This is how it works: Redis remembers the size of the AOF file after the\\n# latest rewrite (if no rewrite has happened since the restart, the size of\\n# the AOF at startup is used).\\n#\\n# This base size is compared to the current size. If the current size is\\n# bigger than the specified percentage, the rewrite is triggered. Also\\n# you need to specify a minimal size for the AOF file to be rewritten, this\\n# is useful to avoid rewriting the AOF file even if the percentage increase\\n# is reached but it is still pretty small.\\n#\\n# Specify a percentage of zero in order to disable the automatic AOF\\n# rewrite feature.\\n\\nauto-aof-rewrite-percentage 100\\nauto-aof-rewrite-min-size 64mb\\n\\n################################ LUA SCRIPTING ###############################\\n\\n# Max execution time of a Lua script in milliseconds.\\n#\\n# If the maximum execution time is reached Redis will log that a script is\\n# still in execution after the maximum allowed time and will start to\\n# reply to queries with an error.\\n#\\n# When a long running script exceed the maximum execution time only the\\n# SCRIPT KILL and SHUTDOWN NOSAVE commands are available. The first can be\\n# used to stop a script that did not yet called write commands. The second\\n# is the only way to shut down the server in the case a write commands was\\n# already issue by the script but the user don't want to wait for the natural\\n# termination of the script.\\n#\\n# Set it to 0 or a negative value for unlimited execution without warnings.\\nlua-time-limit 5000\\n\\n################################## SLOW LOG ###################################\\n\\n# The Redis Slow Log is a system to log queries that exceeded a specified\\n# execution time. The execution time does not include the I/O operations\\n# like talking with the client, sending the reply and so forth,\\n# but just the time needed to actually execute the command (this is the only\\n# stage of command execution where the thread is blocked and can not serve\\n# other requests in the meantime).\\n# \\n# You can configure the slow log with two parameters: one tells Redis\\n# what is the execution time, in microseconds, to exceed in order for the\\n# command to get logged, and the other parameter is the length of the\\n# slow log. When a new command is logged the oldest one is removed from the\\n# queue of logged commands.\\n\\n# The following time is expressed in microseconds, so 1000000 is equivalent\\n# to one second. Note that a negative number disables the slow log, while\\n# a value of zero forces the logging of every command.\\nslowlog-log-slower-than 10000\\n\\n# There is no limit to this length. Just be aware that it will consume memory.\\n# You can reclaim memory used by the slow log with SLOWLOG RESET.\\nslowlog-max-len 128\\n\\n############################### ADVANCED CONFIG ###############################\\n\\n# Hashes are encoded using a memory efficient data structure when they have a\\n# small number of entries, and the biggest entry does not exceed a given\\n# threshold. These thresholds can be configured using the following directives.\\nhash-max-ziplist-entries 512\\nhash-max-ziplist-value 64\\n\\n# Similarly to hashes, small lists are also encoded in a special way in order\\n# to save a lot of space. The special representation is only used when\\n# you are under the following limits:\\nlist-max-ziplist-entries 512\\nlist-max-ziplist-value 64\\n\\n# Sets have a special encoding in just one case: when a set is composed\\n# of just strings that happens to be integers in radix 10 in the range\\n# of 64 bit signed integers.\\n# The following configuration setting sets the limit in the size of the\\n# set in order to use this special memory saving encoding.\\nset-max-intset-entries 512\\n\\n# Similarly to hashes and lists, sorted sets are also specially encoded in\\n# order to save a lot of space. This encoding is only used when the length and\\n# elements of a sorted set are below the following limits:\\nzset-max-ziplist-entries 128\\nzset-max-ziplist-value 64\\n\\n# Active rehashing uses 1 millisecond every 100 milliseconds of CPU time in\\n# order to help rehashing the main Redis hash table (the one mapping top-level\\n# keys to values). The hash table implementation Redis uses (see dict.c)\\n# performs a lazy rehashing: the more operation you run into an hash table\\n# that is rehashing, the more rehashing \\\"steps\\\" are performed, so if the\\n# server is idle the rehashing is never complete and some more memory is used\\n# by the hash table.\\n# \\n# The default is to use this millisecond 10 times every second in order to\\n# active rehashing the main dictionaries, freeing memory when possible.\\n#\\n# If unsure:\\n# use \\\"activerehashing no\\\" if you have hard latency requirements and it is\\n# not a good thing in your environment that Redis can reply form time to time\\n# to queries with 2 milliseconds delay.\\n#\\n# use \\\"activerehashing yes\\\" if you don't have such hard requirements but\\n# want to free memory asap when possible.\\nactiverehashing yes\\n\\n# The client output buffer limits can be used to force disconnection of clients\\n# that are not reading data from the server fast enough for some reason (a\\n# common reason is that a Pub/Sub client can't consume messages as fast as the\\n# publisher can produce them).\\n#\\n# The limit can be set differently for the three different classes of clients:\\n#\\n# normal -\\u003e normal clients\\n# slave -\\u003e slave clients and MONITOR clients\\n# pubsub -\\u003e clients subcribed to at least one pubsub channel or pattern\\n#\\n# The syntax of every client-output-buffer-limit directive is the following:\\n#\\n# client-output-buffer-limit \\u003cclass\\u003e \\u003chard limit\\u003e \\u003csoft limit\\u003e \\u003csoft seconds\\u003e\\n#\\n# A client is immediately disconnected once the hard limit is reached, or if\\n# the soft limit is reached and remains reached for the specified number of\\n# seconds (continuously).\\n# So for instance if the hard limit is 32 megabytes and the soft limit is\\n# 16 megabytes / 10 seconds, the client will get disconnected immediately\\n# if the size of the output buffers reach 32 megabytes, but will also get\\n# disconnected if the client reaches 16 megabytes and continuously overcomes\\n# the limit for 10 seconds.\\n#\\n# By default normal clients are not limited because they don't receive data\\n# without asking (in a push way), but just after a request, so only\\n# asynchronous clients may create a scenario where data is requested faster\\n# than it can read.\\n#\\n# Instead there is a default limit for pubsub and slave clients, since\\n# subscribers and slaves receive data in a push fashion.\\n#\\n# Both the hard or the soft limit can be disabled by setting them to zero.\\nclient-output-buffer-limit normal 0 0 0\\nclient-output-buffer-limit slave 256mb 64mb 60\\nclient-output-buffer-limit pubsub 32mb 8mb 60\\n\\n# Redis calls an internal function to perform many background tasks, like\\n# closing connections of clients in timeot, purging expired keys that are\\n# never requested, and so forth.\\n#\\n# Not all tasks are perforemd with the same frequency, but Redis checks for\\n# tasks to perform accordingly to the specified \\\"hz\\\" value.\\n#\\n# By default \\\"hz\\\" is set to 10. Raising the value will use more CPU when\\n# Redis is idle, but at the same time will make Redis more responsive when\\n# there are many keys expiring at the same time, and timeouts may be\\n# handled with more precision.\\n#\\n# The range is between 1 and 500, however a value over 100 is usually not\\n# a good idea. Most users should use the default of 10 and raise this up to\\n# 100 only in environments where very low latency is required.\\nhz 10\\n\\n# When a child rewrites the AOF file, if the following option is enabled\\n# the file will be fsync-ed every 32 MB of data generated. This is useful\\n# in order to commit the file to the disk more incrementally and avoid\\n# big latency spikes.\\naof-rewrite-incremental-fsync yes\\n\\n################################## INCLUDES ###################################\\n\\n# Include one or more other config files here. This is useful if you\\n# have a standard template that goes to all Redis server but also need\\n# to customize a few per-server settings. Include files can include\\n# other files, so use this wisely.\\n#\\n# include /path/to/local.conf\\n# include /path/to/other.conf\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"redis\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/var/log/redis/redis.log\",\"Type\":\"redis\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zeneventd\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zeneventd run -c --duallog \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zeneventd.conf\":{\"Filename\":\"/opt/zenoss/etc/zeneventd.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zeneventd\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zeneventd.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Cycle, in seconds, for maintenance tasks.\\n# Default is 60., default: 60\\n#maintenancecycle 60\\n#\\n# Force sync() before processing every\\n# event; default is to sync() no more\\n# often than once every 1/2 second.,\\n# default: False\\n#synceveryevent False\\n#\\n# Sets the number of messages each worker\\n# gets from the queue at any given time.\\n# Default is 1. Change this only if event\\n# processing is deemed slow. Note that\\n# increasing the value increases the\\n# probability that events will be processed\\n# out of order., default: 1\\n#messagesperworker 1\\n#\\n# The number of processing workers to\\n# run (ignored when running in the foreground),\\n# default: 2\\n#workers 2\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n# root object for data load (i.e. /zport/dmd),\\n# default: /zport/dmd\\n#zodb-dataroot /zport/dmd\\n#\\n# in memory cachesize default: 1000, default:\\n# 1000\\n#zodb-cachesize 1000\\n#\\n# hostname of the MySQL server for ZODB,\\n# default: 127.0.0.1\\n#zodb-host 127.0.0.1\\n#\\n# port of the MySQL server for ZODB, default:\\n# 3306\\n#zodb-port 3306\\n#\\n# user of the MySQL server for ZODB, default:\\n# zenoss\\n#zodb-user zenoss\\n#\\n# password of the MySQL server for ZODB,\\n# default: zenoss\\n#zodb-password zenoss\\n#\\n# Name of database for MySQL object store,\\n# default: zodb\\n#zodb-db zodb\\n#\\n# Name of socket file for MySQL server\\n# connection if host is localhost\\n#zodb-socket None\\n#\\n# memcached servers to use for object\\n# cache (eg. 127.0.0.1:11211), default:\\n# 127.0.0.1:11211\\n#zodb-cacheservers 127.0.0.1:11211\\n#\\n# Defer polling the database for the specified\\n# maximum time interval, in seconds.\\n# This will default to 60 only if --zodb-cacheservers\\n# is set.\\n#zodb-poll-interval None\\n#\\n# Specify the number of seconds a database\\n# connection will wait to acquire a database\\n# 'commit' lock before failing (defaults\\n# to 30 seconds if not specified)., default:\\n# 30\\n#zodb-commit-lock-timeout 30\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"mysql\",\"Purpose\":\"import\",\"Protocol\":\"\",\"PortNumber\":0,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zodb_.*\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"memcached\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":11211,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"memcached\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"redis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"rabbitmq\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":5672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zeneventd.log\",\"Type\":\"zeneventd\",\"Filters\":[\"pythondaemon\"],\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"logging\":{\"Script\":\"f='/opt/zenoss/log/zeneventd.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 65 ]; else false; fi\",\"Interval\":1},\"mysql_answering\":{\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\",\"Interval\":10},\"rabbit_answering\":{\"Script\":\"curl -s http://localhost:5672/ | grep -q AMQP\",\"Interval\":10},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | [ $(grep -c [z]eneventd.py) -gt 1 ]\",\"Interval\":1},\"stable_workers\":{\"Script\":\"ps -eo uname,pid,etime | [ $(egrep -c '^zenoss .* 00:0[01]') -eq 0 ]\",\"Interval\":1}},\"Prereqs\":[{\"Name\":\"MySQL connectivity\",\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zeneventserver\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zeneventserver run \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":[{\"Name\":\"mysql\",\"Purpose\":\"import\",\"Protocol\":\"\",\"PortNumber\":0,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zodb_.*\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"memcached\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":11211,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"memcached\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"redis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"rabbitmq\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":5672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zep\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":8084,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zep\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":[{\"Owner\":\"zenoss:zenoss\",\"Permission\":\"0775\",\"ResourcePath\":\"zeneventserver\",\"ContainerPath\":\"/opt/zenoss/var/zeneventserver\",\"Type\":\"\"}],\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zeneventserver.log\",\"Type\":\"zeneventserver\",\"Filters\":[\"zeneventserver\"],\"LogTags\":null},{\"Path\":\"/opt/zenoss/log/zeneventserver-stdio*.log\",\"Type\":\"zeneventserver_stdio\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"curl -f -s http://localhost:8084/zeneventserver/api/1.0/heartbeats/ | grep -q '^{\\\"heartbeats\\\":'\",\"Interval\":1},\"mysql_answering\":{\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\",\"Interval\":10},\"rabbit_answering\":{\"Script\":\"curl -s http://localhost:5672/ | grep -q AMQP\",\"Interval\":10},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps aux | egrep -q [j]ava.*zeneventserver\",\"Interval\":1},\"zep_answering\":{\"Script\":\"curl -f -s http://localhost:8084/zeneventserver/api/1.0/heartbeats/ | grep -q '^{\\\"heartbeats\\\":'\",\"Interval\":10}},\"Prereqs\":[{\"Name\":\"MySQL connectivity\",\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zep --execsql=\\\";\\\"'\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"zenjobs\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenjobs run --duallog \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenjobs.conf\":{\"Filename\":\"/opt/zenoss/etc/zenjobs.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenjobs\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenjobs.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Directory in which to store individual\\n# job log files, default: /opt/zenoss/log/jobs\\n#job-log-path /opt/zenoss/log/jobs\\n#\\n# Number of jobs a worker process runs\\n# before it shuts down, default: 1\\n#max-jobs-per-worker 1\\n#\\n# Number of jobs to process concurrently,\\n# default: 2\\n#concurrent-jobs 2\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n# root object for data load (i.e. /zport/dmd),\\n# default: /zport/dmd\\n#zodb-dataroot /zport/dmd\\n#\\n# in memory cachesize default: 1000, default:\\n# 1000\\n#zodb-cachesize 1000\\n#\\n# hostname of the MySQL server for ZODB,\\n# default: 127.0.0.1\\n#zodb-host 127.0.0.1\\n#\\n# port of the MySQL server for ZODB, default:\\n# 3306\\n#zodb-port 3306\\n#\\n# user of the MySQL server for ZODB, default:\\n# zenoss\\n#zodb-user zenoss\\n#\\n# password of the MySQL server for ZODB,\\n# default: zenoss\\n#zodb-password zenoss\\n#\\n# Name of database for MySQL object store,\\n# default: zodb\\n#zodb-db zodb\\n#\\n# Name of socket file for MySQL server\\n# connection if host is localhost\\n#zodb-socket None\\n#\\n# memcached servers to use for object\\n# cache (eg. 127.0.0.1:11211), default:\\n# 127.0.0.1:11211\\n#zodb-cacheservers 127.0.0.1:11211\\n#\\n# Defer polling the database for the specified\\n# maximum time interval, in seconds.\\n# This will default to 60 only if --zodb-cacheservers\\n# is set.\\n#zodb-poll-interval None\\n#\\n# Specify the number of seconds a database\\n# connection will wait to acquire a database\\n# 'commit' lock before failing (defaults\\n# to 30 seconds if not specified)., default:\\n# 30\\n#zodb-commit-lock-timeout 30\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"zenhub\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8789,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"localhost_zenhubPB\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"rabbit\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":15672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq_admin\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"mysql\",\"Purpose\":\"import\",\"Protocol\":\"\",\"PortNumber\":0,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zodb_.*\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"memcached\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":11211,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"memcached\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"redis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"rabbitmq\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":5672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":[{\"Owner\":\"zenoss:zenoss\",\"Permission\":\"0755\",\"ResourcePath\":\"zenjobs\",\"ContainerPath\":\"/opt/zenoss/log/jobs\",\"Type\":\"\"}],\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenjobs.log\",\"Type\":\"zenjobs\",\"Filters\":[\"pythondaemon\"],\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"mysql_answering\":{\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\",\"Interval\":10},\"rabbit_admin_answering\":{\"Script\":\"curl -s -u guest:guest http://localhost:15672/api/vhosts | grep -q name\",\"Interval\":10},\"rabbit_answering\":{\"Script\":\"curl -s http://localhost:5672/ | grep -q AMQP\",\"Interval\":10},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enjobs.py\",\"Interval\":1},\"stable_workers\":{\"Script\":\"ps -eo uname,pid,etime | [ $(egrep -c '^zenoss .* 00:0[01]') -eq 0 ]\",\"Interval\":1},\"zenhub_answering\":{\"Script\":\"sh -c 'echo hi \\u0026\\u0026 sleep 5' | nc 127.0.0.1 8789 | grep -q pb\",\"Interval\":10}},\"Prereqs\":[{\"Name\":\"MySQL connectivity\",\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"CentralQuery\",\"Command\":\"su - zenoss -c \\\"cd /opt/zenoss \\u0026\\u0026 /bin/supervisord -n -c etc/central-query/supervisord.conf\\\"\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{},\"Context\":null,\"Endpoints\":[{\"Name\":\"central_query\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":8888,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"central_query\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zproxy\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8080,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zproxy\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"opentsdb-reader\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":4242,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"opentsdb-reader\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/central-query.log\",\"Type\":\"centralquery\",\"Filters\":[\"zappdaemon\"],\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"bash -c 'curl -X POST http://localhost:58888/tasks/debugtoggle'\"},\"HealthChecks\":{\"answering\":{\"Script\":\"curl --fail --max-time 4 http://localhost:58888/healthcheck\",\"Interval\":5}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":[{\"ID\":\"jvm.fd_usage\",\"Name\":\"JVM File Descriptor Usage\",\"Description\":\"JVM File Descriptor Usage Statistics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.fd_usage\",\"Name\":\"FD Usage Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.thread\",\"Name\":\"JVM Thread\",\"Description\":\"JVM Thread Type Statistics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.thread_count\",\"Name\":\"JVM Thread Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.daemon_thread_count\",\"Name\":\"JVM Daemon Thread Count\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.memory\",\"Name\":\"JVM Memory\",\"Description\":\"JVM heap vs. non-heap memory usage\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.memory.heap_usage\",\"Name\":\"JVM Heap Memory Usage\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.non_heap_usage\",\"Name\":\"JVM Non-Heap Memory Usage\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.memory.memory_pool_usages\",\"Name\":\"JVM Memory Pool\",\"Description\":\"JVM Memory Pool Usage\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.memory.memory_pool_usages.Code_Cache\",\"Name\":\"Code Cache\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.memory_pool_usages.PS_Eden_Space\",\"Name\":\"Eden Space\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.memory_pool_usages.PS_Old_Gen\",\"Name\":\"Old Generation\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.memory_pool_usages.PS_Perm_Gen\",\"Name\":\"Permanent Generation\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.memory.memory_pool_usages.PS_Survivor_Space\",\"Name\":\"Survivor Space\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.gc\",\"Name\":\"JVM Garbage Collection\",\"Description\":\"JVM Garbage Collection Statistics\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.gc.PS_MarkSweep.runs\",\"Name\":\"JVM Garbage Collection MarkSweep Runs\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.gc.PS_MarkSweep.time\",\"Name\":\"JVM Garbage Collection MarkSweep Time\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.gc.PS_Scavenge.runs\",\"Name\":\"JVM Garbage Collection Scavenge Runs\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.gc.PS_Scavenge.time\",\"Name\":\"JVM Garbage Collection Scavenge Time\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"jvm.threads-states\",\"Name\":\"JVM Thread States\",\"Description\":\"JVM Thread States\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"jvm.thread-states.blocked\",\"Name\":\"JVM Threads in Blocked State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.new\",\"Name\":\"JVM Threads in New State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.runnable\",\"Name\":\"JVM Threads in Runnable State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.terminated\",\"Name\":\"JVM Threads in Terminated State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.timed_waiting\",\"Name\":\"JVM Threads in Timed Waiting State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"jvm.thread-states.waiting\",\"Name\":\"JVM Threads in Waiting State\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]},{\"ID\":\"MetricsResources.post\",\"Name\":\"MetricResources Post Statistics\",\"Description\":\"HTTP Post Statistics for the MetricsWebResource\",\"Query\":{\"RequestURI\":\"\",\"Method\":\"\",\"Headers\":null,\"Data\":\"\"},\"Metrics\":[{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.count\",\"Name\":\"MetricResource Total Post\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.meanRate\",\"Name\":\"MetricResource Average Response Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.1MinuteRate\",\"Name\":\"MetricResource 1 Minute Moving Average Response Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.5MinuteRate\",\"Name\":\"MetricResource 5 Minute Moving Average Response Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.15MinuteRate\",\"Name\":\"MetricResource 15 Minute Moving Average Response Rate\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.max\",\"Name\":\"MetricResource Content-Length Max\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.min\",\"Name\":\"MetricResource Content-Length Max\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.mean\",\"Name\":\"MetricResource Content-Length Mean\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.median\",\"Name\":\"MetricResource Content-Length Median\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.stdev\",\"Name\":\"MetricResource Content-Length Stdev\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.75Percentile\",\"Name\":\"MetricResource Content-Length Histogram 75%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.95Percentile\",\"Name\":\"MetricResource Content-Length Histogram 95%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.98Percentile\",\"Name\":\"MetricResource Content-Length Histogram 98%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.99Percentile\",\"Name\":\"MetricResource Content-Length Histogram 99%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false},{\"ID\":\"ZEN_INF.org.zenoss.app.metricresource.api.metric.remote.MetricResources.query.999Percentile\",\"Name\":\"MetricResource Content-Length Histogram 99.9%\",\"Description\":\"\",\"Counter\":false,\"ResetValue\":0,\"Unit\":\"\",\"BuiltIn\":false}]}],\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"},{\"Name\":\"MySQL\",\"Command\":\"/usr/bin/mysqld_safe\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/etc/my.cnf\":{\"Filename\":\"/etc/my.cnf\",\"Owner\":\"\",\"Permissions\":\"\",\"Content\":\"#---------------------------------------------------------------------------\\n# Zenoss DataStore Configuration\\n#---------------------------------------------------------------------------\\n[mysqld]\\ninnodb_file_per_table\\nskip_external_locking\\n\\n#\\n# Per the current Zenoss Resource Manager Install Guide,\\n# please size innodb_buffer_pool_size according to the following\\n# guidelines:\\n#\\n# Deployment Size Value of innodb_buffer_pool_size\\n# -------------------- --------------------------------\\n# 1 to 250 devices 512M\\n# 250 to 500 devices 768M\\n# 500 to 1000 devices 1024M\\n# 1000 to 2000 devices 2048M\\n#\\ninnodb_buffer_pool_size = 512M\\n\\n# TODO: Log file size should be 25% of of buffer pool size, but this cannot be\\n# easily adjusted after image creation time.\\ninnodb_log_file_size = 200M\\ninnodb_additional_mem_pool_size = 32M\\ninnodb_log_buffer_size = 8M\\ninnodb_flush_method = O_DIRECT\\ninnodb_flush_log_at_trx_commit = 2\\n\\n# In previous releases of MySQL, this was recommended to be set to 2 times the\\n# number of CPUs, however the default and recommended option in 5.5 is to not\\n# set a bound on the thread pool size.\\ninnodb_thread_concurrency = 0\\n\\n# Setting this setting to 0 is recommended in virtualized environments. If\\n# running virtualized, it is recommended to uncomment the setting below when\\n# seeing database performance issues.\\n#innodb_spin_wait_delay = 0\\n\\n# In large installs, there were a significant number of mutex waits on the \\n# adaptive hash index, and this needed to be disabled.\\n#innodb_adaptive_hash_index = OFF\\n\\n# Use the Barracuda file format which enables support for dynamic and \\n# compressed row formats.\\ninnodb_file_format = Barracuda\\n\\n# Enable the thread pool - recommended on 5.5.16 and later.\\nthread_pool_size = 32\\n\\n# Disable the query cache - it provides negligible performance improvements\\n# and leads to significant thread contention under load.\\nquery_cache_size = 0\\nquery_cache_type = OFF\\n\\nmax_allowed_packet = 64M\\nwait_timeout = 86400\\n\\n# Enable dedicated purge thread. (default is 0)\\ninnodb_purge_threads = 1\\n\\n# Introduce operation lag to allow purge operations. (default is 0)\\ninnodb_max_purge_lag = 0\\n\\n# Set buffer pool instances (cpu core count for physical machines, subtract one for VMs)\\n# TODO: instances should be at least 1GB, so this should be scaled to buffer_pool_size as well\\ninnodb_buffer_pool_instances = {{.CPUCommitment}}\\n\\n[mysql]\\nmax_allowed_packet = 64M\\n\\n[mysqldump]\\nmax_allowed_packet = 64M\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"mysql\",\"Purpose\":\"export\",\"Protocol\":\"tcp\",\"PortNumber\":3306,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zodb_mysql\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":[{\"Owner\":\"mysql:mysql\",\"Permission\":\"0755\",\"ResourcePath\":\"mysql\",\"ContainerPath\":\"/var/lib/mysql\",\"Type\":\"\"}],\"LogConfigs\":[{\"Path\":\"/var/log/mysqld.log\",\"Type\":\"mysql\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"PAUSE_CHECK_TIMEOUT=60 LOCK_HOLD_DURATION=600 ${ZENHOME:-/opt/zenoss}/bin/quiesce-mysql.sh pause\",\"Resume\":\"${ZENHOME:-/opt/zenoss}/bin/quiesce-mysql.sh resume\"},\"RAMCommitment\":1073741824,\"CPUCommitment\":2,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"mysql --protocol TCP -uroot -hlocalhost -P3306 -e 'select 1' \\u003e /dev/null\",\"Interval\":1}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"exec echo /var/lib/mysql/$(hostname).pid\"},{\"Name\":\"zenactiond\",\"Command\":\"su - zenoss -c \\\"/opt/zenoss/bin/zenactiond run -c --duallog \\\"\",\"Description\":\"\",\"Tags\":[\"daemon\"],\"ImageID\":\"zenoss/core-testing:5.0.0b2_621\",\"Instances\":{\"Min\":1,\"Max\":0},\"ChangeOptions\":null,\"Launch\":\"auto\",\"HostPolicy\":\"\",\"Hostname\":\"\",\"Privileged\":false,\"ConfigFiles\":{\"/opt/zenoss/etc/zenactiond.conf\":{\"Filename\":\"/opt/zenoss/etc/zenactiond.conf\",\"Owner\":\"zenoss:zenoss\",\"Permissions\":\"0664\",\"Content\":\"#\\n# Configuration file for zenactiond\\n#\\n# To enable a particular option, uncomment the desired entry.\\n#\\n# Parameter Setting\\n# --------- -------\\n#\\n# Use an alternate configuration file\\n#configfile /opt/zenoss/etc/zenactiond.conf\\n#\\n# Generate an XML file containing command-line\\n# switches., default: False\\n#genxmlconfigs False\\n#\\n# User to become when running default:zenoss,\\n# default: zenoss\\n#uid zenoss\\n#\\n# Cycle continuously on cycleInterval\\n# from Zope, default: False\\n#cycle False\\n#\\n# Launch into the background, default: False\\n#daemon False\\n#\\n# Log to console and log file, default: False\\n#duallog False\\n#\\n# output log info in HTML table format,\\n# default: False\\n#weblog False\\n#\\n# Run under a supervisor which will restart\\n# it, default: False\\n#watchdog False\\n#\\n# The path to the watchdog reporting socket\\n#watchdogPath None\\n#\\n# Wait seconds for initial heartbeat\\n#starttimeout None\\n#\\n# Set listener socket options. For option\\n# details: man 7 socket, default: []\\n#socketOption []\\n#\\n# Cycle, in seconds, for maintenance tasks.\\n# Default is 60., default: 60\\n#maintenancecycle 60\\n#\\n# The number of processing workers to\\n# run (ignored when running in the foreground),\\n# default: 1\\n#workers 1\\n#\\n# Max number of action commands to perform\\n# concurrently (default: 10), default: 10\\n#maxcommands 10\\n#\\n# http path to the root of the zope server\\n# (default: http://621bf8b6aabd:8080),\\n# default: http://621bf8b6aabd:8080\\n#zopeurl http://621bf8b6aabd:8080\\n#\\n# Name of monitor instance to use for\\n# heartbeat events. Default is localhost.,\\n# default: localhost\\n#monitor localhost\\n#\\n# How often to check to see if there are\\n# any maintenance windows to execute,\\n# default: 60\\n#maintenance-window-cycletime 60\\n#\\n# Logging severity threshold, default: 20\\n#logseverity 20\\n#\\n# Override the default logging path; default\\n# $ZENHOME/log, default: /opt/zenoss/log\\n#logpath /opt/zenoss/log\\n#\\n# Max size of log file in KB; default\\n# 10240, default: 10240\\n#maxlogsize 10240\\n#\\n# Max number of back up log files; default\\n# 3, default: 3\\n#maxbackuplogs 3\\n#\\n# root object for data load (i.e. /zport/dmd),\\n# default: /zport/dmd\\n#zodb-dataroot /zport/dmd\\n#\\n# in memory cachesize default: 1000, default:\\n# 1000\\n#zodb-cachesize 1000\\n#\\n# hostname of the MySQL server for ZODB,\\n# default: 127.0.0.1\\n#zodb-host 127.0.0.1\\n#\\n# port of the MySQL server for ZODB, default:\\n# 3306\\n#zodb-port 3306\\n#\\n# user of the MySQL server for ZODB, default:\\n# zenoss\\n#zodb-user zenoss\\n#\\n# password of the MySQL server for ZODB,\\n# default: zenoss\\n#zodb-password zenoss\\n#\\n# Name of database for MySQL object store,\\n# default: zodb\\n#zodb-db zodb\\n#\\n# Name of socket file for MySQL server\\n# connection if host is localhost\\n#zodb-socket None\\n#\\n# memcached servers to use for object\\n# cache (eg. 127.0.0.1:11211), default:\\n# 127.0.0.1:11211\\n#zodb-cacheservers 127.0.0.1:11211\\n#\\n# Defer polling the database for the specified\\n# maximum time interval, in seconds.\\n# This will default to 60 only if --zodb-cacheservers\\n# is set.\\n#zodb-poll-interval None\\n#\\n# Specify the number of seconds a database\\n# connection will wait to acquire a database\\n# 'commit' lock before failing (defaults\\n# to 30 seconds if not specified)., default:\\n# 30\\n#zodb-commit-lock-timeout 30\\n#\\n\"}},\"Context\":null,\"Endpoints\":[{\"Name\":\"mysql\",\"Purpose\":\"import\",\"Protocol\":\"\",\"PortNumber\":0,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"zodb_.*\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"memcached\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":11211,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"memcached\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"redis\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":6379,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"redis\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"rabbitmq\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":5672,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"rabbitmq\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"zenhub_rpc\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8081,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"localhost_zenhubXMLRpc\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null},{\"Name\":\"controlplane_consumer\",\"Purpose\":\"import\",\"Protocol\":\"tcp\",\"PortNumber\":8444,\"PortTemplate\":\"\",\"VirtualAddress\":\"\",\"Application\":\"controlplane_consumer\",\"ApplicationTemplate\":\"\",\"AddressConfig\":{\"Port\":0,\"Protocol\":\"\"},\"VHosts\":null}],\"Services\":[],\"Tasks\":null,\"LogFilters\":null,\"Volumes\":null,\"LogConfigs\":[{\"Path\":\"/opt/zenoss/log/zenactiond.log\",\"Type\":\"zenactiond\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":{\"debug\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} debug'\",\"stats\":\"su - zenoss -c '${ZENHOME:-/opt/zenoss}/bin/{{.Name}} stats'\"},\"HealthChecks\":{\"connected\":{\"Script\":\"tac /opt/zenoss/log/zenactiond.log | egrep -i -m 1 'consumer ready|shutting down|starting zenactiond|connection refused|lost connection' | [ $(grep -c -v 'consumer ready') -eq 0 ]\",\"Interval\":1},\"logging\":{\"Script\":\"f='/opt/zenoss/log/zenactiond.log'; if [ -f \\\"$f\\\" ]; then [ $(( $(date '+%s') - $(stat -c '%Z' \\\"$f\\\") )) -lt 65 ]; else false; fi\",\"Interval\":1},\"mysql_answering\":{\"Script\":\"su - zenoss -c '/opt/zenoss/bin/python /opt/zenoss/Products/ZenUtils/ZenDB.py --usedb zodb --execsql=\\\";\\\"'\",\"Interval\":10},\"rabbit_answering\":{\"Script\":\"curl -s http://localhost:5672/ | grep -q AMQP\",\"Interval\":10},\"redis_answering\":{\"Script\":\"redis-cli ping | grep -q PONG\",\"Interval\":1},\"running\":{\"Script\":\"ps ax | grep -q [z]enactiond.py\",\"Interval\":1}},\"Prereqs\":[{\"Name\":\"MySQL connectivity\",\"Script\":\"export TERM=xterm; mysql --host=127.0.0.1 --port=3306 -c ';' 2\\u003e\\u00261 | grep denied\"}],\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"}],\"Tasks\":null,\"LogFilters\":{\"pythondaemon\":\"# Matches lines of the form: 2013-10-31 06:10:54,292 INFO zen.zenutils.functioncache: initializing FunctionCache\\n\\n# assuming if it doesn't start with a number (date) then it is a newline\\nmultiline {\\n pattern =\\u003e \\\"^%{TIMESTAMP_ISO8601} \\\"\\n negate =\\u003e true\\n what =\\u003e \\\"previous\\\"\\n}\\n\\n# extract the timestamp, loglevel and logger from the message\\ngrok {\\n match =\\u003e [ \\\"message\\\", \\\"%{TIMESTAMP_ISO8601:timestamp} %{WORD:loglevel} %{USERNAME:logger}: \\\" ]\\n}\\n\",\"supervisord\":\"# similar to pythondaemon but it doesn't have a logger\\nmultiline {\\n pattern =\\u003e \\\"^%{TIMESTAMP_ISO8601} \\\"\\n negate =\\u003e true\\n what =\\u003e \\\"previous\\\"\\n}\\n# 2014-01-14 14:09:43,922 INFO success: zenperfpub entered RUNNING state, process has stayed up for \\u003e than 5 seconds (startsecs)\\ngrok {\\n match =\\u003e [ \\\"message\\\", \\\"%{TIMESTAMP_ISO8601:timestamp} %{WORD:loglevel}\\\" ]\\n}\\n\",\"z2_access_logs\":\"mutate {\\n gsub =\\u003e [ \\\"message\\\", \\\"\\\\[\\\", \\\"\\\" ]\\n gsub =\\u003e [ \\\"message\\\", \\\"\\\\]\\\", \\\"\\\" ]\\n}\\ngrok {\\n # 127.0.0.1 - Anonymous [03/Jan/2014:12:37:11 -0500] \\\\\\\"POST /zport/dmd/jobs_router HTTP/1.0\\\\\\\" 200 544 \\\\\\\"http://localhost:8080/zport/dmd/itinfrastructure\\\\\\\" \\\\\\\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36\\\\\\n match =\\u003e [ \\\"message\\\", \\\"%{IP:client} - %{WORD:user} %{HTTPDATE:date} %{QUOTEDSTRING:method} %{NUMBER:response} %{NUMBER:duration} %{QUOTEDSTRING:referrer} %{GREEDYDATA:agent}\\\" ]\\n}\\nmutate {\\n gsub =\\u003e [ \\\"referrer\\\", \\\"\\\\\\\"\\\", \\\"\\\" ]\\n gsub =\\u003e [ \\\"agent\\\", \\\"\\\\\\\"\\\", \\\"\\\" ]\\n gsub =\\u003e [ \\\"method\\\", \\\"\\\\\\\"\\\", \\\"\\\" ]\\n}\",\"zappdaemon\":\"# strip the brackets out of the timestamps so that it parses easier\\nmutate {\\n gsub =\\u003e [ \\\"message\\\", \\\"\\\\[\\\", \\\"\\\" ]\\n gsub =\\u003e [ \\\"message\\\", \\\"\\\\]\\\", \\\"\\\" ]\\n}\\n\\n# TODO verify that this is true\\nmultiline {\\n pattern =\\u003e \\\"^[!]\\\"\\n what =\\u003e \\\"previous\\\"\\n}\\n# DEBUG [2014-01-02 11:49:24,788] org.zenoss.metrics.reporter.ZenossMetricsReporter: Posting 593 metrics\\ngrok {\\n match =\\u003e [ \\\"message\\\", \\\"%{LOGLEVEL:loglevel} %{TIMESTAMP_ISO8601} %{USERNAME:logger}\\\"]\\n}\",\"zeneventserver\":\"# new lines start with a date\\nmultiline {\\n pattern =\\u003e \\\"^[A-Za-z|\\\\s]\\\"\\n what =\\u003e \\\"previous\\\"\\n}\\n\\n# drop the brackets to make parsing easier\\nmutate {\\n gsub =\\u003e [ \\\"message\\\", \\\"\\\\[\\\", \\\"\\\" ]\\n gsub =\\u003e [ \\\"message\\\", \\\"\\\\]\\\", \\\"\\\" ]\\n}\\n# 2013-10-31T06:52:44.215 [INDEXER_EVENT_SUMMARY] ERROR org.springframework.transaction.interceptor.TransactionInterceptor - Application exception overridden by rollback exception\\ngrok {\\n match =\\u003e [ \\\"message\\\", \\\"%{TIMESTAMP_ISO8601:time} %{WORD:component} %{LOGLEVEL:loglevel}\\\"]\\n}\",\"zope\":\"if [message] == \\\"------\\\" {\\n drop { }\\n}\"},\"Volumes\":[{\"Owner\":\"zenoss:zenoss\",\"Permission\":\"0775\",\"ResourcePath\":\"zproxy\",\"ContainerPath\":\"/opt/zenoss/var/zproxy\",\"Type\":\"tmp\"}],\"LogConfigs\":[{\"Path\":\"/var/log/zproxy/zproxy.log\",\"Type\":\"zproxy\",\"Filters\":null,\"LogTags\":null}],\"Snapshot\":{\"Pause\":\"\",\"Resume\":\"\"},\"RAMCommitment\":268435456,\"CPUCommitment\":0,\"Runs\":null,\"Actions\":null,\"HealthChecks\":{\"answering\":{\"Script\":\"curl -f -s http://localhost:8080/ \\u003e /dev/null\",\"Interval\":1},\"ready\":{\"Script\":\"curl http://localhost:8080/zport/dmd | grep zope \\u003e /dev/null\",\"Interval\":30},\"running\":{\"Script\":\"ps aux | egrep -q ^zenoss.*nginx\",\"Interval\":1}},\"Prereqs\":null,\"MonitoringProfile\":{\"MetricConfigs\":null,\"GraphConfigs\":null,\"ThresholdConfigs\":null},\"MemoryLimit\":0,\"CPUShares\":0,\"PIDFile\":\"\"}],\"ConfigFiles\":null}","APIVersion":1,"TemplateVersion":1}},{"_index":"controlplane","_type":"host","_id":"020a10d2","_score":1.0, "_source" : {"ID":"020a10d2","Name":"zenosscc","PoolID":"default","IPAddr":"10.2.210.16","Cores":4,"Memory":16828715008,"PrivateNetwork":"172.17.0.0/255.255.0.0","CreatedAt":"2014-09-09T09:00:24.530936704Z","UpdatedAt":"2014-09-09T09:00:24.530936704Z","IPs":[{"HostID":"020a10d2","IPAddress":"10.2.210.16","InterfaceName":"eth0"}],"KernelVersion":"#60-Ubuntu","KernelRelease":"3.13.0-34-generic","ServiceD":{"Version":"0.8.0","Date":"Wed Aug 27 22:41:44 UTC 2014","Gitcommit":"416cf05-dirty","Gitbranch":"HEAD","Giturl":"","Buildtag":"jenkins-europa_beta2_serviced_svcdefs_build-19"},"MonitoringProfile":{"MetricConfigs":null,"GraphConfigs":null,"ThresholdConfigs":null}}},{"_index":"controlplane","_type":"user","_id":"system_user","_score":1.0, "_source" : {"Name":"system_user","Password":"b4 b2 03 ff 4d 8d 24 d8 52 e7 97 36 da 9a 40 c0 05 ca 62 11"}},{"_index":"controlplane","_type":"addressassignment","_id":"cm87bo43pn79iuasvlan9q37p","_score":1.0, "_source" : {"ID":"cm87bo43pn79iuasvlan9q37p","AssignmentType":"static","HostID":"020a10d2","PoolID":"default","IPAddr":"10.2.210.16","Port":514,"ServiceID":"1oj4nle4l385wvcwk6e0n404j","EndpointName":"syslog"}},{"_index":"controlplane","_type":"service","_id":"2vsil2eb7jg1649wu9n15rogi","_score":1.0, "_source" : {"ID":"2vsil2eb7jg1649wu9n15rogi","Name":"MetricConsumer","Context":"null","Startup":"su - zenoss -c \"cd /opt/zenoss \u0026\u0026 /bin/supervisord -n -c etc/metric-consumer-app/supervisord.conf\"","Description":"","Tags":["daemon"],"OriginalConfigs":{},"ConfigFiles":{},"Instances":1,"InstanceLimits":{"Min":1,"Max":0},"ChangeOptions":null,"ImageID":"zenosscc:5000/f545bfuhyuoytdjqy03rri2le/core-testing","PoolID":"default","DesiredState":1,"HostPolicy":"","Hostname":"","Privileged":false,"Launch":"auto","Endpoints":[{"Name":"metric_consumer","Purpose":"export","Protocol":"tcp","PortNumber":8443,"PortTemplate":"","VirtualAddress":"","Application":"metric_consumer","ApplicationTemplate":"metric_consumer","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zproxy","Purpose":"import","Protocol":"tcp","PortNumber":8080,"PortTemplate":"","VirtualAddress":"","Application":"zproxy","ApplicationTemplate":"zproxy","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"opentsdb-writer","Purpose":"import","Protocol":"tcp","PortNumber":4242,"PortTemplate":"","VirtualAddress":"","Application":"opentsdb-writer","ApplicationTemplate":"opentsdb-writer","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}}],"Tasks":null,"ParentServiceID":"f545bfuhyuoytdjqy03rri2le","Volumes":null,"CreatedAt":"2014-09-09T09:03:05.946612421Z","UpdatedAt":"2014-09-09T09:03:05.946612421Z","DeploymentID":"Test","DisableImage":false,"LogConfigs":[{"Path":"/opt/zenoss/log/metric-consumer-app.log","Type":"metricconsumer","Filters":["zappdaemon"],"LogTags":null}],"Snapshot":{"Pause":"","Resume":""},"Runs":null,"RAMCommitment":268435456,"CPUCommitment":0,"Actions":{"debug":"bash -c 'curl -X POST http://localhost:58443/tasks/debugtoggle'"},"HealthChecks":{"listening":{"Script":"nmap -oG - -Pn -sS -p 8443 127.0.0.1 | grep -q 8443/open","Interval":10},"stats_listening":{"Script":"curl -s http://localhost:58443/metrics | grep -q org.zenoss.app.consumer.metric.impl.MetricsQueue","Interval":1}},"Prereqs":null,"MonitoringProfile":{"MetricConfigs":[{"ID":"jvm.fd_usage","Name":"JVM File Descriptor Usage","Description":"JVM File Descriptor Usage Statistics","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"jvm.fd_usage\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"jvm.fd_usage","Name":"FD Usage Count","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"jvm.thread","Name":"JVM Thread","Description":"JVM Thread Type Statistics","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"jvm.thread_count\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.daemon_thread_count\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"jvm.thread_count","Name":"JVM Thread Count","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.daemon_thread_count","Name":"JVM Daemon Thread Count","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"jvm.memory","Name":"JVM Memory","Description":"JVM heap vs. non-heap memory usage","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"jvm.memory.heap_usage\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.memory.non_heap_usage\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"jvm.memory.heap_usage","Name":"JVM Heap Memory Usage","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.memory.non_heap_usage","Name":"JVM Non-Heap Memory Usage","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"jvm.memory.memory_pool_usages","Name":"JVM Memory Pool","Description":"JVM Memory Pool Usage","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"jvm.memory.memory_pool_usages.Code_Cache\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.memory.memory_pool_usages.PS_Eden_Space\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.memory.memory_pool_usages.PS_Old_Gen\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.memory.memory_pool_usages.PS_Perm_Gen\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.memory.memory_pool_usages.PS_Survivor_Space\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"jvm.memory.memory_pool_usages.Code_Cache","Name":"Code Cache","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.memory.memory_pool_usages.PS_Eden_Space","Name":"Eden Space","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.memory.memory_pool_usages.PS_Old_Gen","Name":"Old Generation","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.memory.memory_pool_usages.PS_Perm_Gen","Name":"Permanent Generation","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.memory.memory_pool_usages.PS_Survivor_Space","Name":"Survivor Space","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"jvm.gc","Name":"JVM Garbage Collection","Description":"JVM Garbage Collection Statistics","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"jvm.gc.PS_MarkSweep.runs\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.gc.PS_MarkSweep.time\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.gc.PS_Scavenge.runs\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.gc.PS_Scavenge.time\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"jvm.gc.PS_MarkSweep.runs","Name":"JVM Garbage Collection MarkSweep Runs","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.gc.PS_MarkSweep.time","Name":"JVM Garbage Collection MarkSweep Time","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.gc.PS_Scavenge.runs","Name":"JVM Garbage Collection Scavenge Runs","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.gc.PS_Scavenge.time","Name":"JVM Garbage Collection Scavenge Time","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"jvm.threads-states","Name":"JVM Thread States","Description":"JVM Thread States","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"jvm.thread-states.blocked\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.thread-states.new\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.thread-states.runnable\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.thread-states.terminated\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.thread-states.timed_waiting\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"jvm.thread-states.waiting\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"jvm.thread-states.blocked","Name":"JVM Threads in Blocked State","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.thread-states.new","Name":"JVM Threads in New State","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.thread-states.runnable","Name":"JVM Threads in Runnable State","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.thread-states.terminated","Name":"JVM Threads in Terminated State","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.thread-states.timed_waiting","Name":"JVM Threads in Timed Waiting State","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"jvm.thread-states.waiting","Name":"JVM Threads in Waiting State","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"MetricsQueue.totalIncoming","Name":"Total Incoming Metrics","Description":"Total Incoming Metric Statistics","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.count\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.meanRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.1MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.5MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.15MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.count","Name":"MetricsQueue Total Incoming Count","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.meanRate","Name":"MetricsQueue Total Incoming Mean Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.1MinuteRate","Name":"MetricsQueue Total Incoming 1 Minute Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.5MinuteRate","Name":"MetricsQueue Total Incoming 5 Minute Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalIncoming.15MinuteRate","Name":"MetricsQueue Total Incoming 15 MinuteRate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"MetricsQueue.totalOutgoing","Name":"Total Incoming Metrics","Description":"Total Incoming Metric Statistics","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.count\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.meanRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.1MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.5MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.15MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.count","Name":"MetricsQueue Total Incoming Count","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.meanRate","Name":"MetricsQueue Total Incoming Mean Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.1MinuteRate","Name":"MetricsQueue Total Incoming 1 Minute Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.5MinuteRate","Name":"MetricsQueue Total Incoming 5 Minute Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalOutgoing.15MinuteRate","Name":"MetricsQueue Total Incoming 15 MinuteRate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"MetricsQueue.totalErrors","Name":"Total Errors","Description":"Total Errors","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalErrors.count\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.impl.MetricsQueue.totalErrors.count","Name":"MetricsQueue Total Errors Count","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]},{"ID":"MetricsWebResource.post","Name":"MetricsWebResource Post Statistics","Description":"HTTP Post Statistics for the MetricsWebResource","Query":{"RequestURI":"/metrics/api/performance/query","Method":"POST","Headers":{"Content-Type":["application/json"]},"Data":"{\"metrics\":[{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.count\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.meanRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.1MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.5MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.15MinuteRate\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.max\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.mean\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.median\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.75Percentile\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.95Percentile\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.98Percentile\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.99Percentile\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}},{\"metric\":\"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.999Percentile\",\"tags\":{\"controlplane_service_id\":[\"2vsil2eb7jg1649wu9n15rogi\"]}}],\"start\":\"1h-ago\"}"},"Metrics":[{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.count","Name":"MetricWebResource Total Post","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.meanRate","Name":"MetricWebResource Average Response Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.1MinuteRate","Name":"MetricWebResource 1 Minute Moving Average Response Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.5MinuteRate","Name":"MetricWebResource 5 Minute Moving Average Response Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.15MinuteRate","Name":"MetricWebResource 15 Minute Moving Average Response Rate","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.max","Name":"MetricWebResource Content-Length Max","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.mean","Name":"MetricWebResource Content-Length Mean","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.median","Name":"MetricWebResource Content-Length Median","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.75Percentile","Name":"MetricWebResource Content-Length Histogram 75%","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.95Percentile","Name":"MetricWebResource Content-Length Histogram 95%","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.98Percentile","Name":"MetricWebResource Content-Length Histogram 98%","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.99Percentile","Name":"MetricWebResource Content-Length Histogram 99%","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false},{"ID":"ZEN_INF.org.zenoss.app.consumer.metric.remote.MetricWebResource.post.999Percentile","Name":"MetricWebResource Content-Length Histogram 99.9%","Description":"","Counter":false,"ResetValue":0,"Unit":"","BuiltIn":false}]}],"GraphConfigs":[],"ThresholdConfigs":[]},"MemoryLimit":0,"CPUShares":0,"PIDFile":""}},{"_index":"controlplane","_type":"service","_id":"f4jldn2yp8dg92i2lyrz41jgn","_score":1.0, "_source" : {"ID":"f4jldn2yp8dg92i2lyrz41jgn","Name":"RegionServer","Context":"null","Startup":"/usr/bin/run-hbase-regionserver.sh /etc/hbase-site.xml $CONTROLPLANE_INSTANCE_ID","Description":"","Tags":["daemon"],"OriginalConfigs":{"/etc/hbase-env.sh":{"Filename":"/etc/hbase-env.sh","Owner":"hbase:hbase","Permissions":"0775","Content":"export HBASE_MANAGES_ZK=false\n"},"/etc/hbase-site.xml":{"Filename":"/etc/hbase-site.xml","Owner":"hbase:hbase","Permissions":"0664","Content":"\u003cconfiguration\u003e\n \u003cproperty\u003e\n \u003cname\u003ehbase.rootdir\u003c/name\u003e\n \u003cvalue\u003efile:///var/hbase\u003c/value\u003e\n \u003c/property\u003e\n \u003cproperty\u003e\n \u003cname\u003ehbase.cluster.distributed\u003c/name\u003e\n \u003cvalue\u003etrue\u003c/value\u003e\n \u003c/property\u003e\n \u003cproperty\u003e\n \u003cname\u003ehbase.zookeeper.quorum\u003c/name\u003e\n \u003cvalue\u003e{{ with $zks := (child (parent .) \"ZooKeeper\").Instances }}{{range (each $zks) }}zk{{plus 1 .}}{{if ne (plus 1 .) $zks}},{{end}}{{end}}{{end}}\u003c/value\u003e\n \u003c/property\u003e\n\u003c/configuration\u003e"}},"ConfigFiles":{},"Instances":1,"InstanceLimits":{"Min":1,"Max":0},"ChangeOptions":null,"ImageID":"zenosscc:5000/f545bfuhyuoytdjqy03rri2le/hbase","PoolID":"default","DesiredState":1,"HostPolicy":"","Hostname":"localhost","Privileged":true,"Launch":"auto","Endpoints":[{"Name":"hbase-master-1","Purpose":"import","Protocol":"tcp","PortNumber":60000,"PortTemplate":"","VirtualAddress":"","Application":"hbase-master-1","ApplicationTemplate":"hbase-master-1","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"hbase-regionserver","Purpose":"export","Protocol":"tcp","PortNumber":60200,"PortTemplate":"{{ plus 60200 .InstanceID }}","VirtualAddress":"","Application":"hbase-regionserver","ApplicationTemplate":"hbase-regionserver","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"hbase-regionservers","Purpose":"import_all","Protocol":"tcp","PortNumber":60200,"PortTemplate":"","VirtualAddress":"","Application":"hbase-regionserver","ApplicationTemplate":"hbase-regionserver","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"hbase-regionserverinfo","Purpose":"export","Protocol":"tcp","PortNumber":60300,"PortTemplate":"{{ plus 60300 .InstanceID }}","VirtualAddress":"","Application":"hbase-regionserverinfo","ApplicationTemplate":"hbase-regionserverinfo","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zookeeper-client","Purpose":"import_all","Protocol":"tcp","PortNumber":2181,"PortTemplate":"","VirtualAddress":"zk{{ plus 1 .InstanceID }}:2181","Application":"zookeeper-client","ApplicationTemplate":"zookeeper-client","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}}],"Tasks":null,"ParentServiceID":"d45mrv4ckgd7cnio8ir4hzknr","Volumes":[{"Owner":"hbase:hbase","Permission":"0755","ResourcePath":"hbase-master","ContainerPath":"/var/hbase","Type":""}],"CreatedAt":"2014-09-09T09:03:05.633553639Z","UpdatedAt":"2014-09-09T09:03:05.633553639Z","DeploymentID":"Test","DisableImage":false,"LogConfigs":[{"Path":"/var/log/hbase/hbase-regionserver.log","Type":"mysql","Filters":null,"LogTags":null}],"Snapshot":{"Pause":"","Resume":""},"Runs":null,"RAMCommitment":268435456,"CPUCommitment":0,"Actions":null,"HealthChecks":{"answering":{"Script":"echo foo | nc -q1 localhost {{ plus 60200 .InstanceID }} | grep -q HBas","Interval":1}},"Prereqs":[{"Name":"HBase Master up","Script":"echo foo | nc -q1 localhost 60000 | grep 4org \u0026\u0026 sleep 10"}],"MonitoringProfile":{"MetricConfigs":[],"GraphConfigs":[],"ThresholdConfigs":[]},"MemoryLimit":0,"CPUShares":0,"PIDFile":""}},{"_index":"controlplane","_type":"service","_id":"9ktmbphcuhbnwp69a3a2m09kp","_score":1.0, "_source" : {"ID":"9ktmbphcuhbnwp69a3a2m09kp","Name":"HMaster","Context":"null","Startup":"/usr/bin/run-hbase-master.sh /etc/hbase-site.xml","Description":"","Tags":["daemon"],"OriginalConfigs":{"/etc/hbase-env.sh":{"Filename":"/etc/hbase-env.sh","Owner":"hbase:hbase","Permissions":"0775","Content":"export HBASE_MANAGES_ZK=false\n"},"/etc/hbase-site.xml":{"Filename":"/etc/hbase-site.xml","Owner":"hbase:hbase","Permissions":"0664","Content":"\u003cconfiguration\u003e\n \u003cproperty\u003e\n \u003cname\u003ehbase.rootdir\u003c/name\u003e\n \u003cvalue\u003efile:///var/hbase\u003c/value\u003e\n \u003c/property\u003e\n \u003cproperty\u003e\n \u003cname\u003ehbase.cluster.distributed\u003c/name\u003e\n \u003cvalue\u003etrue\u003c/value\u003e\n \u003c/property\u003e\n \u003cproperty\u003e\n \u003cname\u003ehbase.zookeeper.quorum\u003c/name\u003e\n \u003cvalue\u003ezk1\u003c/value\u003e\n \u003c/property\u003e\n\u003c/configuration\u003e\n"}},"ConfigFiles":{},"Instances":1,"InstanceLimits":{"Min":1,"Max":0},"ChangeOptions":null,"ImageID":"zenosscc:5000/f545bfuhyuoytdjqy03rri2le/hbase","PoolID":"default","DesiredState":1,"HostPolicy":"","Hostname":"localhost","Privileged":true,"Launch":"auto","Endpoints":[{"Name":"hbase-master-1","Purpose":"export","Protocol":"tcp","PortNumber":60000,"PortTemplate":"","VirtualAddress":"","Application":"hbase-master-1","ApplicationTemplate":"hbase-master-1","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"hbase-masterinfo-1","Purpose":"export","Protocol":"tcp","PortNumber":60010,"PortTemplate":"","VirtualAddress":"","Application":"hbase-masterinfo-1","ApplicationTemplate":"hbase-masterinfo-1","AddressConfig":{"Port":0,"Protocol":""},"VHosts":["hbase"],"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"hbase-regionserver","Purpose":"import_all","Protocol":"tcp","PortNumber":60200,"PortTemplate":"","VirtualAddress":"","Application":"hbase-regionserver","ApplicationTemplate":"hbase-regionserver","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zookeeper-client","Purpose":"import_all","Protocol":"tcp","PortNumber":2181,"PortTemplate":"","VirtualAddress":"zk{{ plus 1 .InstanceID }}:2181","Application":"zookeeper-client","ApplicationTemplate":"zookeeper-client","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}}],"Tasks":null,"ParentServiceID":"d45mrv4ckgd7cnio8ir4hzknr","Volumes":[{"Owner":"hbase:hbase","Permission":"0755","ResourcePath":"hbase-master","ContainerPath":"/var/hbase","Type":""}],"CreatedAt":"2014-09-09T09:03:05.398536618Z","UpdatedAt":"2014-09-09T09:03:05.398536618Z","DeploymentID":"Test","DisableImage":false,"LogConfigs":[{"Path":"/var/log/hbase/hbase-master.log","Type":"mysql","Filters":null,"LogTags":null}],"Snapshot":{"Pause":"","Resume":""},"Runs":null,"RAMCommitment":268435456,"CPUCommitment":0,"Actions":null,"HealthChecks":{"answering":{"Script":"echo foo | nc -q1 localhost 60000 | grep -q HBas","Interval":1}},"Prereqs":[{"Name":"All ZooKeepers up","Script":"{{with $zks := (child (parent .) \"ZooKeeper\").Instances }}{{ range (each $zks) }}echo ruok | nc -q10 zk{{plus 1 .}} 2181 | grep imok {{if ne (plus 1 .) $zks}}\u0026\u0026 {{end}}{{end}}{{end}}"}],"MonitoringProfile":{"MetricConfigs":[],"GraphConfigs":[],"ThresholdConfigs":[]},"MemoryLimit":0,"CPUShares":0,"PIDFile":""}},{"_index":"controlplane","_type":"service","_id":"6rdmhgryas6v75dxehlqo31pk","_score":1.0, "_source" : {"ID":"6rdmhgryas6v75dxehlqo31pk","Name":"ZooKeeper","Context":"null","Startup":"/usr/bin/run-zk.sh /etc/zookeeper.cfg","Description":"","Tags":["daemon"],"OriginalConfigs":{"/etc/zookeeper.cfg":{"Filename":"/etc/zookeeper.cfg","Owner":"zookeeper:zookeeper","Permissions":"0664","Content":"tickTime=2000\ndataDir=/var/lib/zookeeper\nclientPort={{plus 2181 .InstanceID}}\ninitLimit=5\nsyncLimit=2\n{{range $i, $n := (each .Instances)}}\nserver.{{plus 1 $n}}=127.0.0.1:{{plus $n 2888}}:{{plus $n 3888}}{{ end }}\n"},"/var/lib/zookeeper/myid":{"Filename":"/var/lib/zookeeper/myid","Owner":"zookeeper:zookeeper","Permissions":"0664","Content":"{{ plus 1 .InstanceID }}"}},"ConfigFiles":{},"Instances":1,"InstanceLimits":{"Min":1,"Max":1},"ChangeOptions":null,"ImageID":"zenosscc:5000/f545bfuhyuoytdjqy03rri2le/hbase","PoolID":"default","DesiredState":1,"HostPolicy":"","Hostname":"zk{{ plus 1 .InstanceID }}","Privileged":true,"Launch":"auto","Endpoints":[{"Name":"zookeeper-client","Purpose":"export","Protocol":"tcp","PortNumber":2181,"PortTemplate":"{{ plus .InstanceID 2181}}","VirtualAddress":"","Application":"zookeeper-client","ApplicationTemplate":"zookeeper-client","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zookeeper-quorum","Purpose":"export","Protocol":"tcp","PortNumber":2888,"PortTemplate":"{{ plus .InstanceID 2888}}","VirtualAddress":"","Application":"zookeeper-quorum","ApplicationTemplate":"zookeeper-quorum","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zookeeper-leader","Purpose":"export","Protocol":"tcp","PortNumber":3888,"PortTemplate":"{{ plus .InstanceID 3888}}","VirtualAddress":"","Application":"zookeeper-leader","ApplicationTemplate":"zookeeper-leader","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zookeeper-clients","Purpose":"import_all","Protocol":"tcp","PortNumber":2181,"PortTemplate":"","VirtualAddress":"","Application":"zookeeper-client","ApplicationTemplate":"zookeeper-client","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zookeeper-quora","Purpose":"import_all","Protocol":"tcp","PortNumber":2888,"PortTemplate":"","VirtualAddress":"","Application":"zookeeper-quorum","ApplicationTemplate":"zookeeper-quorum","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zookeeper-leaders","Purpose":"import_all","Protocol":"tcp","PortNumber":3888,"PortTemplate":"","VirtualAddress":"","Application":"zookeeper-leader","ApplicationTemplate":"zookeeper-leader","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}}],"Tasks":null,"ParentServiceID":"d45mrv4ckgd7cnio8ir4hzknr","Volumes":[{"Owner":"zookeeper:zookeeper","Permission":"0755","ResourcePath":"hbase-zookeeper-{{ plus 1 .InstanceID }}","ContainerPath":"/var/lib/zookeeper/version-2","Type":""}],"CreatedAt":"2014-09-09T09:03:05.793888541Z","UpdatedAt":"2014-09-09T09:03:05.793888541Z","DeploymentID":"Test","DisableImage":false,"LogConfigs":[{"Path":"/var/log/zookeeper/zookeeper.log","Type":"mysql","Filters":null,"LogTags":null}],"Snapshot":{"Pause":"","Resume":""},"Runs":null,"RAMCommitment":268435456,"CPUCommitment":0,"Actions":null,"HealthChecks":{"answering":{"Script":"echo stats | nc -q 1 localhost {{ plus 2181 .InstanceID }} | grep -q Zookeeper","Interval":1}},"Prereqs":null,"MonitoringProfile":{"MetricConfigs":[],"GraphConfigs":[],"ThresholdConfigs":[]},"MemoryLimit":0,"CPUShares":0,"PIDFile":""}},{"_index":"controlplane","_type":"service","_id":"f545bfuhyuoytdjqy03rri2le","_score":1.0, "_source" : {"ID":"f545bfuhyuoytdjqy03rri2le","Name":"Zenoss.core","Context":"{\"ZenPack.Default.RAMCommitment\":2.68435456e+08,\"ZenPack.Default.WorkerArgs\":\"\"}","Startup":"redis-server /etc/redis.conf \u0026 /bin/sh -c \"cd /opt/zenoss \u0026\u0026 exec ./zproxy/sbin/zproxy start\"","Description":"Zenoss Core Lite","Tags":["daemon"],"OriginalConfigs":{},"ConfigFiles":{},"Instances":1,"InstanceLimits":{"Min":1,"Max":0},"ChangeOptions":null,"ImageID":"zenosscc:5000/f545bfuhyuoytdjqy03rri2le/core-testing","PoolID":"default","DesiredState":1,"HostPolicy":"","Hostname":"","Privileged":false,"Launch":"auto","Endpoints":[{"Name":"zproxy","Purpose":"export","Protocol":"tcp","PortNumber":8080,"PortTemplate":"","VirtualAddress":"","Application":"zproxy","ApplicationTemplate":"zproxy","AddressConfig":{"Port":0,"Protocol":""},"VHosts":["zenoss5x"],"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zope","Purpose":"import","Protocol":"tcp","PortNumber":9080,"PortTemplate":"","VirtualAddress":"","Application":"zope","ApplicationTemplate":"zope","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"metric_consumer","Purpose":"import","Protocol":"tcp","PortNumber":8443,"PortTemplate":"","VirtualAddress":"","Application":"metric_consumer","ApplicationTemplate":"metric_consumer","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"zauth","Purpose":"import","Protocol":"tcp","PortNumber":9180,"PortTemplate":"","VirtualAddress":"","Application":"zauth","ApplicationTemplate":"zauth","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}},{"Name":"central_query","Purpose":"import","Protocol":"tcp","PortNumber":8888,"PortTemplate":"","VirtualAddress":"","Application":"central_query","ApplicationTemplate":"central_query","AddressConfig":{"Port":0,"Protocol":""},"VHosts":null,"AddressAssignment":{"ID":"","AssignmentType":"","HostID":"","PoolID":"","IPAddr":"","Port":0,"ServiceID":"","EndpointName":""}}],"Tasks":null,"ParentServiceID":"","Volumes":[{"Owner":"zenoss:zenoss","Permission":"0775","ResourcePath":"zproxy","ContainerPath":"/opt/zenoss/var/zproxy","Type":"tmp"}],"CreatedAt":"2014-09-09T09:03:04.922902983Z","UpdatedAt":"2014-09-09T09:03:04.922902983Z","DeploymentID":"Test","DisableImage":false,"LogConfigs":[{"Path":"/var/log/zproxy/zproxy.log","Type":"zproxy","Filters":null,"LogTags":null}],"Snapshot":{"Pause":"","Resume":""},"Runs":null,"RAMCommitment":268435456,"CPUCommitment":0,"Actions":null,"HealthChecks":{"answering":{"Script":"curl -f -s http://localhost:8080/ \u003e /dev/null","Interval":1},"ready":{"Script":"curl http://localhost:8080/zport/dmd | grep zope \u003e /dev/null","Interval":30},"running":{"Script":"ps aux | egrep -q ^zenoss.*nginx","Interval":1}},"Prereqs":null,"MonitoringProfile":{"MetricConfigs":[],"GraphConfigs":[],"ThresholdConfigs":[]},"MemoryLimit":0,"CPUShares":0,"PIDFile":""}}]}}
Add Comment
Please, Sign In to add comment