snmpd.conf 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. config agent
  2. option agentaddress UDP:161,UDP6:161
  3. config agentx
  4. option agentxsocket /var/run/agentx.sock
  5. config com2sec public
  6. option secname ro
  7. option source default
  8. option community public
  9. config com2sec private
  10. option secname rw
  11. option source localhost
  12. option community private
  13. config com2sec6 public6
  14. option secname ro
  15. option source default
  16. option community public
  17. config com2sec6 private6
  18. option secname rw
  19. option source localhost
  20. option community private
  21. config group public_v1
  22. option group public
  23. option version v1
  24. option secname ro
  25. config group public_v2c
  26. option group public
  27. option version v2c
  28. option secname ro
  29. config group public_usm
  30. option group public
  31. option version usm
  32. option secname ro
  33. config group private_v1
  34. option group private
  35. option version v1
  36. option secname rw
  37. config group private_v2c
  38. option group private
  39. option version v2c
  40. option secname rw
  41. config group private_usm
  42. option group private
  43. option version usm
  44. option secname rw
  45. config view all
  46. option viewname all
  47. option type included
  48. option oid .1
  49. config access public_access
  50. option group public
  51. option context none
  52. option version any
  53. option level noauth
  54. option prefix exact
  55. option read all
  56. option write none
  57. option notify none
  58. config access private_access
  59. option group private
  60. option context none
  61. option version any
  62. option level noauth
  63. option prefix exact
  64. option read all
  65. option write all
  66. option notify all
  67. config system
  68. option sysLocation 'office'
  69. option sysContact 'bofh@example.com'
  70. option sysName 'HeartOfGold'
  71. # option sysServices 72
  72. # option sysDescr 'adult playground'
  73. # option sysObjectID '1.2.3.4'
  74. config exec
  75. option name filedescriptors
  76. option prog /bin/cat
  77. option args /proc/sys/fs/file-nr
  78. # option miboid 1.2.3.4
  79. config engineid
  80. # option engineid 'LEDE'
  81. option engineidtype '3'
  82. option engineidnic 'eth0'
  83. #config trapcommunity 'trapcommunity'
  84. # option community 'public'
  85. #config trapsink
  86. # option host 'nms.system.com'
  87. # option community 'public'
  88. # option port '162'
  89. #config trap2sink
  90. # option host 'nms.system.com'
  91. # option community 'secret'
  92. # option port '162'
  93. #config informsink
  94. # option host 'nms.sytem.com'
  95. # option community 'public'
  96. # option port '162'
  97. #config authtrapenable 'authtrapenable'
  98. # option enable '1'
  99. #config v1trapaddress 'v1trapaddress'
  100. # option host '1.2.3.4'
  101. #config trapsess 'trapsess'
  102. # option trapsess '-v 3 -e 0x80001f88808c18d3f7b0000 -u trapuser -a MD5 -A administrator -l authPriv -x DES -X rootpasswd udp:127.0.0.1:162'
  103. config snmpd general
  104. option enabled '1'
  105. # list network 'wan'