[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: and resolved: Monitor configuration... also for the manual
- To: openldap-technical@openldap.org
- Subject: Re: and resolved: Monitor configuration... also for the manual
- From: Arno Lehmann <al@its-lehmann.de>
- Date: Sat, 9 Feb 2019 00:23:48 +0100
- Content-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1549668231; s=strato-dkim-0002; d=its-lehmann.de; h=In-Reply-To:Date:Message-ID:From:References:To:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=p6F81a/OjAkEjVqPGQb7DxHgVIFkTxViCcuadUJZTyU=; b=es4SGTdETToAwyJOl0dM6lkBs6u0ltGMb4UyLXhIjuWJoND+qeY8YvxyjUgfMZ97dy I2J85xBA9NeP73WPcEwvV9pQd/7xxKOoc6pWoOtBo2iUlYjYNzoooRdoXtPKQ0wOlPqT muNki6lk3n+duuR5fwVxfIyUiJ3CHFiKmxPJ9y0UDm1FaM/owmcXP9p3XYzILD4wDcSD JSRk00+xZLbSu1sCb/mO/xA77MsfGDYyCfRFn+ecLrXdPHQ/TleUaUVsXQZ2znk/3Amb dopyZqjAoWW25gWl9Bs3Zgoi3RuGp3ZnVEjDv3AF0eHAq/jYmeSrQnDhLv/LDa8vav8x +CQQ==
- In-reply-to: <4f929238-005d-01c5-162f-5467f51165b4@its-lehmann.de>
- Organization: IT-Service Lehmann
- References: <4f929238-005d-01c5-162f-5467f51165b4@its-lehmann.de>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Hi all,
guess I have this sorted out, so see below for my last few paragraphs
that I suggest to put into the manual.
Thanks for all your suggestions, though it seems the problem was
something rather unrelated. Just don't ask me what it might have been...
On 03.02.2019 at 22:56, Arno Lehmann wrote:
-----8<--------------cut here... manual text below ------------->8------
...
Naturally, the ACL(s) may be adjusted as needed.
root@host:~/ldap# ldapadd -H ldapi:/// -Y EXTERNAL -f addMonitorDB.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "olcDatabase=monitor,cn=config"
If this command succeds, the OpenLDAP instance can now be monitored
using LDAP. If it fails with an error message such as
ldap_add: Other (e.g., implementation specific) error (80)
additional info: only one monitor database allowed
it may be necessary to stop and restart the slapd process. (In at least
one case, it only worked after a few restarts and after adding some
other objects to a real database backend first. The author is absolutely
not sure what eventually lead to success adding the above LDAP data.)
20.1.7. Verifying monitoring does work
After the above steps are taken, queries such as
root@host:~/ldap# ldapsearch -Q -LLL -H ldapi:/// -Y EXTERNAL -b 'cn=Statistics,cn=Monitor' -s children 'monitorCounter'
dn: cn=Bytes,cn=Statistics,cn=Monitor
monitorCounter: 1393550
dn: cn=PDU,cn=Statistics,cn=Monitor
monitorCounter: 401
dn: cn=Entries,cn=Statistics,cn=Monitor
monitorCounter: 224
dn: cn=Referrals,cn=Statistics,cn=Monitor
monitorCounter: 0
will provide useful results.
-----8<--------------cut here... manual text above ------------->8------
So, this is my proposal to add to the manual. Feel free to use it, itf
needed, tell me where I have to assign legal permission!
Cheers,
Arno
--
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück