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 :<br><br><a href="http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x">http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x</a><br>
<br>I was hoping to add a page or section for CentOS 5.x with the modifications I'm including below.<br><br>My <a href="http://wiki.centos.org">wiki.centos.org</a> username is "GeneWood"<br><br><br>Changes :<br>
<br><br># 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.<br><br># 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 :<br>
<br>com2sec cactiUser default cacti<br>group cactiGroup v1 cactiUser<br>group cactiGroup v2c cactiUser<br>view cactiROView included .1<br>access cactiGroup "" any noauth exact cactiROView none none<br>
<br><br><br><br># Give permissions to the cacti user (replace 'user' with the value you chose at 9).<br><br>mysql>GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , INDEX , LOCK TABLE , ALTER ON cacti . * TO 'user'@'localhost'; <br>
<br># Give permissions to the cacti user (replace 'user' with the value you chose at 9).<br><br>mysql>GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , INDEX , LOCK TABLES , ALTER ON cacti.* TO 'user'@'localhost'; <br>
<br><br><br># Some checks need SNMP, so we have to set the community to be used:<br><br>Console tab-> Create Devices: -> Localhost -> set SNMP community: public, save.<br><br># Some checks need SNMP, so we have to set the community to be used:<br>
<br>Console tab-> Create Devices: -> Localhost -> set SNMP Version : Version 2<br>Console tab-> Create Devices: -> Localhost -> set SNMP community: public, save.<br><br><br><br>