Provide node/interface/RRD count on "About" page

Description

One of the more common questions that comes up during OpenNMS troubleshooting is "how big is your installation" - which usually boils down to how many nodes/interfaces/RRDs a given installation is supporting.

It would be handy to present this information on the "About" page. I believe these would catch node and interface counts -

Node count

SELECT COUNT FROM node;

Interface count

SELECT COUNT FROM ipinterface;

Might need some logic in there to exclude rows that have been marked for deletion by vacuumd (if that even applies to nodes/interfaces).

For RRD count, a simple count of the number of RRD files in the RRD data directory should suffice.

Environment

Operating System: All Platform: All

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created September 9, 2009 at 5:28 PM
Updated September 21, 2021 at 9:14 PM