<div dir="ltr">Problem resolved. I completely forgot to check the access privileges in /etc/snmp/snmpd.conf. By default NET-SNMP configures the agent to provide access to .iso.org.dod.internet.mgmt. sub-tree only.  <div>The redhat sub-tree is under .iso.org.dod.internet.private.enterprises. I had to add a view on this three and the appropriate security privileges to access the new community.</div>
<div><br></div><div>The sub-tree could be traversed now with:</div><div><b>snmpwalk -v 2c  -c mycommunity -mALL   localhost  rhds</b><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
RHDS-MIB::dsAnonymousBinds.389 = Counter64: 1187<br>RHDS-MIB::dsUnAuthBinds.389 = Counter64: 1187<br>RHDS-MIB::dsSimpleAuthBinds.389 = Counter64: 1213<br>RHDS-MIB::dsStrongAuthBinds.389 = Counter64: 227103<br>RHDS-MIB::dsBindSecurityErrors.389 = Counter64: 5<br>
RHDS-MIB::dsInOps.389 = Counter64: 6590347<br>RHDS-MIB::dsReadOps.389 = Counter64: 0<br>RHDS-MIB::dsCompareOps.389 = Counter64: 6<br>RHDS-MIB::dsAddEntryOps.389 = Counter64: 17<br>RHDS-MIB::dsRemoveEntryOps.389 = Counter64: 203<br>
RHDS-MIB::dsModifyEntryOps.389 = Counter64: 70101<br>RHDS-MIB::dsModifyRDNOps.389 = Counter64: 0<br>RHDS-MIB::dsListOps.389 = Counter64: 0<br>RHDS-MIB::dsSearchOps.389 = Counter64: 5959375<br>RHDS-MIB::dsOneLevelSearchOps.389 = Counter64: 39<br>
RHDS-MIB::dsWholeSubtreeSearchOps.389 = Counter64: 5342418<br>RHDS-MIB::dsReferrals.389 = Counter64: 0<br>RHDS-MIB::dsChainings.389 = Counter64: 0<br>RHDS-MIB::dsSecurityErrors.389 = Counter64: 7<br>RHDS-MIB::dsErrors.389 = Counter64: 240831<br>
RHDS-MIB::dsMasterEntries.389 = Counter64: 0<br>RHDS-MIB::dsCopyEntries.389 = Counter64: 0<br>RHDS-MIB::dsCacheEntries.389 = Counter64: 0<br>RHDS-MIB::dsCacheHits.389 = Counter64: 0<br>RHDS-MIB::dsSlaveHits.389 = Counter64: 0<br>
RHDS-MIB::dsEntityDescr.389 = STRING:<br>RHDS-MIB::dsEntityVers.389 = STRING: 389-Directory/<a href="http://1.2.11.15">1.2.11.15</a><br>RHDS-MIB::dsEntityOrg.389 = STRING:<br>RHDS-MIB::dsEntityLocation.389 = STRING:<br>RHDS-MIB::dsEntityContact.389 = STRING:<br>
RHDS-MIB::dsEntityName.389 = STRING:</blockquote></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 12:43 PM, Dimitar Georgievski <span dir="ltr"><<a href="mailto:mitkany@gmail.com" target="_blank">mitkany@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>I have successfully enabled SNMP monitoring of FreeIPA server following the instructions available at RedHat's portal:<div>
<a href="https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Monitoring_DS_Using_SNMP.html" target="_blank">https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Monitoring_DS_Using_SNMP.html</a></div>

<div><br></div><div>The problem is I cannot retrieve any metrics from the monitored server:</div><div><br></div><div>Examples:</div><div>Try to walk the whole rhds sub-tree</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

snmpwalk -v 2c  -c public -mALL   localhost rhds<br>RHDS-MIB::rhds = No more variables left in this MIB View (It is past the end of the MIB tree)</blockquote><div><br></div><div>I was expecting the redhat sub-tree would be instantiated under private/enterprises(2312)</div>

<div><br></div><div> </div><div>Judging from the snmpwalk output the RHDS sub-tree is missing in the MIB view.  My understanding is that beside configuring the SNMP agents for monitoring I don't need to configure the LDAP/FreeIPA server for monitoring,  </div>

<div>Is there anything else I need to configure, that is maybe not mentioned in the documentation?</div><div><br></div><div>We are using </div><div>- FreeIPA -3.0.0</div><div>- CentOS release 6.5 x86_64</div><div>- NET-SNMP version 5.5</div>

<div><br></div><div>dirsrv-snmp agent configuration </div><div> /etc/dirsrv/config/ldap-agent.conf<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

  agentx-master /var/agentx/master<br>  agent-logdir /var/log/dirsrv<br>  server slapd-EXAMPLE-COM</blockquote></div><div><br></div><div>and log output<br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

2014-08-26 10:58:48 Starting ldap-agent...<br>2014-08-26 10:58:48 Started ldap-agent as pid 27008</blockquote></div><div><br></div><div>snmpd AgentX log output</div></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Aug 26 10:43:48 106 snmpd[26607]: Turning on AgentX master support.<br>Aug 26 10:43:48 106 snmpd[26609]: NET-SNMP version 5.5</blockquote><div><br></div><div> Thanks</div></div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Dimitar</div></font></span></div>
</blockquote></div><br></div>