module for bsnmp to interface to sysctl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

69 lines
2.5 KiB

  1. #
  2. # Copyright (c) 2006, Stefan Walter
  3. # Copyright 2011 John-Mark Gurney
  4. # All rights reserved.
  5. #
  6. # Redistribution and use in source and binary forms, with or without
  7. # modification, are permitted provided that the following conditions
  8. # are met:
  9. #
  10. # * Redistributions of source code must retain the above
  11. # copyright notice, this list of conditions and the
  12. # following disclaimer.
  13. # * Redistributions in binary form must reproduce the
  14. # above copyright notice, this list of conditions and
  15. # the following disclaimer in the documentation and/or
  16. # other materials provided with the distribution.
  17. # * The names of contributors to this software may not be
  18. # used to endorse or promote products derived from this
  19. # software without specific prior written permission.
  20. #
  21. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  22. # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  23. # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  24. # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  25. # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  26. # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  27. # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  28. # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
  29. # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  30. # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
  31. # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  32. # DAMAGE.
  33. #
  34. #
  35. # CONTRIBUTORS
  36. # Stef Walter <stef@memberwebs.com>
  37. #
  38. (1 internet
  39. (4 private
  40. (1 enterprises
  41. (12325 fokus
  42. (1 begemot
  43. (204 sysctl
  44. (0 sysctlCount INTEGER op_sysctl GET)
  45. (1 sysctlEndian OCTETSTRING op_sysctl GET)
  46. (2 sysctlEntry : INTEGER op_sysctlentry
  47. (1 sysctlIndex INTEGER GET)
  48. (2 sysctlDescr OCTETSTRING GET)
  49. (3 sysctlType UNSIGNED32 GET)
  50. (4 sysctlFmt OCTETSTRING GET)
  51. (5 sysctlErrno INTEGER GET)
  52. (6 sysctlLast TIMETICKS GET)
  53. (7 sysctlInteger INTEGER GET)
  54. (8 sysctlValue OCTETSTRING GET)
  55. (9 sysctlRaw OCTETSTRING GET)
  56. (10 sysctlCounter COUNTER64 GET)
  57. )
  58. # Valid only during configuration
  59. (100 sysctlConfig OCTETSTRING op_sysctlconfig GET SET)
  60. )
  61. )
  62. )
  63. )
  64. )
  65. )