[CentOS-docs] Request to add to the wiki

Gene Wood

centos.org at ewood.users.cementhorizon.com
Sun Jan 27 21:39:37 UTC 2008


I just used Nick Mae's well written HOWTO on setting up Cacti on
CentOS 4.xto 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20080127/3c88b478/attachment.html>


More information about the CentOS-docs mailing list