An idea, could this be divided into several articles, like how to config &quot;SNMP&quot; and those could be reused in like MRTG, Nagios, rrdtool and &quot;Security and SNMP&quot; article and others ?<br><br><br>/Mats<br><br>
<div class="gmail_quote">On Jan 27, 2008 10:39 PM, Gene Wood &lt;<a href="mailto:centos.org@ewood.users.cementhorizon.com">centos.org@ewood.users.cementhorizon.com</a>&gt; 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&#39;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&#39;m including below.<br><br>My <a href="http://wiki.centos.org" target="_blank">wiki.centos.org</a> username is &quot;GeneWood&quot;<br>
<br><br>Changes :<br>
<br><br># Make sure snmpd accepts &#39;public&#39; as public community from localhost, and restart snmpd. You can use the command &#39;snmpconf -g basic_setup&#39; to generate an snmpd.conf file.<br><br># Make sure snmpd accepts &#39;public&#39; as public community from localhost, and restart snmpd. You can use the command &#39;snmpconf -g basic_setup&#39; to generate an snmpd.conf file. The default snmpd installation does not grant full read permissions to the &quot;public&quot; community string. Setup a snmp user for cacti adding the following lines to /etc/snmp.conf :<br>

<br>com2sec cactiUser&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cacti<br>group&nbsp;&nbsp; cactiGroup v1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cactiUser<br>group&nbsp;&nbsp; cactiGroup v2c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cactiUser<br>view&nbsp;&nbsp;&nbsp; cactiROView&nbsp; included&nbsp;&nbsp; .1<br>access&nbsp; cactiGroup &quot;&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; any&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; noauth&nbsp;&nbsp;&nbsp; exact&nbsp; cactiROView none none<br>

<br><br><br><br># Give permissions to the cacti user (replace &#39;user&#39; with the value you chose at 9).<br><br>mysql&gt;GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , INDEX , LOCK TABLE , ALTER&nbsp; ON cacti . * TO &#39;user&#39;@&#39;localhost&#39;; <br>

<br># Give permissions to the cacti user (replace &#39;user&#39; with the value you chose at 9).<br><br>mysql&gt;GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , INDEX , LOCK TABLES , ALTER&nbsp; ON cacti.* TO &#39;user&#39;@&#39;localhost&#39;; <br>

<br><br><br># Some checks need SNMP, so we have to set the community to be used:<br><br>Console tab-&gt; Create Devices: -&gt; Localhost -&gt; 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-&gt; Create Devices: -&gt; Localhost -&gt; set SNMP Version : Version 2<br>Console tab-&gt; Create Devices: -&gt; Localhost -&gt; 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>