OSS_SNMP.MIBS.System.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  5. <meta charset="utf-8">
  6. <title>OSS_SNMP » \OSS_SNMP\MIBS\System</title>
  7. <meta name="author" content="Mike van Riel">
  8. <meta name="description" content="">
  9. <link href="../css/template.css" rel="stylesheet" media="all">
  10. <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
  11. <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
  14. </head>
  15. <body>
  16. <div class="navbar navbar-fixed-top">
  17. <div class="navbar-inner"><div class="container">
  18. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">OSS_SNMP</a><div class="nav-collapse"><ul class="nav">
  19. <li class="dropdown">
  20. <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
  21. API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
  22. <li><a>Namespaces</a></li>
  23. <li><a href="../namespaces/OSS_SNMP.html"><i class="icon-th"></i> OSS_SNMP</a></li>
  24. </ul>
  25. </li>
  26. <li class="dropdown" id="charts-menu">
  27. <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
  28. Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
  29. </li>
  30. <li class="dropdown" id="reports-menu">
  31. <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
  32. Reports <b class="caret"></b></a><ul class="dropdown-menu">
  33. <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
  34. <span class="label label-info">39</span></a></li>
  35. <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
  36. <ul><li>todo 
  37. <span class="label label-info">1</span>
  38. </li></ul></a></li>
  39. <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
  40. <span class="label label-info">0</span></a></li>
  41. </ul>
  42. </li>
  43. </ul></div>
  44. </div></div>
  45. <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
  46. </div>
  47. <div id="___" class="container">
  48. <noscript><div class="alert alert-warning">
  49. Javascript is disabled; several features are only available
  50. if Javascript is enabled.
  51. </div></noscript>
  52. <div class="row">
  53. <div class="span4">
  54. <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
  55. <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
  56. </div>
  57. <ul class="side-nav nav nav-list">
  58. <li class="nav-header">
  59. <i class="icon-custom icon-method"></i> Methods</li>
  60. <li class="method public "><a href="#contact" title="contact :: Returns the system contact of the device"><span class="description">Returns the system contact of the device</span><pre>contact()</pre></a></li>
  61. <li class="method public "><a href="#description" title="description :: Returns the system description of the device"><span class="description">Returns the system description of the device</span><pre>description()</pre></a></li>
  62. <li class="method public "><a href="#getAll" title="getAll :: Gets all system values as an associate array"><span class="description">Gets all system values as an associate array</span><pre>getAll()</pre></a></li>
  63. <li class="method public "><a href="#location" title="location :: Returns the system location of the device"><span class="description">Returns the system location of the device</span><pre>location()</pre></a></li>
  64. <li class="method public "><a href="#name" title="name :: Returns the system name of the device"><span class="description">Returns the system name of the device</span><pre>name()</pre></a></li>
  65. <li class="method public "><a href="#services" title="services :: Returns the system services of the device"><span class="description">Returns the system services of the device</span><pre>services()</pre></a></li>
  66. <li class="method public "><a href="#uptime" title="uptime :: Returns the system uptime of the device"><span class="description">Returns the system uptime of the device</span><pre>uptime()</pre></a></li>
  67. <li class="nav-header">
  68. <i class="icon-custom icon-constant"></i> Constants</li>
  69. <li class="constant "><a href="#OID_SYSTEM_CONTACT" title="OID_SYSTEM_CONTACT :: "><span class="description">OID_SYSTEM_CONTACT</span><pre>OID_SYSTEM_CONTACT</pre></a></li>
  70. <li class="constant "><a href="#OID_SYSTEM_DESCRIPTION" title="OID_SYSTEM_DESCRIPTION :: "><span class="description">OID_SYSTEM_DESCRIPTION</span><pre>OID_SYSTEM_DESCRIPTION</pre></a></li>
  71. <li class="constant "><a href="#OID_SYSTEM_LOCATION" title="OID_SYSTEM_LOCATION :: "><span class="description">OID_SYSTEM_LOCATION</span><pre>OID_SYSTEM_LOCATION</pre></a></li>
  72. <li class="constant "><a href="#OID_SYSTEM_NAME" title="OID_SYSTEM_NAME :: "><span class="description">OID_SYSTEM_NAME</span><pre>OID_SYSTEM_NAME</pre></a></li>
  73. <li class="constant "><a href="#OID_SYSTEM_SERVICES" title="OID_SYSTEM_SERVICES :: "><span class="description">OID_SYSTEM_SERVICES</span><pre>OID_SYSTEM_SERVICES</pre></a></li>
  74. <li class="constant "><a href="#OID_SYSTEM_UPTIME" title="OID_SYSTEM_UPTIME :: "><span class="description">OID_SYSTEM_UPTIME</span><pre>OID_SYSTEM_UPTIME</pre></a></li>
  75. </ul>
  76. </div>
  77. <div class="span8">
  78. <a name="%5COSS_SNMP%5CMIBS%5CSystem" id="\OSS_SNMP\MIBS\System"></a><ul class="breadcrumb">
  79. <li>
  80. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  81. </li>
  82. <li><a href="../namespaces/OSS_SNMP.html">OSS_SNMP</a></li>
  83. <span class="divider">\</span><li><a href="../namespaces/OSS_SNMP.MIBS.html">MIBS</a></li>
  84. <li class="active">
  85. <span class="divider">\</span><a href="../classes/OSS_SNMP.MIBS.System.html">System</a>
  86. </li>
  87. </ul>
  88. <div href="../classes/OSS_SNMP.MIBS.System.html" class="element class">
  89. <p class="short_description">A class for performing SNMP V2 queries on generic devices</p>
  90. <div class="details">
  91. <p class="long_description"></p>
  92. <table class="table table-bordered">
  93. <tr>
  94. <th>copyright</th>
  95. <td>Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland</td>
  96. </tr>
  97. <tr>
  98. <th>author</th>
  99. <td><a href="mailto:barry@opensolutions.ie">Barry O'Donovan</a></td>
  100. </tr>
  101. </table>
  102. <h3>
  103. <i class="icon-custom icon-method"></i> Methods</h3>
  104. <a name="contact" id="contact"></a><div class="element clickable method public contact" data-toggle="collapse" data-target=".contact .collapse">
  105. <h2>Returns the system contact of the device</h2>
  106. <pre>contact() : string</pre>
  107. <div class="labels"></div>
  108. <div class="row collapse"><div class="detail-description">
  109. <p class="long_description"></p>
  110. <h3>Returns</h3>
  111. <div class="subelement response">
  112. <code>string</code>The system contact of the device</div>
  113. </div></div>
  114. </div>
  115. <a name="description" id="description"></a><div class="element clickable method public description" data-toggle="collapse" data-target=".description .collapse">
  116. <h2>Returns the system description of the device</h2>
  117. <pre>description() : string</pre>
  118. <div class="labels"></div>
  119. <div class="row collapse"><div class="detail-description">
  120. <p class="long_description"></p>
  121. <h3>Returns</h3>
  122. <div class="subelement response">
  123. <code>string</code>The system description of the device</div>
  124. </div></div>
  125. </div>
  126. <a name="getAll" id="getAll"></a><div class="element clickable method public getAll" data-toggle="collapse" data-target=".getAll .collapse">
  127. <h2>Gets all system values as an associate array</h2>
  128. <pre>getAll() : array</pre>
  129. <div class="labels"></div>
  130. <div class="row collapse"><div class="detail-description">
  131. <p class="long_description"><p>The keys of the array are contact, description, location,
  132. name, services, uptime</p></p>
  133. <h3>Returns</h3>
  134. <div class="subelement response">
  135. <code>array</code>All system values as an associate array</div>
  136. </div></div>
  137. </div>
  138. <a name="location" id="location"></a><div class="element clickable method public location" data-toggle="collapse" data-target=".location .collapse">
  139. <h2>Returns the system location of the device</h2>
  140. <pre>location() : string</pre>
  141. <div class="labels"></div>
  142. <div class="row collapse"><div class="detail-description">
  143. <p class="long_description"></p>
  144. <h3>Returns</h3>
  145. <div class="subelement response">
  146. <code>string</code>The system location of the device</div>
  147. </div></div>
  148. </div>
  149. <a name="name" id="name"></a><div class="element clickable method public name" data-toggle="collapse" data-target=".name .collapse">
  150. <h2>Returns the system name of the device</h2>
  151. <pre>name() : string</pre>
  152. <div class="labels"></div>
  153. <div class="row collapse"><div class="detail-description">
  154. <p class="long_description"></p>
  155. <h3>Returns</h3>
  156. <div class="subelement response">
  157. <code>string</code>The system name of the device</div>
  158. </div></div>
  159. </div>
  160. <a name="services" id="services"></a><div class="element clickable method public services" data-toggle="collapse" data-target=".services .collapse">
  161. <h2>Returns the system services of the device</h2>
  162. <pre>services() : string</pre>
  163. <div class="labels"></div>
  164. <div class="row collapse"><div class="detail-description">
  165. <p class="long_description"><p>"A value which indicates the set of services that
  166. this entity primarily offers.</p>
  167. <p>The value is a sum. This sum initially takes the
  168. value zero, Then, for each layer, L, in the range
  169. 1 through 7, that this node performs transactions
  170. for, 2 raised to (L - 1) is added to the sum. For
  171. example, a node which performs primarily routing
  172. functions would have a value of 4 (2^(3-1)). In
  173. contrast, a node which is a host offering
  174. application services would have a value of 72
  175. (2^(4-1) + 2^(7-1)). Note that in the context of
  176. the Internet suite of protocols, values should be
  177. calculated accordingly:</p>
  178. <pre><code>layer functionality
  179. 1 physical (e.g., repeaters)
  180. 2 datalink/subnetwork (e.g., bridges)
  181. 3 internet (e.g., IP gateways)
  182. 4 end-to-end (e.g., IP hosts)
  183. 7 applications (e.g., mail relays)
  184. </code></pre>
  185. <p>For systems including OSI protocols, layers 5 and
  186. 6 may also be counted."</p></p>
  187. <h3>Returns</h3>
  188. <div class="subelement response">
  189. <code>string</code>The system services of the device</div>
  190. </div></div>
  191. </div>
  192. <a name="uptime" id="uptime"></a><div class="element clickable method public uptime" data-toggle="collapse" data-target=".uptime .collapse">
  193. <h2>Returns the system uptime of the device</h2>
  194. <pre>uptime() : int</pre>
  195. <div class="labels"></div>
  196. <div class="row collapse"><div class="detail-description">
  197. <p class="long_description"><p>"The time (in hundredths of a second) since the
  198. network management portion of the system was last
  199. re-initialized."</p></p>
  200. <h3>Returns</h3>
  201. <div class="subelement response">
  202. <code>int</code>The system uptime of the device (in timeticks)</div>
  203. </div></div>
  204. </div>
  205. <h3>
  206. <i class="icon-custom icon-constant"></i> Constants</h3>
  207. <a name="OID_SYSTEM_CONTACT" id="OID_SYSTEM_CONTACT"> </a><div class="element clickable constant OID_SYSTEM_CONTACT" data-toggle="collapse" data-target=".OID_SYSTEM_CONTACT .collapse">
  208. <h2>OID_SYSTEM_CONTACT</h2>
  209. <pre>OID_SYSTEM_CONTACT </pre>
  210. <div class="labels"></div>
  211. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  212. </div>
  213. <a name="OID_SYSTEM_DESCRIPTION" id="OID_SYSTEM_DESCRIPTION"> </a><div class="element clickable constant OID_SYSTEM_DESCRIPTION" data-toggle="collapse" data-target=".OID_SYSTEM_DESCRIPTION .collapse">
  214. <h2>OID_SYSTEM_DESCRIPTION</h2>
  215. <pre>OID_SYSTEM_DESCRIPTION </pre>
  216. <div class="labels"></div>
  217. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  218. </div>
  219. <a name="OID_SYSTEM_LOCATION" id="OID_SYSTEM_LOCATION"> </a><div class="element clickable constant OID_SYSTEM_LOCATION" data-toggle="collapse" data-target=".OID_SYSTEM_LOCATION .collapse">
  220. <h2>OID_SYSTEM_LOCATION</h2>
  221. <pre>OID_SYSTEM_LOCATION </pre>
  222. <div class="labels"></div>
  223. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  224. </div>
  225. <a name="OID_SYSTEM_NAME" id="OID_SYSTEM_NAME"> </a><div class="element clickable constant OID_SYSTEM_NAME" data-toggle="collapse" data-target=".OID_SYSTEM_NAME .collapse">
  226. <h2>OID_SYSTEM_NAME</h2>
  227. <pre>OID_SYSTEM_NAME </pre>
  228. <div class="labels"></div>
  229. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  230. </div>
  231. <a name="OID_SYSTEM_SERVICES" id="OID_SYSTEM_SERVICES"> </a><div class="element clickable constant OID_SYSTEM_SERVICES" data-toggle="collapse" data-target=".OID_SYSTEM_SERVICES .collapse">
  232. <h2>OID_SYSTEM_SERVICES</h2>
  233. <pre>OID_SYSTEM_SERVICES </pre>
  234. <div class="labels"></div>
  235. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  236. </div>
  237. <a name="OID_SYSTEM_UPTIME" id="OID_SYSTEM_UPTIME"> </a><div class="element clickable constant OID_SYSTEM_UPTIME" data-toggle="collapse" data-target=".OID_SYSTEM_UPTIME .collapse">
  238. <h2>OID_SYSTEM_UPTIME</h2>
  239. <pre>OID_SYSTEM_UPTIME </pre>
  240. <div class="labels"></div>
  241. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  242. </div>
  243. </div>
  244. </div>
  245. </div>
  246. </div>
  247. <div class="row"><footer class="span12">
  248. Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
  249. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a5</a> and<br>
  250. generated on 2012-06-22T10:05:27+01:00.<br></footer></div>
  251. </div>
  252. </body>
  253. </html>