[Issue 9354] New: Tool for monitoring slapd status
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9354
Issue ID: 9354
Summary: Tool for monitoring slapd status
Product: OpenLDAP
Version: 2.4.53
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: ---
Component: client tools
Assignee: bugs(a)openldap.org
Reporter: hyc(a)openldap.org
Target Milestone: ---
Something we've seen in various scripts many times - this tool continuously
reports operation counts from cn=Monitor and tracks contextCSN from a specified
baseDN, polling at the specified interval (default 10 seconds). It tracks when
contextCSN changes start and stop, and for a set of multiprovider servers,
reports the lag between consumers and providers.
Sample output of a screen:
2020-09-21 06:25:36
ldap://tx01
Entries Bind Unbind Search Compare Modify
ModDN Add Delete Abandon Extended
Num 1601143 95 108 617710 0 0
0 600000 0 0 9
Num/s 0.00 0.00 0.00 0.40 0.00 0.00
0.00 0.00 0.00 0.00 0.00
contextCSN: 20200921004518.559704Z#000000#001#000000 idle
contextCSN: 20200921004548.656746Z#000000#002#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:12:24, sync'd, max delta 00:03:11
contextCSN: 20200921004446.224575Z#000000#003#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:12:24, sync'd, max delta 00:02:54
contextCSN: 20200921004331.841460Z#000000#004#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:12:24, sync'd, max delta 00:02:19
ldap://tx02
Entries Bind Unbind Search Compare Modify
ModDN Add Delete Abandon Extended
Num 1601143 105 120 2217678 0 0
0 400000 200000 0 3
Num/s 0.00 0.00 0.00 0.40 0.00 0.00
0.00 0.00 0.00 0.00 0.00
contextCSN: 20200921004518.559704Z#000000#001#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:11:33, sync'd, max delta 00:03:09
contextCSN: 20200921004548.656746Z#000000#002#000000 idle
contextCSN: 20200921004446.224575Z#000000#003#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:11:33, sync'd, max delta 00:02:52
contextCSN: 20200921004331.841460Z#000000#004#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:11:33, sync'd, max delta 00:02:17
ldap://uk03
Entries Bind Unbind Search Compare Modify
ModDN Add Delete Abandon Extended
Num 1601143 1407 107 675570 0 3677
0 601135 14 0 3
Num/s 0.00 0.00 0.00 0.40 0.00 0.00
0.00 0.00 0.00 0.00 0.00
contextCSN: 20200921004518.559704Z#000000#001#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:05:56, sync'd, max delta 00:02:11
contextCSN: 20200921004548.656746Z#000000#002#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:05:56, sync'd, max delta 00:02:14
contextCSN: 20200921004446.224575Z#000000#003#000000 idle
contextCSN: 20200921004331.841460Z#000000#004#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:05:56, sync'd, max delta 00:01:33
ldap://uk04
Entries Bind Unbind Search Compare Modify
ModDN Add Delete Abandon Extended
Num 1601143 98 116 2217670 0 0
0 400000 200000 0 3
Num/s 0.00 0.00 0.00 0.40 0.00 0.00
0.00 0.00 0.00 0.00 0.00
contextCSN: 20200921004518.559704Z#000000#001#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:02:11, sync'd, max delta 00:01:13
contextCSN: 20200921004548.656746Z#000000#002#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:02:11, sync'd, max delta 00:01:17
contextCSN: 20200921004446.224575Z#000000#003#000000 actv@2020-09-21 00:58:57,
idle@2020-09-21 01:02:11, sync'd, max delta 00:01:01
contextCSN: 20200921004331.841460Z#000000#004#000000 idle
--
You are receiving this mail because:
You are on the CC list for the issue.