summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2011-08-08 00:13:13 +0100
committerRichard Wall <richard@largo>2011-08-08 00:13:13 +0100
commit8a80c676ce5c531755a4185d6367363f58431e8f (patch)
tree2302b71ca305297f4b1d638f05db776d268149d4
parentc0c8871c50f51122c2845882c1de6b9187f4ca88 (diff)
remove dns recipes - few people will have the data for those
-rw-r--r--docs/examples/jarmon_example_recipes.js26
1 files changed, 2 insertions, 24 deletions
diff --git a/docs/examples/jarmon_example_recipes.js b/docs/examples/jarmon_example_recipes.js
index 5677b18..98cd8a7 100644
--- a/docs/examples/jarmon_example_recipes.js
+++ b/docs/examples/jarmon_example_recipes.js
@@ -5,14 +5,13 @@
* based on the RRD data available on your system.
*/
-if(typeof jarmon == 'undefined') {
+if(typeof(jarmon) === 'undefined') {
var jarmon = {};
}
jarmon.TAB_RECIPES_STANDARD = [
['System', ['cpu', 'memory','load']],
- ['Network', ['interface']],
- ['DNS', ['dns_query_types', 'dns_return_codes']]
+ ['Network', ['interface']]
];
jarmon.CHART_RECIPES_COLLECTD = {
@@ -42,27 +41,6 @@ jarmon.CHART_RECIPES_COLLECTD = {
jarmon.Chart.STACKED_OPTIONS)
},
- 'dns_query_types': {
- title: 'DNS Query Types',
- data: [
- ['data/dns/dns_qtype-A.rrd', 0, 'A', 'Q/s'],
- ['data/dns/dns_qtype-PTR.rrd', 0, 'PTR', 'Q/s'],
- ['data/dns/dns_qtype-SOA.rrd', 0, 'SOA', 'Q/s'],
- ['data/dns/dns_qtype-SRV.rrd', 0, 'SRV', 'Q/s']
- ],
- options: jQuery.extend(true, {}, jarmon.Chart.BASE_OPTIONS)
- },
-
- 'dns_return_codes': {
- title: 'DNS Return Codes',
- data: [
- ['data/dns/dns_rcode-NOERROR.rrd', 0, 'NOERROR', 'Q/s'],
- ['data/dns/dns_rcode-NXDOMAIN.rrd', 0, 'NXDOMAIN', 'Q/s'],
- ['data/dns/dns_rcode-SERVFAIL.rrd', 0, 'SERVFAIL', 'Q/s']
- ],
- options: jQuery.extend(true, {}, jarmon.Chart.BASE_OPTIONS)
- },
-
'load': {
title: 'Load Average',
data: [