runcharts: - title: SEARCH ENGINE RESPONSE TIME (sec) position: w: 0 h: 0 size: w: 40 h: 18 scale: 3 items: - label: GOOGLE script: curl -o /dev/null -s -w '%{time_total}' https://www.google.com - label: YAHOO script: curl -o /dev/null -s -w '%{time_total}' https://search.yahoo.com - label: BING script: curl -o /dev/null -s -w '%{time_total}' https://www.bing.com - title: SEARCH ENGINE RESPONSE TIME 2 (sec) refresh-rate-ms: 5000 position: w: 40 h: 0 size: w: 20 h: 18 legend: enabled: true details: false items: - label: GOOGLE script: curl -o /dev/null -s -w '%{time_total}' https://www.google.com - label: YAHOO script: curl -o /dev/null -s -w '%{time_total}' https://search.yahoo.com - label: BING script: curl -o /dev/null -s -w '%{time_total}' https://www.bing.com - title: MONGO COLLECTIONS COUNT position: w: 21 h: 18 size: w: 19 h: 13 scale: 0 items: - label: ACTIVE script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'ACTIVE'}).itcount()" - label: INACTIVE script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'INACTIVE'}).itcount()" barcharts: - title: EVENTS BY STATUS refresh-rate-ms: 1000 position: w: 0 h: 18 size: w: 21 h: 13 scale: 0 items: - label: NEW script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'ACTIVE'}).itcount()" - label: TRIGGERED script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'INACTIVE'}).itcount()" - label: IN_PROCESS script: echo 0 - label: FINISHED script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'ACTIVE'}).itcount()" - label: FAILED script: mongo --quiet --host=localhost blog --eval "db.getCollection('posts').find({status:'INACTIVE'}).itcount()" asciiboxes: - title: LOCAL TIME position: w: 40 h: 18 size: w: 20 h: 6 script: date +%r - title: UTC TIME position: w: 40 h: 24 size: w: 20 h: 7 script: env TZ=UTC date +%r font: 3d