bind9.xsl.h revision 1b6e38d7b83b26f123e6f113e4b30093a2774562
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley * Generated by convertxsl.pl 1.14 2008/07/17 23:43:26 jinmei Exp
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley * From unknown
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halleystatic char xslmsg[] =
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - Copyright (C) 2006-2009, 2012-2015 Internet Systems Consortium, Inc. (\"ISC\")\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - Permission to use, copy, modify, and/or distribute this software for any\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - purpose with or without fee is hereby granted, provided that the above\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - copyright notice and this permission notice appear in all copies.\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " - PERFORMANCE OF THIS SOFTWARE.\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley "<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns=\"http://www.w3.org/1999/xhtml\" version=\"1.0\">\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <xsl:output method=\"html\" indent=\"yes\" version=\"4.0\"/>\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <xsl:template match=\"statistics[@version="3.6"]\">\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <!-- Non Mozilla specific markup -->\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <script type=\"text/javascript\" src=\"https://www.google.com/jsapi\"/>\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <script type=\"text/javascript\">\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " google.load(\"visualization\", \"1\", {packages:[\"corechart\"]});\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " google.setOnLoadCallback(loadGraphs);\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " var graphs=[];\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " function drawChart(chart_title,target,style,data) {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " var data = google.visualization.arrayToDataTable(data);\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " var options = {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " title: chart_title\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " var chart;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " if (style == \"barchart\") {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " chart = new google.visualization.BarChart(document.getElementById(target));\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " chart.draw(data, options);\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " } else if (style == \"piechart\") {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " chart = new google.visualization.PieChart(document.getElementById(target));\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " chart.draw(data, options);\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " function loadGraphs(){\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " while(g = graphs.shift()){\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " // alert(\"going for: \" + g.target);\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " if(g.data.length > 1){\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " drawChart(g.title,g.target,g.style,g.data);\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <xsl:if test=\"server/counters[@type="qtype"]/counter\">\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " // Server Incoming Query Types\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " graphs.push({\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " 'title' : \"Server Incoming Query Types\",\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " 'target': 'chart_incoming_qtypes',\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " 'style': 'barchart',\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " 'data': [['Type','Counter'],<xsl:for-each select=\"server/counters[@type="qtype"]/counter\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " </xsl:if>\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <xsl:if test=\"server/counters[@type="opcode"]/counter\">\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " // Server Incoming Requests by opcode\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " graphs.push({\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " 'title' : \"Server Incoming Requests by DNS Opcode\",\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " 'target': 'chart_incoming_opcodes',\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " 'style': 'barchart',\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " 'data': [['Opcode','Counter'],<xsl:for-each select=\"server/counters[@type="opcode"]/counter[. > 0 or substring(@name,1,3) != 'RES']\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]});\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " </xsl:if>\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " </script>\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " </xsl:if>\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " <style type=\"text/css\">\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " font-family: sans-serif;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " background-color: #ffffff;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " color: #000000;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " font-size: 10pt;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " background-color: #f0f0f0;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " background-color: #ffffff;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " p.footer{\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " font-style:italic;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " color: grey;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " table {\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " border-collapse: collapse;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 500px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.counters th {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: right;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 150px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.counters td {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: right;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " font-family: monospace;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.counters tr:hover{\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " background-color: #99ddff;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.info {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 500px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.info th {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: center;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 150px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.info td {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: center;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.info tr:hover{\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " background-color: #99ddff;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 500px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.tasks th {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: center;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 150px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.tasks td {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: right;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " font-family: monospace;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.tasks td:nth-child(2) {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: center;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.tasks td:nth-child(4) {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: center;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.tasks tr:hover{\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " background-color: #99ddff;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.netstat {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 500px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.netstat th {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: center;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 150px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.netstat td {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: center;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.netstat td:nth-child(4) {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: right;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " font-family: monospace;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.netstat td:nth-child(7) {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: left;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.netstat tr:hover{\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " background-color: #99ddff;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.mctx {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width: 500px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.mctx th {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: center;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " border: 1px solid grey;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " table.mctx td {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " text-align: right;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " font-family: monospace;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " table.mctx td:nth-child(-n+2) {\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " text-align: left;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " width: 100px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " table.mctx tr:hover{\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " background-color: #99ddff;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " .totals {\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " background-color: rgb(1,169,206);\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " color: #ffffff;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " td, th {\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " padding-right: 5px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " padding-left: 5px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " border: 1px solid grey;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " .header h1 {\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " color: rgb(1,169,206);\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " padding: 0px;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " .content {\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " background-color: #ffffff;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " color: #000000;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " padding: 4px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " .item {\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " padding: 4px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " text-align: right;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " .value {\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " padding: 4px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " font-weight: bold;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " color: grey;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " font-size: 14pt;\n"
4e142a5bccd2944174ad9ae58d86cf03e170054dBob Halley " width:500px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " text-align:center;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " color: #444444;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " font-size: 12pt;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " width:500px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " text-align:center;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " color: rgb(1,169,206);\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " font-size: 10pt;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " width:500px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " text-align:center;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " width:500px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " height: 500px;\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " </style>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <title>ISC BIND 9 Statistics</title>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " </head>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <div class=\"header\">\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <h1>ISC Bind 9 Configuration and Statistics</h1>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <p>Alternate statistics views: <a href=\"/\">All</a>,\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <a href=\"/xml/v3/status\">Status</a>,\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <a href=\"/xml/v3/server\">Server</a>,\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <a href=\"/xml/v3/zones\">Zones</a>,\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <a href=\"/xml/v3/net\">Network</a>,\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <a href=\"/xml/v3/tasks\">Tasks</a>,\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <a href=\"/xml/v3/mem\">Memory</a> and\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <a href=\"/xml/v3/traffic\">Traffic Size</a></p>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <h2>Server Status</h2>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <table class=\"info\">\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <th>Boot time:</th>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <xsl:value-of select=\"server/boot-time\"/>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <th>Last reconfigured:</th>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <xsl:value-of select=\"server/config-time\"/>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <th>Current time:</th>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <xsl:value-of select=\"server/current-time\"/>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <th>Server version:</th>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <xsl:value-of select=\"server/version\"/>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " </table>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <xsl:if test=\"server/counters[@type="opcode"]/counter[. > 0]\">\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <h2>Incoming Requests by DNS Opcode</h2>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <!-- Non Mozilla specific markup -->\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <div class=\"pie\" id=\"chart_incoming_opcodes\">\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " [cannot display chart]\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " </xsl:if>\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <table class=\"counters\">\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <xsl:for-each select=\"server/counters[@type="opcode"]/counter[. > 0 or substring(@name,1,3) != 'RES']\">\n"
948eabe2a254a8a278ef6325f3790e75329ee656Bob Halley " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
" <xsl:for-each select=\"views/view[count(counters[@type="resqtype"]/counter) > 0]\">\n"
" <script type=\"text/javascript\">\n"
" 'data': [['Type','Counter'],<xsl:for-each select=\"counters[@type="resqtype"]/counter\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
" <script type=\"text/javascript\">\n"
" 'data': [['Type','Counter'],<xsl:for-each select=\"server/counters[@type="nsstat"]/counter[.>0]\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
" <script type=\"text/javascript\">\n"
" 'data': [['Type','Counter'],<xsl:for-each select=\"server/counters[@type="zonestat"]/counter[.>0]\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
" <xsl:if test=\"traffic/udp/counters[@type="request-size"]/counter[.>0] or traffic/udp/counters[@type="response-size"]/counter[.>0] or traffic/tcp/counters[@type="request-size"]/counter[.>0] or traffic/tcp/counters[@type="response-size"]/counter[.>0]\">\n"
" <xsl:for-each select=\"traffic/udp/counters[@type="response-size"]/counter[.>0]\">\n"
" <xsl:for-each select=\"traffic/tcp/counters[@type="response-size"]/counter[.>0]\">\n"
" <xsl:for-each select=\"views/view[zones/zone/counters[@type="qtype"]/counter >0]\">\n"
" <script type=\"text/javascript\">\n"
" 'target': 'chart_qtype_<xsl:value-of select=\"../../@name\"/>_<xsl:value-of select=\"@name\"/>',\n"
" 'data': [['Type','Counter'],<xsl:for-each select=\"counters[@type="qtype"]/counter[.>0 and @name != "QryAuthAns"]\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
" <xsl:for-each select=\"views/view[zones/zone/counters[@type="rcode"]/counter >0]\">\n"
" <script type=\"text/javascript\">\n"
" 'target': 'chart_rescode_<xsl:value-of select=\"../../@name\"/>_<xsl:value-of select=\"@name\"/>',\n"
" 'data': [['Type','Counter'],<xsl:for-each select=\"counters[@type="rcode"]/counter[.>0 and @name != "QryAuthAns"]\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
" <xsl:for-each select=\"counters[@type="rcode"]/counter[.>0 and @name != "QryAuthAns"]\">\n"
" <xsl:if test=\"taskmgr/thread-model/type\">\n"
" <xsl:value-of select=\"taskmgr/thread-model/type\"/>\n"
" <xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/>\n"
" <xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/>\n"
" <xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/>\n"
" <xsl:value-of select=\"taskmgr/thread-model/tasks-ready\"/>\n"
" <p class=\"footer\">Internet Systems Consortium Inc.<br/><a href=\"http://www.isc.org\">http://www.isc.org</a></p>\n"