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-0004.html>
Gene Wood wrote:> 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.Go ahead. By the way, that page looks like it could need some headings as to make it a bit more clearly arranged. Cheers, Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20080127/7995706e/attachment-0004.sig>
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>
Nicholas_Maesepp at scee.net
2008-Jan-28 23:49 UTC
[CentOS-docs] Request to add to the wiki
Just for the record, while I'd love to take credit for writing that article I was just a recent editor who fixed a change in an sql statement, it belongs to someone else who wrote/edited that HOWTO which I too used myself to success :) Nick Maesepp "Gene Wood" <centos.org at ewood.users.cementhorizon.com> Sent by: centos-docs-bounces at centos.org 28/01/2008 08:39 AM Please respond to Mail list for wiki articles <centos-docs at centos.org> To centos-docs at centos.org cc Subject [CentOS-docs] Request to add to the wiki 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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at scee.net This footnote also confirms that this email message has been checked for all known viruses. Sony Computer Entertainment Australia Pty. Limited Registered Office: Level 1, 63-73 Ann Street, Surry Hills, NSW 2010 Australia Registered in Australia: 077 583 183 **********************************************************************