AgentApiMibVars.hxx
上传用户:sy_wanhua
上传日期:2013-07-25
资源大小:3048k
文件大小:9k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

C/C++

  1. #ifndef AGENT_API_MIB_VARS_H_
  2. #define AGENT_API_MIB_VARS_H_
  3. /* ====================================================================
  4.  * The Vovida Software License, Version 1.0 
  5.  * 
  6.  * Copyright (c) 2000 Vovida Networks, Inc.  All rights reserved.
  7.  * 
  8.  * Redistribution and use in source and binary forms, with or without
  9.  * modification, are permitted provided that the following conditions
  10.  * are met:
  11.  * 
  12.  * 1. Redistributions of source code must retain the above copyright
  13.  *    notice, this list of conditions and the following disclaimer.
  14.  * 
  15.  * 2. Redistributions in binary form must reproduce the above copyright
  16.  *    notice, this list of conditions and the following disclaimer in
  17.  *    the documentation and/or other materials provided with the
  18.  *    distribution.
  19.  * 
  20.  * 3. The names "VOCAL", "Vovida Open Communication Application Library",
  21.  *    and "Vovida Open Communication Application Library (VOCAL)" must
  22.  *    not be used to endorse or promote products derived from this
  23.  *    software without prior written permission. For written
  24.  *    permission, please contact vocal@vovida.org.
  25.  *
  26.  * 4. Products derived from this software may not be called "VOCAL", nor
  27.  *    may "VOCAL" appear in their name, without prior written
  28.  *    permission of Vovida Networks, Inc.
  29.  * 
  30.  * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
  31.  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  32.  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
  33.  * NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL VOVIDA
  34.  * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
  35.  * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
  36.  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  37.  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  38.  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
  39.  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  40.  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  41.  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  42.  * DAMAGE.
  43.  * 
  44.  * ====================================================================
  45.  * 
  46.  * This software consists of voluntary contributions made by Vovida
  47.  * Networks, Inc. and many individuals on behalf of Vovida Networks,
  48.  * Inc.  For more information on Vovida Networks, Inc., please see
  49.  * <http://www.vovida.org/>.
  50.  *
  51.  */
  52. static const char* const AgentApiMibVarsHeaderVersion =
  53.     "$Id: AgentApiMibVars.hxx,v 1.14 2001/03/29 22:09:30 icahoon Exp $";
  54. /* from all mibs for now it's here, later read from config file */
  55. typedef enum
  56. {
  57.     agentApiMibVarFirstEntry = 0,   /* make sure this is the first entry */
  58.     /* debug level of all processes on a machine */
  59.     DebugLevel,
  60.     /* trap notifications */
  61.     ServerUp,
  62.     ServerDown ,
  63.     /* RS specific Mib objects
  64.      * not in mib. may be used to speed up processing between snmpd and RsAgent.  Get a bulk
  65.      * transfer from the RS of the server info
  66.      */
  67.     AllServerInfo ,
  68.     SysStatsTotalServers ,
  69.     SysStatsTotalSubscribers,
  70.     SysStatsTotalProcessDeaths,
  71.     SysStatsTotalProcessRestarts,
  72.     /* MS specific Data */
  73.     /* FS Specific Data */
  74.     /* Sip Specific Mib Objects */
  75.     sipSummaryInRequests,
  76.     sipSummaryOutRequests,
  77.     sipSummaryInResponses,
  78.     sipSummaryOutResponses,
  79.     sipSummaryTotalTransactions,
  80.     sipStatsInviteIns,
  81.     sipStatsInviteOuts,
  82.     sipStatsAckIns,
  83.     sipStatsAckOuts,
  84.     sipStatsByeIns,
  85.     sipStatsByeOuts,
  86.     sipStatsCancelIns,
  87.     sipStatsCancelOuts,
  88.     sipStatsOptionsIns,
  89.     sipStatsOptionsOuts,
  90.     sipStatsRegisterIns,
  91.     sipStatsRegisterOuts,
  92.     /* the following have been grouped into SIPSTATSINFOCLASSINS/SIPSTATSINFOCLASSOUTS */
  93.     /* in the 7/2000 sip mib. */
  94.     sipStatsInfoIns,
  95.     sipStatsInfoOuts,
  96.     sipStatsInfoTryingIns,
  97.     sipStatsInfoTryingOuts,
  98.     sipStatsInfoRingingIns,
  99.     sipStatsInfoRingingOuts,
  100.     sipStatsInfoForwardedIns,
  101.     sipStatsInfoForwardedOuts,
  102.     sipStatsInfoQueuedIns,
  103.     sipStatsInfoQueuedOuts,
  104.     sipStatsInfoSessionProgIns,
  105.     sipStatsInfoSessionProgOuts,
  106.     /* the following have been renamed to sipStatssuccessClassIns / sipStatssuccessClassOuts */
  107.     sipStatsSuccessOkIns,
  108.     sipStatsSuccessOkOuts,
  109.     /* the following have been grouped into sipStatsRedirClassIns / sipStatsRedirClassOuts */
  110.     sipStatsRedirMultipleChoiceIns,
  111.     sipStatsRedirMultipleChoiceOuts,
  112.     sipStatsRedirMovedPermIns,
  113.     sipStatsRedirMovedPermOuts,
  114.     sipStatsRedirMovedTempIns,
  115.     sipStatsRedirMovedTempOuts,
  116.     sipStatsRedirSeeOtherIns,
  117.     sipStatsRedirSeeOtherOuts,
  118.     sipStatsRedirUseProxyIns,
  119.     sipStatsRedirUseProxyOuts,
  120.     sipStatsRedirAltServiceIns,
  121.     sipStatsRedirAltServiceOuts,
  122.     /* the following have been grouped into sipStatsReqFailClassIns / sipStatsReqFailClassOuts */
  123.     sipStatsClientBadRequestIns,
  124.     sipStatsClientBadRequestOuts,
  125.     sipStatsClientUnauthorizedIns,
  126.     sipStatsClientUnauthorizedOuts,
  127.     sipStatsClientPaymentReqdIns,
  128.     sipStatsClientPaymentReqdOuts,
  129.     sipStatsClientForbiddenIns,
  130.     sipStatsClientForbiddenOuts,
  131.     sipStatsClientNotFoundIns ,
  132.     sipStatsClientNotFoundOuts,
  133.     sipStatsClientMethNotAllowedIns,
  134.     sipStatsClientMethNotAllowedOuts,
  135.     sipStatsClientNotAcceptableIns,
  136.     sipStatsClientNotAcceptableOuts,
  137.     sipStatsClientProxyAuthReqdIns,
  138.     sipStatsClientProxyAuthReqdOuts,
  139.     sipStatsClientReqTimeoutIns,
  140.     sipStatsClientReqTimeoutOuts,
  141.     sipStatsClientConflictIns,
  142.     sipStatsClientConflictOuts,
  143.     sipStatsClientGoneIns,
  144.     sipStatsClientGoneOuts,
  145.     sipStatsClientLengthRequiredIns,
  146.     sipStatsClientLengthRequiredOuts,
  147.     sipStatsClientReqEntTooLargeIns,
  148.     sipStatsClientReqEntTooLargeOuts,
  149.     sipStatsClientReqURITooLargeIns,
  150.     sipStatsClientReqURITooLargeOuts,
  151.     sipStatsClientNoSupMediaTypeIns,
  152.     sipStatsClientNoSupMediaTypeOuts,
  153.     sipStatsClientBadExtensionIns,
  154.     sipStatsClientBadExtensionOuts,
  155.     sipStatsClientTempNotAvailIns,
  156.     sipStatsClientTempNotAvailOuts,
  157.     sipStatsClientCallLegNoExistIns,
  158.     sipStatsClientCallLegNoExistOuts,
  159.     sipStatsClientLoopDetectedIns,
  160.     sipStatsClientLoopDetectedOuts,
  161.     sipStatsClientTooManyHopsIns,
  162.     sipStatsClientTooManyHopsOuts,
  163.     sipStatsClientAddrIncompleteIns,
  164.     sipStatsClientAddrIncompleteOuts,
  165.     sipStatsClientAmbiguousIns,
  166.     sipStatsClientAmbiguousOuts,
  167.     sipStatsClientBusyHereIns,
  168.     sipStatsClientBusyHereOuts,
  169.     /* the following have been grouped into sipStatsServerFailClassIns / sipStatsServerFailClassOuts */
  170.     sipStatsServerIntErrorIns,
  171.     sipStatsServerIntErrorOuts,
  172.     sipStatsServerNotImplementedIns,
  173.     sipStatsServerNotImplementedOuts,
  174.     sipStatsServerBadGatewayIns,
  175.     sipStatsServerBadGatewayOuts,
  176.     sipStatsServerServiceUnavailIns,
  177.     sipStatsServerServiceUnavailOuts,
  178.     sipStatsServerGatewayTimeoutIns,
  179.     sipStatsServerGatewayTimeoutOuts,
  180.     sipStatsServerBadSipVersionIns,
  181.     sipStatsServerBadSipVersionOuts ,
  182.     /* the following have been grouped into sipStatsGlobalFailClassIns / sipStatsGlobalFailClassOuts */
  183.     sipStatsGlobalBusyEverywhereIns,
  184.     sipStatsGlobalBusyEverywhereOuts,
  185.     sipStatsGlobalDeclineIns,
  186.     sipStatsGlobalDeclineOuts,
  187.     sipStatsGlobalNotAnywhereIns,
  188.     sipStatsGlobalNotAnywhereOuts,
  189.     sipStatsGlobalNotAcceptableIns,
  190.     sipStatsGlobalNotAcceptableOuts,
  191.     /* the new higher level statistics are shown below: */
  192.     sipStatsInfoClassIns,
  193.     sipStatsInfoClassOuts,
  194.     sipStatsSuccessClassIns,
  195.     sipStatsSuccessClassOuts,
  196.     sipStatsRedirClassIns,
  197.     sipStatsRedirClassOuts,
  198.     sipStatsReqFailClassIns,
  199.     sipStatsReqFailClassOuts,
  200.     sipStatsServerFailClassIns,
  201.     sipStatsServerFailClassOuts,
  202.     sipStatsGlobalFailClassIns,
  203.     sipStatsGlobalFailClassOuts,
  204.     /* done with the grouping of statistics messages */
  205.     sipCurrentTransactions,
  206.     sipTransTo,
  207.     sipTransFrom,
  208.     sipTransCallId,
  209.     sipTransCSeq,
  210.     sipTransState,
  211.     sipTransOutstandingBranches,
  212.     sipTransExpiry,
  213.     sipTransCallingPartyContentType,
  214.     sipTransCalledPartyContentType,
  215.     sipNumUnsupportedUris,
  216.     /* this next group is the sipCommonConfigGroup */
  217.     sipProtocolVersion,
  218.     sipServiceOperStatus,
  219.     sipServiceAdminStatus,
  220.     sipServiceStartTime,
  221.     sipServiceLastChange,
  222.     sipTransport,
  223.     sipPortStatus,
  224.     sipUriSupported,
  225.     sipFtrSupported,
  226.     sipOrganization,
  227.     sipMaxTransactions,
  228.     sipRequestDfltExpires,
  229.     sipHideOperation,
  230.     sipUserLocationServerAddr,
  231.     /* Network Application MIB */
  232.     applIndex,
  233.     applName,
  234.     applDirectoryName,
  235.     applVersion,
  236.     applUpTime,
  237.     applOperStatus,
  238.     applLastChange,
  239.     agentApiMibVarLastEntry   /* make sure this is the last entry */
  240. } AgentApiMibVarT;
  241. #endif /*AGENT_API_MIB_VARS_H */