[389-users] SNMP trouble

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Nathan Kinder wrote:
> On 12/01/2009 07:21 AM, Mitja Mihelic( wrote:
>> Hi!
>>
>> I have set up SNMP on our server.
>>    
> What platform are you on and what version of 389 are you using?
It's not the 389 server exactly. It's centos-ds-8.1.0-1.el5.centos.2 run
on the current CentOS 5.4

>
> What does your configuration file look like for the ldap-agent
> subagent?  Did you configure it to communicate with snmpd via agentx? 
> Do the ldap-agent logs show anything?
The first two lines in /etc/snmp/snmpd.conf
  master agentx
  mibdirs +/usr/share/dirsrv/mibs

Contents of the etc/dirsrv/snmp-agent/ldap-agent.conf
  agentx-master /var/agentx/master
  agent-logdir /var/log/dirsrv/snmp-agent/
  server slapd-SERVER-users

The ldap-agent logs shows the following, repeated every 15s or so:
  2009-12-02 10:10:09 Reloading stats.
  2009-12-02 10:10:09 Opening stats file
(/var/run/dirsrv/slapd-SERVER-users.stats) for server: 389

The ldap-agent was run like so (in debug mode just in case):
  ldap-agent -D /etc/dirsrv/snmp-agent/ldap-agent.conf

>> While it responds to my queries it reports only data from the OID
>> .1.3.6.1.4.1.2312.6.5.1 (dsEntityEntry)
>>
>> All other variables seem to be empty.
>>
>> For instance, a query for .1.3.6.1.4.1.2312.6.3.1.9 (dsURL) :
>> [host] snmpwalk -Cp -On -v 1 -c comunity localhost
>> .1.3.6.1.4.1.2312.6.3.1.9
>> Variables found: 0
>>
>> The same happens if I do it a bit further up the tree:
>> [host] snmpwalk -Cp -On -v 1 -c comunity localhost .1.3.6.1.4.1.2312.6
>> (rhds)
>> Only the values from dsEntityEntry are returned.
>>
>> I am lost here...
>>
>> Regards,
>> Mitja
>>
>> -- 
>> 389 users mailing list
>> 389-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>    
>
> -- 
> 389 users mailing list
> 389-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux