Bug 2090403 - RFE - Reduce the number of messages produced by the Monitoring tab in the JS Console.
Summary: RFE - Reduce the number of messages produced by the Monitoring tab in the JS ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: cockpit-389-ds
Version: 12.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: dirsrv-12.1
Assignee: mreynolds
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-25 16:53 UTC by Têko Mihinto
Modified: 2022-12-06 15:44 UTC (History)
5 users (show)

Fixed In Version: redhat-ds-12-9010020220729141346.12_1_910
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-06 15:44:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker IDMDS-2446 0 None None None 2022-08-17 10:23:59 UTC
Red Hat Issue Tracker IDMDS-2491 0 None None None 2022-08-30 09:43:24 UTC
Red Hat Product Errata RHBA-2022:8836 0 None None None 2022-12-06 15:44:50 UTC

Description Têko Mihinto 2022-05-25 16:53:47 UTC
Description of problem:
Once one clicks on the Monitoring tab, the following messages are logged every couple of seconds:

CMD: refreshCharts: Get server pid ==> ps -ef | grep -v grep | grep dirsrv/slapd-<INSTANCE> 
CMD: refreshCharts: Get cpu and memory stats ==> top -n 1 -b -p <DS_PID> | tail -1
CMD: refreshCharts: Get total memory ==> awk '/MemTotal/{print $2}' /proc/meminfo
CMD: refreshCharts: Get current count ==> netstat -anp | grep ':389\|:636' | grep ESTABLISHED | grep ns-slapd | wc -l

Version-Release number of selected component (if applicable):
$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 9.1 Beta (Plow)
$
$ rpm -qa | grep 389-ds
389-ds-base-libs-2.0.14-7.module+el9dsrv+14845+69b2f526.x86_64
389-ds-base-2.0.14-7.module+el9dsrv+14845+69b2f526.x86_64
cockpit-389-ds-2.0.14-7.module+el9dsrv+14845+69b2f526.noarch
$

How reproducible:
Always.

Steps to Reproduce:
1. Navigate to the Monitoring tab
2. Select the "Disk Space" tab
3. Open the JS Console
4. The debug messages are logged even when navigating away from the Monitoring tab.

Actual results:
Too much debug messages.

Expected results:
Fewer debug messages ( maybe logging them every 5 minutes if the Monitoring tab is still selected ).

Additional info:

Comment 5 errata-xmlrpc 2022-12-06 15:44:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (redhat-ds:12 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8836


Note You need to log in before you can comment on or make changes to this bug.