Database queries to check device details
book
Article ID: 331163
calendar_today
Updated On: 03-11-2025
Products
VMware Smart Assurance
Issue/Introduction
This article addresses the following questions:
- How to query the device OS description and other details from Smarts NCM database;
- How to get details on devices that have been unmanaged in Smarts NCM but not removed from the database
Resolution
To query the device OS description, device status, device name and device IP address from the Smarts NCM database, do the following:
- Login to NCM DB by using the command:
su - pgdba
- Now enter below command:
psql voyencedb voyence
- Give the db password which you had set during the time of installation of the product.
- Enter the below query:
select os_description, device_status, device_name, management_ip_address from cm_device;
Feedback
Was this article helpful?
thumb_up
Yes
thumb_down
No