For When You Can't Have The Real Thing
[ start | index | login ]
start > snmp > Sample snmpd.conf for cacti use

Sample snmpd.conf for cacti use

Created by dave. Last edited by dave, 2 years and 357 days ago. Viewed 7,549 times. #3
[diff] [history] [edit] [rdf]
A sample snmpd.conf suitable for letting a remote system run cacti

syslocation System Location
#   source          community (password) 
com2sec Mybox     localhost          public 
com2sec cacti     <you ip>     public 
com2sec Outside   default            public 
# sec.model 
group   RWGroup    v2c       Mybox 
group   ROGroup    v1        cacti 
group   ROGroup    v2c       cacti 
group   Others     v2c       Outside 
view all     included  .1        80 
view system  included  system    fe 
#              context sec.model sec.level prefix  read    write  notif 
access  ROGroup   ""      any    noauth    exact   all     none   none 
access  RWGroup   ""      v2c    noauth    exact   all     all    all 
access  Others    ""      v2c    noauth    exact   system  none   all


Bare minimum:

syslocation MyLocation
syscontact syscon@mydomain
rocommunity public
includeAllDisks 1

NOTE: no security. Enjoy!

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt