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;