701 lines
19 KiB
C
701 lines
19 KiB
C
/* $NetBSD: bind9.xsl.h,v 1.1.1.1 2008/06/21 18:35:13 christos Exp $ */
|
|
|
|
/*
|
|
* Generated by convertxsl.pl 1.9.60.4 2008/04/03 10:51:01 marka Exp
|
|
* From bind9.xsl 1.13.130.4 2008/04/09 22:49:37 jinmei Exp
|
|
*/
|
|
static char xslmsg[] =
|
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
|
"<!--\n"
|
|
" - Copyright (C) 2006-2008 Internet Systems Consortium, Inc. (\"ISC\")\n"
|
|
" -\n"
|
|
" - Permission to use, copy, modify, and/or distribute this software for any\n"
|
|
" - purpose with or without fee is hereby granted, provided that the above\n"
|
|
" - copyright notice and this permission notice appear in all copies.\n"
|
|
" -\n"
|
|
" - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH\n"
|
|
" - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n"
|
|
" - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,\n"
|
|
" - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n"
|
|
" - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n"
|
|
" - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n"
|
|
" - PERFORMANCE OF THIS SOFTWARE.\n"
|
|
"-->\n"
|
|
"\n"
|
|
"<!-- \045Id: bind9.xsl,v 1.13.130.4 2008/04/09 22:49:37 jinmei Exp \045 -->\n"
|
|
"\n"
|
|
"<xsl:stylesheet version=\"1.0\"\n"
|
|
" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n"
|
|
" xmlns=\"http://www.w3.org/1999/xhtml\">\n"
|
|
" <xsl:template match=\"isc/bind/statistics\">\n"
|
|
" <html>\n"
|
|
" <head>\n"
|
|
" <style type=\"text/css\">\n"
|
|
"body {\n"
|
|
" font-family: sans-serif;\n"
|
|
" background-color: #ffffff;\n"
|
|
" color: #000000;\n"
|
|
"}\n"
|
|
"\n"
|
|
"table {\n"
|
|
" border-collapse: collapse;\n"
|
|
"}\n"
|
|
"\n"
|
|
"tr.rowh {\n"
|
|
" text-align: center;\n"
|
|
" border: 1px solid #000000;\n"
|
|
" background-color: #8080ff;\n"
|
|
" color: #ffffff;\n"
|
|
"}\n"
|
|
"\n"
|
|
"tr.row {\n"
|
|
" text-align: right;\n"
|
|
" border: 1px solid #000000;\n"
|
|
" background-color: teal;\n"
|
|
" color: #ffffff;\n"
|
|
"}\n"
|
|
"\n"
|
|
"tr.lrow {\n"
|
|
" text-align: left;\n"
|
|
" border: 1px solid #000000;\n"
|
|
" background-color: teal;\n"
|
|
" color: #ffffff;\n"
|
|
"}\n"
|
|
"\n"
|
|
"td, th {\n"
|
|
" padding-right: 5px;\n"
|
|
" padding-left: 5px;\n"
|
|
"}\n"
|
|
"\n"
|
|
".header {\n"
|
|
" background-color: teal;\n"
|
|
" color: #ffffff;\n"
|
|
" padding: 4px;\n"
|
|
"}\n"
|
|
"\n"
|
|
".content {\n"
|
|
" background-color: #ffffff;\n"
|
|
" color: #000000;\n"
|
|
" padding: 4px;\n"
|
|
"}\n"
|
|
"\n"
|
|
".item {\n"
|
|
" padding: 4px;\n"
|
|
" align: right;\n"
|
|
"}\n"
|
|
"\n"
|
|
".value {\n"
|
|
" padding: 4px;\n"
|
|
" font-weight: bold;\n"
|
|
"}\n"
|
|
" </style>\n"
|
|
" <title>BIND 9 Statistics</title>\n"
|
|
" </head>\n"
|
|
" <body>\n"
|
|
" <div class=\"header\">Bind 9 Configuration and Statistics</div>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\"><th colspan=\"2\">Times</th></tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>boot-time</td>\n"
|
|
" <td><xsl:value-of select=\"server/boot-time\"/></td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>current-time</td>\n"
|
|
" <td><xsl:value-of select=\"server/current-time\"/></td>\n"
|
|
" </tr>\n"
|
|
" </table>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\"><th colspan=\"2\">Incoming Requests</th></tr>\n"
|
|
" <xsl:for-each select=\"server/requests/opcode\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"name\"/></td>\n"
|
|
" <td><xsl:value-of select=\"counter\"/></td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\"><th colspan=\"2\">Incoming Queries</th></tr>\n"
|
|
" <xsl:for-each select=\"server/queries-in/rdtype\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"name\"/></td>\n"
|
|
" <td><xsl:value-of select=\"counter\"/></td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <xsl:for-each select=\"views/view\">\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"2\">Outgoing Queries from View <xsl:value-of select=\"name\"/></th>\n"
|
|
" </tr>\n"
|
|
" <xsl:for-each select=\"rdtype\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"name\"/></td>\n"
|
|
" <td><xsl:value-of select=\"counter\"/></td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
" <br/>\n"
|
|
" </xsl:for-each>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\"><th colspan=\"10\">Server Statistics</th></tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <!-- The ordering of the following items must be consistent\n"
|
|
" with dns_nsstatscounter_xxx -->\n"
|
|
" <th>Requestv4</th>\n"
|
|
" <th>Requestv6</th>\n"
|
|
" <th>ReqEdns0</th>\n"
|
|
" <th>ReqBadEDNSVer</th>\n"
|
|
" <th>ReqTSIG</th>\n"
|
|
" <th>ReqSIG0</th>\n"
|
|
" <th>ReqBadSIG</th>\n"
|
|
" <th>ReqTCP</th>\n"
|
|
" <th>AuthQryRej</th>\n"
|
|
" <th>RecQryRej</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/Requestv4\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/Requestv6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/ReqEdns0\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/ReqBadEDNSVer\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/ReqTSIG\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/ReqSIG0\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/ReqBadSIG\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/ReqTCP\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/AuthQryRej\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/RecQryRej\"/></td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>XfrRej</th>\n"
|
|
" <th>UpdateRej</th>\n"
|
|
" <th>Response</th>\n"
|
|
" <th>RespTruncated</th>\n"
|
|
" <th>RespEDNS0</th>\n"
|
|
" <th>RespTSIG</th>\n"
|
|
" <th>RespSIG0</th>\n"
|
|
" <th>QrySuccess</th>\n"
|
|
" <th>QryAuthAns</th>\n"
|
|
" <th>QryNoauthAns</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/XfrRej\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/UpdateRej\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/Response\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/TruncatedResp\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/RespEDNS0\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/RespTSIG\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/RespSIG0\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QrySuccess\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryAuthAns\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryNoauthAns\"/></td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>QryReferral</th>\n"
|
|
" <th>QryNxrrset</th>\n"
|
|
" <th>QrySERVFAIL</th>\n"
|
|
" <th>QryFORMERR</th>\n"
|
|
" <th>QryNXDOMAIN</th>\n"
|
|
" <th>QryRecursion</th>\n"
|
|
" <th>QryDuplicate</th>\n"
|
|
" <th>QryDropped</th>\n"
|
|
" <th>QryFailure</th>\n"
|
|
" <th>XfrReqDone</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryReferral\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryNxrrset\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QrySERVFAIL\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryFORMERR\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryNXDOMAIN\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryRecursion\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryDuplicate\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryDropped\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/QryFailure\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/XfrReqDone\"/></td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>UpdateReqFwd</th>\n"
|
|
" <th>UpdateRespFwd</th>\n"
|
|
" <th>UpdateFwdFail</th>\n"
|
|
" <th>UpdateDone</th>\n"
|
|
" <th>UpdateFail</th>\n"
|
|
" <th>UpdateBadPrereq</th>\n"
|
|
" <th>RespMismatch</th>\n"
|
|
" <th />\n"
|
|
" <th />\n"
|
|
" <th />\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/UpdateReqFwd\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/UpdateRespFwd\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/UpdateFwdFail\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/UpdateDone\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/UpdateFail\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/nsstats/UpdateBadPrereq\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/resstats/Mismatch\"/></td>\n"
|
|
" <td />\n"
|
|
" <td />\n"
|
|
" <td />\n"
|
|
" </tr>\n"
|
|
" </table>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\"><th colspan=\"10\">Zone Maintenance Statistics</th></tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <!-- The ordering of the following items must be consistent\n"
|
|
" with dns_zonestatscounter_xxx -->\n"
|
|
" <th>NotifyOutv4</th>\n"
|
|
" <th>NotifyOutv6</th>\n"
|
|
" <th>NotifyInv4</th>\n"
|
|
" <th>NotifyInv6</th>\n"
|
|
" <th>NotifyRej</th>\n"
|
|
" <th>SOAOutv4</th>\n"
|
|
" <th>SOAOutv6</th>\n"
|
|
" <th>AXFRReqv4</th>\n"
|
|
" <th>AXFRReqv6</th>\n"
|
|
" <th>IXFRReqv4</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/NotifyOutv4\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/NotifyOutv6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/NotifyInv4\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/NotifyInv6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/NotifyRej\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/SOAOutv4\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/SOAOutv6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/AXFRReqv4\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/AXFRReqv6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/IXFRReqv4\"/></td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>IXFRReqv6</th>\n"
|
|
" <th>XfrSuccess</th>\n"
|
|
" <th>XfrFail</th>\n"
|
|
" <th/>\n"
|
|
" <th/>\n"
|
|
" <th/>\n"
|
|
" <th/>\n"
|
|
" <th/>\n"
|
|
" <th/>\n"
|
|
" <th/>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/IXFRReqv6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/XfrSuccess\"/></td>\n"
|
|
" <td><xsl:value-of select=\"server/zonestats/XfrFail\"/></td>\n"
|
|
" <td/>\n"
|
|
" <td/>\n"
|
|
" <td/>\n"
|
|
" <td/>\n"
|
|
" <td/>\n"
|
|
" <td/>\n"
|
|
" <td/>\n"
|
|
" </tr>\n"
|
|
" </table>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <xsl:for-each select=\"views/view\">\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"10\">Resolver Statistics for View <xsl:value-of select=\"name\"/></th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <!-- The ordering of the following items must be consistent\n"
|
|
" with dns_resstatscounter_xxx -->\n"
|
|
" <th>Queryv4</th>\n"
|
|
" <th>Queryv6</th>\n"
|
|
" <th>Responsev4</th>\n"
|
|
" <th>Responsev6</th>\n"
|
|
" <th>NXDOMAIN</th>\n"
|
|
" <th>SERVFAIL</th>\n"
|
|
" <th>FORMERR</th>\n"
|
|
" <th>OtherError</th>\n"
|
|
" <th>EDNS0Fail</th>\n"
|
|
" <!-- this counter is not applicable to per-view stat,\n"
|
|
" but keep it for generating the description table used in\n"
|
|
" the statschannel.c.\n"
|
|
" <th>Mismatch</th> -->\n"
|
|
" <th>Truncated</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"resstats/Queryv4\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/Queryv6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/Responsev4\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/Responsev6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/NXDOMAIN\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/SERVFAIL\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/FORMERR\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/OtherError\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/EDNS0Fail\"/></td>\n"
|
|
" <!-- <td><xsl:value-of select=\"resstats/Mismatch\"/></td> -->\n"
|
|
" <td><xsl:value-of select=\"resstats/Truncated\"/></td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>Lame</th>\n"
|
|
" <th>Retry</th>\n"
|
|
" <th>GlueFetchv4</th>\n"
|
|
" <th>GlueFetchv6</th>\n"
|
|
" <th>GlueFetchv4Fail</th>\n"
|
|
" <th>GlueFetchv6Fail</th>\n"
|
|
" <th>ValAttempt</th>\n"
|
|
" <th>ValOk</th>\n"
|
|
" <th>ValNegOk</th>\n"
|
|
" <th>ValFail</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"resstats/Lame\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/Retry\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/GlueFetchv4\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/GlueFetchv6\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/GlueFetchv4Fail\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/GlueFetchv6Fail\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/ValAttempt\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/ValOk\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/ValNegOk\"/></td>\n"
|
|
" <td><xsl:value-of select=\"resstats/ValFail\"/></td>\n"
|
|
" </tr>\n"
|
|
" </table>\n"
|
|
" <br/>\n"
|
|
" </xsl:for-each>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <xsl:for-each select=\"views/view\">\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"2\">Cache DB RRsets for View <xsl:value-of select=\"name\"/></th>\n"
|
|
" </tr>\n"
|
|
" <xsl:for-each select=\"cache/rrset\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"name\"/></td>\n"
|
|
" <td><xsl:value-of select=\"counter\"/></td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
" <br/>\n"
|
|
" </xsl:for-each>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <xsl:for-each select=\"views/view\">\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"10\">Zones for View <xsl:value-of select=\"name\"/></th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>Name</th>\n"
|
|
" <th>Class</th>\n"
|
|
" <th>Serial</th>\n"
|
|
" <th>Success</th>\n"
|
|
" <th>Referral</th>\n"
|
|
" <th>NXRRSET</th>\n"
|
|
" <th>NXDOMAIN</th>\n"
|
|
" <th>Failure</th>\n"
|
|
" <th>XfrReqDone</th>\n"
|
|
" <th>XfrRej</th>\n"
|
|
" </tr>\n"
|
|
" <xsl:for-each select=\"zones/zone\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"name\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"rdataclass\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"serial\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"counters/QrySuccess\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"counters/QryReferral\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"counters/QryNxrrset\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"counters/QryNXDOMAIN\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"counters/QryFailure\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"counters/XfrReqDone\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"counters/XfrRej\"/>\n"
|
|
" </td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
" <br/>\n"
|
|
" </xsl:for-each>\n"
|
|
"\n"
|
|
" <br/>\n"
|
|
"\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"7\">Network Status</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>ID</th>\n"
|
|
" <th>Name</th>\n"
|
|
" <th>Type</th>\n"
|
|
" <th>References</th>\n"
|
|
" <th>LocalAddress</th>\n"
|
|
" <th>PeerAddress</th>\n"
|
|
" <th>State</th>\n"
|
|
" </tr>\n"
|
|
" <xsl:for-each select=\"socketmgr/sockets/socket\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"id\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"name\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"type\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"references\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"local-address\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"peer-address\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:for-each select=\"states\">\n"
|
|
" <xsl:value-of select=\".\"/>\n"
|
|
" </xsl:for-each>\n"
|
|
" </td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
" <br/>\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"2\">Task Manager Configuration</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>Thread-Model</td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"taskmgr/thread-model/type\"/>\n"
|
|
" </td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>Worker Threads</td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/>\n"
|
|
" </td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>Default Quantum</td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/>\n"
|
|
" </td>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>Tasks Running</td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/>\n"
|
|
" </td>\n"
|
|
" </tr>\n"
|
|
" </table>\n"
|
|
" <br/>\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"5\">Tasks</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>ID</th>\n"
|
|
" <th>Name</th>\n"
|
|
" <th>References</th>\n"
|
|
" <th>State</th>\n"
|
|
" <th>Quantum</th>\n"
|
|
" </tr>\n"
|
|
" <xsl:for-each select=\"taskmgr/tasks/task\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"id\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"name\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"references\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"state\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"quantum\"/>\n"
|
|
" </td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
" <br />\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"4\">Memory Usage Summary</th>\n"
|
|
" </tr>\n"
|
|
" <xsl:for-each select=\"memory/summary/*\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td><xsl:value-of select=\"name()\"/></td>\n"
|
|
" <td><xsl:value-of select=\".\"/></td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
" <br />\n"
|
|
" <table>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th colspan=\"10\">Memory Contexts</th>\n"
|
|
" </tr>\n"
|
|
" <tr class=\"rowh\">\n"
|
|
" <th>ID</th>\n"
|
|
" <th>Name</th>\n"
|
|
" <th>References</th>\n"
|
|
" <th>TotalUse</th>\n"
|
|
" <th>InUse</th>\n"
|
|
" <th>MaxUse</th>\n"
|
|
" <th>BlockSize</th>\n"
|
|
" <th>Pools</th>\n"
|
|
" <th>HiWater</th>\n"
|
|
" <th>LoWater</th>\n"
|
|
" </tr>\n"
|
|
" <xsl:for-each select=\"memory/contexts/context\">\n"
|
|
" <tr class=\"lrow\">\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"id\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"name\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"references\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"total\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"inuse\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"maxinuse\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"blocksize\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"pools\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"hiwater\"/>\n"
|
|
" </td>\n"
|
|
" <td>\n"
|
|
" <xsl:value-of select=\"lowater\"/>\n"
|
|
" </td>\n"
|
|
" </tr>\n"
|
|
" </xsl:for-each>\n"
|
|
" </table>\n"
|
|
"\n"
|
|
" </body>\n"
|
|
" </html>\n"
|
|
" </xsl:template>\n"
|
|
"</xsl:stylesheet>\n";
|
|
#ifdef HAVE_LIBXML2
|
|
static const char *nsstats_xmldesc[] = { "Requestv4",
|
|
"Requestv6",
|
|
"ReqEdns0",
|
|
"ReqBadEDNSVer",
|
|
"ReqTSIG",
|
|
"ReqSIG0",
|
|
"ReqBadSIG",
|
|
"ReqTCP",
|
|
"AuthQryRej",
|
|
"RecQryRej",
|
|
"XfrRej",
|
|
"UpdateRej",
|
|
"Response",
|
|
"TruncatedResp",
|
|
"RespEDNS0",
|
|
"RespTSIG",
|
|
"RespSIG0",
|
|
"QrySuccess",
|
|
"QryAuthAns",
|
|
"QryNoauthAns",
|
|
"QryReferral",
|
|
"QryNxrrset",
|
|
"QrySERVFAIL",
|
|
"QryFORMERR",
|
|
"QryNXDOMAIN",
|
|
"QryRecursion",
|
|
"QryDuplicate",
|
|
"QryDropped",
|
|
"QryFailure",
|
|
"XfrReqDone",
|
|
"UpdateReqFwd",
|
|
"UpdateRespFwd",
|
|
"UpdateFwdFail",
|
|
"UpdateDone",
|
|
"UpdateFail",
|
|
"UpdateBadPrereq"
|
|
};
|
|
static const char *zonestats_xmldesc[] = { "NotifyOutv4",
|
|
"NotifyOutv6",
|
|
"NotifyInv4",
|
|
"NotifyInv6",
|
|
"NotifyRej",
|
|
"SOAOutv4",
|
|
"SOAOutv6",
|
|
"AXFRReqv4",
|
|
"AXFRReqv6",
|
|
"IXFRReqv4",
|
|
"IXFRReqv6",
|
|
"XfrSuccess",
|
|
"XfrFail"
|
|
};
|
|
static const char *resstats_xmldesc[] = { "Queryv4",
|
|
"Queryv6",
|
|
"Responsev4",
|
|
"Responsev6",
|
|
"NXDOMAIN",
|
|
"SERVFAIL",
|
|
"FORMERR",
|
|
"OtherError",
|
|
"EDNS0Fail",
|
|
"Mismatch",
|
|
"Truncated",
|
|
"Lame",
|
|
"Retry",
|
|
"GlueFetchv4",
|
|
"GlueFetchv6",
|
|
"GlueFetchv4Fail",
|
|
"GlueFetchv6Fail",
|
|
"ValAttempt",
|
|
"ValOk",
|
|
"ValNegOk",
|
|
"ValFail"
|
|
};
|
|
#endif
|