>> Michael Ströder <michael(a)stroeder.com> schrieb am
29.04.2016 um 09:58 in
Nachricht <57231425.2080702(a)stroeder.com>:
Ulrich Windl wrote:
>>>> Michael Ströder <michael(a)stroeder.com> schrieb am 28.04.2016 um
19:26
in
> Nachricht <572247C0.9030300(a)stroeder.com>:
>> Ulrich Windl wrote:
>>> I'm running a NRPE monitor that monitors openLDAP. To compute delta
> values,
>>> the NRPE plugin stores the "dn: cn=Uptime,cn=Time,cn=Monitor"
reported
by
>>> openLDAP to compare it with the current value (to build
the time
>> difference).
>>> If the time difference is negative, the plugin reports a "server
restart"
>>> event.
>>
>> Uptime is the least usable time value for this task. Anyway...
>
> What would you recommend instead?
Calculate the difference quotient over the real time which is supposed to
be
monotonically increasing given your time sync setup is correct. If
you
insist on
reading it from cn=monitor it's cn=Current,cn=Time,cn=Monitor.
But for both cases I would be unable to detect a restart of the slapd. Rates
may seem negative then.
Ciao, Michael.