>> Michael Ströder <michael(a)stroeder.com> schrieb am
29.04.2016 um 09:58 in
Ulrich Windl wrote:
>>>> Michael Ströder <michael(a)stroeder.com> schrieb am 28.04.2016 um
> Nachricht <572247C0.9030300(a)stroeder.com>:
>> Ulrich Windl wrote:
>>> I'm running a NRPE monitor that monitors openLDAP. To compute delta
>>> the NRPE plugin stores the "dn: cn=Uptime,cn=Time,cn=Monitor"
>>> openLDAP to compare it with the current value (to build
>>> If the time difference is negative, the plugin reports a "server
>> 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
monotonically increasing given your time sync setup is correct. If
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.