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 ?<br><br><br>/Mats<br><br>
<div class="gmail_quote">On Jan 27, 2008 10:39 PM, Gene Wood <<a href="mailto:centos.org@ewood.users.cementhorizon.com">centos.org@ewood.users.cementhorizon.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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" target="_blank">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" target="_blank">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>
<br>_______________________________________________<br>CentOS-docs mailing list<br><a href="mailto:CentOS-docs@centos.org">CentOS-docs@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos-docs" target="_blank">http://lists.centos.org/mailman/listinfo/centos-docs</a><br>
<br></blockquote></div><br>