How to obtain a list of devices from Data Aggregator along with their respective polled item count in CAPM
book
Article ID: 18148
calendar_today
Updated On:
Products
CA Infrastructure PerformanceDX NetOps
Issue/Introduction
A query can be run on the Data Repository (Vertica) system to output a list of all monitored devices along with their total polled item count.
Environment
DX NetOps CA Performance Management 20.2 and later
Resolution
The query to run on the Data Repository system and how to run it:
Log into the DR system.
su to the database admin user account (dradmin by default):
su - dradmin
Change diretcory to /vertica/bin (under whichever directory vertica was installed in):
cd /opt/vertica/bin
Run;
./vsql -U dradmin -w <PASSWORD>
*The <PASSWORD> will be the database password. (dbpass in the example from the documentation) orthe same password required in the adminTools UI when reviewing or administering the vertica database.
Run;
select device_item_id, device_name ,count(*)from v_poll_itemgroup by device_item_id, device_nameorder by count(*) desc;