From 8a80c676ce5c531755a4185d6367363f58431e8f Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Mon, 8 Aug 2011 00:13:13 +0100 Subject: remove dns recipes - few people will have the data for those --- docs/examples/jarmon_example_recipes.js | 26 ++------------------------ 1 file 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: [ -- cgit v1.1-4-g5e80