An idea, could this be divided into several articles, like how to config "SNMP" and those could be reused in like MRTG, Nagios, rrdtool and "Security and SNMP" article and others ? /Mats On Jan 27, 2008 10:39 PM, Gene Wood < centos.org at ewood.users.cementhorizon.com> wrote: > I just used Nick Mae's well written HOWTO on setting up Cacti on CentOS > 4.x to setup Cacti on my CentOS 5.1 system : > > http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x > > I was hoping to add a page or section for CentOS 5.x with the > modifications I'm including below. > > My wiki.centos.org username is "GeneWood" > > > Changes : > > > # Make sure snmpd accepts 'public' as public community from localhost, and > restart snmpd. You can use the command 'snmpconf -g basic_setup' to generate > an snmpd.conf file. > > # Make sure snmpd accepts 'public' as public community from localhost, and > restart snmpd. You can use the command 'snmpconf -g basic_setup' to generate > an snmpd.conf file. The default snmpd installation does not grant full > read permissions to the "public" community string. Setup a snmp user for > cacti adding the following lines to /etc/snmp.conf : > > com2sec cactiUser default cacti > group cactiGroup v1 cactiUser > group cactiGroup v2c cactiUser > view cactiROView included .1 > access cactiGroup "" any noauth exact cactiROView none > none > > > > > # Give permissions to the cacti user (replace 'user' with the value you > chose at 9). > > mysql>GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , INDEX , > LOCK TABLE , ALTER ON cacti . * TO 'user'@'localhost'; > > # Give permissions to the cacti user (replace 'user' with the value you > chose at 9). > > mysql>GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , INDEX , > LOCK TABLES , ALTER ON cacti.* TO 'user'@'localhost'; > > > > # Some checks need SNMP, so we have to set the community to be used: > > Console tab-> Create Devices: -> Localhost -> set SNMP community: public, > save. > > # Some checks need SNMP, so we have to set the community to be used: > > Console tab-> Create Devices: -> Localhost -> set SNMP Version : Version 2 > Console tab-> Create Devices: -> Localhost -> set SNMP community: public, > save. > > > > > _______________________________________________ > CentOS-docs mailing list > CentOS-docs at centos.org > http://lists.centos.org/mailman/listinfo/centos-docs > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20080128/c07220d7/attachment-0004.html>